DooK
/give @p wooden_axe 1 0 {AttributeModifiers:[{AttributeName:"generic.movementSpeed",Name:"Speed",Amount:0.2,Operation:1,UUIDMost:1,UUIDLeast:1,Slot:mainhand}]}
试了这个命令但是没有效果

无敌三脚猫
  1. /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.16变过https://minecraft.fandom.com/zh/wiki/%E5%B1%9E%E6%80%A7
在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"}]}

第一页 上一页 下一页 最后一页