首先確定一下《當個創世神麥塊》版本是1.7.2,其他版本不保證生效,然後輸入/give @p minecraft:diamond_sword 1 0{AttributeModifiers:[{Operation:0,UUIDLeast:1,UUIDMost:1,Amount:9000000000.0,AttributeName:generic.attackDamage,Name:Attack},,完整程式碼如下所示。
當個創世神麥塊怎麽讓武器加血
你版本是1.7.2就可以輸入
/give @p minecraft:diamond_sword 1 0
{AttributeModifiers:[{Operation:0,UUIDLeast:1,UUIDMost:1,Amount:9000000000.0,AttributeName:generic.attackDamage,Name:Attack},
{Operation:0,UUIDLeast:2,UUIDMost:2,Amount:9000000000.0,AttributeName:generic.knockbackResistance,Name:Knockback},
{Operation:0,UUIDLeast:3,UUIDMost:3,Amount:0.0,AttributeName:generic.followRange,Name:Follow},
{Operation:0,UUIDLeast:4,UUIDMost:4,Amount:1000.0,AttributeName:generic.maxHealth,Name:Health},
{Operation:0,UUIDLeast:5,UUIDMost:5,Amount:2.0,AttributeName:generic.movementSpeed,Name:Speed}]}
出來的是鑽石劍,屬性有:1.生物跟隨距離:5000.0(就是生物在五千格子內可發現你)2.最大生命:9000000(拿著它就會生效)3.擊退抗性:9000000000(醬紫就不會被擊退)4.攻擊傷害:9000000000(秒殺一切BOSS)
相關攻略:當個創世神麥塊羊駝怎麽騎