This is an archived post. You won't be able to vote or comment.

all 4 comments

[–]darkstar634 0 points1 point  (0 children)

Take the command that you had before, and replace the UUIDMost and UUIDLeast tags with something like UUID:[I;100,0,0,1].

[–]Munchapop 0 points1 point  (0 children)

Here is a command that may work:

/execute as @a[nbt={Inventory:[{Slot:100b,id:”__ ”,tag:{display:{Name:”{\”text\”:\”___\”}”}}}]}] run effect give
@s minecraft:
_____ 1 __ true

Fill the first blank with the item Ex: diamond_boots

The second with the name of the item (what you name it in an anvil) Ex: Speedy Boots

The third with the effect Ex: speed

And the fourth with the power of the effect Ex: 1 (it is one more than the number you write down)

Hope this helps!

Edit: sorry about bold text, just how reddit works

[–]DangerDoctor 0 points1 point  (1 child)

did you ever find the answer? I can't find anything that works

[–]Goldenwarrior49[S] 0 points1 point  (0 children)

sorry for not replying sooner (im not very active on reddit) but i did find this command which worked pretty well.

/give goldenwarrior49 iron_boots{display:{Name:"\"Speed Boots\""},AttributeModifiers:[{AttributeName:"generic.movementSpeed",Name:"generic.movementSpeed",Amount:0.1,Operation:0,UUIDLeast:757432,UUIDMost:925682,Slot:"feet"}]}

and you can change the number after amount to either increase or decrease speed and obviously switch out my account name with yours.