1
I need help adding an attribute modifier to a Minecraft item using a /give command
I'm trying to make a sword that gives you more speed while holding it but how do I do the by using a single /give command that why I can name the item and give it a custom data tag.
2
/give @p iron_sword{display:{Name:'{"text":"a sword"}'},custom_tag:1,AttributeModifiers:[{AttributeName:"generic.movement_speed",Name:"generic.movement_speed",Amount:1,Operation:0,UUID:[I;350993406,221596246,-1429390574,-1981561634],Slot:"mainhand"}]} 1For simple stuff like this, you can use mcstacker to generate your give commands instead
Yeah that was the problem MCStacker was not working for me. but luckily I found another generator that works but thanks for the help, also happy new year!
