使用"{AttributeModifiers:[{Operation:0,UUIDLeast:1,UUIDMost:1,AttributeName:"generic.attackSpeed",Amount:在这里输入你的攻击速度,Slot:"11",Name:"随便打"}]}"
比如说我想要一个攻击速度13.2,名字为“随便打”的捐需剑,那么我就会输入以下指令:
/give @p diamond_sword 1 0 {AttributeModifiers:[{Operation:0,UUIDLeast:1,UUIDMost:1,AttributeName:"generic.attackSpeed",Amount:13.2,Slot:"11",Name:"随便打"}]}
温馨提示:答案为网友推荐,仅供参考