/give @p wooden_axe 1 0 {AttributeModifiers:[{AttributeName:"generic.movementSpeed",Name:"Speed",Amount:0.2,Operation:1,UUIDMost:1,UUIDLeast:1,Slot:mainhand}]}
试了这个命令但是没有效果
试了这个命令但是没有效果
- /give @p wooden_axe{AttributeModifiers:[{AttributeName:"generic.movement_speed",Name:"Speed",Amount:0.2,Operation:1,UUID:[I;1,1,1,1],Slot:mainhand}]} 1
在1.13的/give格式就不同了
1.16之后的uuid也不再用两个long来表示,而是4个int
/give @p diamond_sword{AttributeModifiers:[{AttributeName:"generic.movement_speed",Name:"generic.movement_speed",Amount:0.3,Operation:0,UUIDLeast:1l,UUIDMost:1l,Slot:"mainhand"}]}