钻石剑伤害增加为999害怕的命令方块如下:
/give @p minecraft:diamond_sword 1 0
{AttributeModifiers:
[{Operation:0,UUIDLeast:1,UUIDMost:1,Amount:999.0,AttributeName:generic.attackDamage,Name:Attack}]}
解析:那个大括号是nbt标签,里面的Amount:里的数字是伤害值(要精确到小数点后一位),AttributeName:里面是类型。
钻石剑伤害增加为999害怕的命令方块如下:
/give @p minecraft:diamond_sword 1 0
{AttributeModifiers:
[{Operation:0,UUIDLeast:1,UUIDMost:1,Amount:999.0,AttributeName:generic.attackDamage,Name:Attack}]}
解析:那个大括号是nbt标签,里面的Amount:里的数字是伤害值(要精确到小数点后一位),AttributeName:里面是类型。