
我的世界1.14版本好像出了很久了,里面许多指令都发生了大大小小的变化,附魔和自定义属性也不例外。也就是说,以前版本的教程已经快没用了,而且网上竟没一篇像样的教程,是时候出一篇新教程了。与上篇教程一样,做好的指令放在最后,给需要的人省时间。
1.1指令的改变(适用于有一点基础的玩家,只看教程的可直接跳过),之前的教程是基于1.11版本的,1.11到1.14的中间发生了什么我不清楚,但这两者的差别是大大的。
1.1.1附魔
按1.11版本的指令用{ench:[{id:16,lvl:32767}]}就可以正常附魔,而1.14需要{Enchantments:[{id:"sharpness",lvl:32767}]},ench强制改为Enchantments,不得简写,id也必须使用对应的附魔属性英文“锋利sharpness”,变得越来越复杂。
1.1.2自定义属性
在1.11版本中,一个简单的自定义属性是这样的:
/give @p minecraft:diamond_leggings 1 0 {AttributeModifiers:[{Operation:0,UUIDLeast:1,UUIDMost:1,Amount:99999999999.0,AttributeName:generic.attackDamage,Name:攻击提升,Slot:"head"}]}
在1.14中变成了这样:
/give @p minecraft:diamond_leggings{AttributeModifiers:[{Operation:0,UUIDLeast:1,UUIDMost:1,Amount:99999999999.0,AttributeName:generic.attackDamage,Name:“攻击提升”,Slot:"head"}]} 1
物品数量变为了需要在指令最后修改,同时去除了0,直接对物品进行自定义属性。还有很重要的一点Name后的文字需要加引号了,变得越来越严格,以前可是能萌混过关的。当然1.14指令后的1可以省略,但别忘了把它前面的空格也去了,这可是up找了近一个小时的bug。唉,说多了都是泪。
2.1教程
2.1.1/give
1.14必须使用物品名的小写或是"minecraft:物品名小写",id都不行。
正确示范:/give @p diamond_hoe 翻译:给最近的玩家一把钻石锄
以下是可能用到的物品
钻石锄 diamond_hoe
钻石剑 diamond_sword
钻石铲 diamond_shovel
钻石镐 diamond_pickaxe
钻石斧 diamond_axe
弓 bow
钻石头盔 diamond_helmet
钻石胸甲 diamond_chestplate
钻石护腿 diamond_leggings
钻石靴 diamond_boots
三叉戟 trident
弩 crossbow
2.1.2Enchantments附魔

附魔上限
格式:/give @p minecraft:(可不写)物品小写名(中间无空格){Enchantments:[{id:"附魔属性英文名",lvl:等级数字}]}
例子:/give @p diamond_sword{Enchantments:[{id:"sharpness",lvl:2147483647}]} 翻译:给最近的玩家一把锋利2147483647的钻石剑
顺带一说,1.14版本的附魔等级上限达到了2147483647有图有真相

来自我的世界中文wiki
以下是所有的附魔属性,名称已换为可以直接使用的名称(必须全为小写,空格由下划线代替)
水下速掘 aqua_affinity
节肢杀手 bane_of_arthropods
爆炸保护 blast_protection
引雷 channeling
绑定诅咒 binding_curse
消失诅咒 vanishing_curse
深海探索者 depth_strider
效率 efficiency
摔落保护 feather_falling
火焰附加 fire_aspect
火焰保护 fire_protection
火矢 flame
时运 fortune
冰霜行者 frost_walker
穿刺 impaling
无限 infinity
击退 knockback
抢夺 looting
忠诚 loyalty
海之眷顾 luck_of_the_sea
饵钓 lure
经验修补 mending
多重射击 multishot
穿透 piercing
力量 power
弹射物保护 projectile_protection
保护 protection
冲击 punch
快速装填 quick_charge
水下呼吸 respiration
激流 riptide
锋利 sharpness
精准采集 silk_touch
亡灵杀手 smite
横扫之刃 sweeping_edge
荆棘 thorns
耐久 unbreaking
2.1.3Unbreakable

效果图
格式/give @p 物品名{Unbreakable:1或1b}
例子:/give @p minecraft:diamond{Unbreakable:1}
2.1.4AttributeModifiers自定义属性

效果图
格式:AttributeModifiers:[{Operation:只能写0或1,UUIDLeast:1,UUIDMost:1,Amount:数值(最好要加.0),AttributeName:要修改的属性名称,Name:"瞎写就行也可把这删除,记得在前后加引号",Slot:"生效部位,不加就任意部位生效,但不美观"},AttributeModifiers:[{Operation:只能写0或1,UUIDLeast:2,UUIDMost:2,Amount:数值(要加.0),AttributeName:要修改的属性,Name:瞎写就行,Slot:"生效部位,不加就任意部位生效,不美观"}
例子:/give @p minecraft:diamond_leggings{AttributeModifiers:[{Operation:0,UUIDLeast:1,UUIDMost:1,Amount:99999999999.0,AttributeName:generic.attackDamage,Name:"攻击提升",Slot:"head"},{Operation:0,UUIDLeast:7,UUIDMost:7,Amount:1024.0,AttributeName:generic.luck,Name:"幸运值提升",Slot:"head"}]} 翻译:给最近的玩家一个攻击力提升99999999999,幸运提升1024的护腿(戴在头上时)ヾ(^▽^*)))可以气死拿到的人。
属性大全:
通用属性:
generic.maxHealth,最大生命,默认值20,最大值2048。
generic.followRange,追踪距离,默认值32,最大值2048。
generic.knockbackResistance,抗击退,默认值0,最大值1。
generic.movementSpeed,移动速度,默认值0.7,最大值1.7x10E308。
generic.attackDamage,攻击伤害,默认值1,最大值1.7x10E308。
generic.armor,盔甲的防御点数,默认值0,最大值30。
generic.armorToughness,盔甲韧性,默认值0,最大值20。
玩家属性:
generic.attackSpeed,攻击速度,默认值4.最大值1024。
generic.luck,幸运值,默认值0,最大值1024。
generic.attackReach,玩家的攻击距离[即将到来]默认值3.0,最大值6.0
马的属性:
horse.jumpStrength,跳跃力,默认值0.7,最大值2。
僵尸属性:
zombie.spawnReinforcements,召唤概率,默认值0,最大值1。
2.1.5以上的组合

效果图
格式:/give @p minecraft:(可不写)物品小写名(中间无空格){Enchantments:[{id:"附魔属性英文名",lvl:等级数字}],Unbreakable:1或1b,AttributeModifiers:[{Operation:只能写0或1,UUIDLeast:1,UUIDMost:1,Amount:数值(最好要加.0),AttributeName:要修改的属性名称,Name:"瞎写就行也可把这删除,记得在前后加冒号",Slot:"生效部位,不加就任意部位生效,但不美观"}}(注:组合的顺序无影响)
关于生效部位:主手mainhand,副手offhand,鞋子feet,护腿legs,胸甲chest,头盔head
例子:/give @p minecraft:wooden_hoe{Unbreakable:1b,display:{Name:'{"text":"锄","color":"gold"}'},Enchantments:[{id:"minecraft:efficiency",lvl:5s},{id:"minecraft:fortune",lvl:3s}],AttributeModifiers:[{Operation:0,UUIDLeast:1,UUIDMost:1,Amount:999999.0,AttributeName:generic.attackDamage,Name:"攻击提升",Slot:"mainhand"}]}
3.1做好的指令,可直接放在命令方块中用,注1:由于1.14的特性(游戏的事能叫bug吗)当附魔击退或冲击时,如果等级过高且电脑够好,你会获得时间暂停的能力,暂停的时间取决于等级的高低,在32767级时打一下,可以卡几秒到十几秒(超平坦),可以为所欲为,就是不能打怪捡物品输入指令保存游戏,有心人可以玩一玩,但若是2147483647级(最高),希望能等到时停结束的那天。所以为了游戏的稳定,up将击退与冲击的附魔等级改为了10,够用即可。注2:其他的属性附魔等级过高游戏会直接崩溃,穿着没事,被打的时候就直接崩溃。这两者都可能导致毁存档毁存档毁存档:
附魔:
/give @p diamond_sword{Enchantments:[{id:"sharpness",lvl:32767},{id:"smite",lvl:32767},{id:"protection",lvl:32767},{id:"knockback",lvl:10},{id:"fire_aspect",lvl:32767},{id:"looting",lvl:5},{id:"unbreaking",lvl:32767}]}
/give @p bow{Enchantments:[{id:"power",lvl:32767},{id:"punch",lvl:10},{id:"protection",lvl:32767},{id:"flame",lvl:32767},{id:"infinity",lvl:32767},{id:"unbreaking",lvl:32767}]}
/give @p diamond_helmet{Enchantments:[{id:"unbreaking",lvl:32767},{id:"protection",lvl:32767},{id:"respiration",lvl:32767},{id:"aqua_affinity",lvl:32767},{id:"thorns",lvl:32767}]}
/give @p diamond_chestplate{Enchantments:[{id:"unbreaking",lvl:32767},{id:"protection",lvl:32767},{id:"thorns",lvl:32767}]}
/give @p diamond_leggings{Enchantments:[{id:"unbreaking",lvl:32767},{id:"protection",lvl:32767},{id:"thorns",lvl:32767}]}
/give @p diamond_boots{Enchantments:[{id:"unbreaking",lvl:32767},{id:"protection",lvl:32767},{id:"feather_falling",lvl:32767},{id:"thorns",lvl:32767}]}
修改属性:
/give @p minecraft:diamond_helmet{display:{Name:'{"text":"头盔","color":"gold"}'},Unbreakable:1,Enchantments:[{id:"unbreaking",lvl:32767},{id:"protection",lvl:32767},{id:"respiration",lvl:32767},{id:"aqua_affinity",lvl:32767},{id:"thorns",lvl:32767}],AttributeModifiers:[{Operation:0,UUIDLeast:1,UUIDMost:1,Amount:99999999999.0,AttributeName:generic.attackDamage,Name:"攻击提升",Slot:"head"},{Operation:0,UUIDLeast:2,UUIDMost:2,Amount:100.0,AttributeName:generic.maxHealth,Name:"最大生命值提升",Slot:"head"},{Operation:0,UUIDLeast:3,UUIDMost:3,Amount:10.0,AttributeName:generic.knockbackResistance,Name:"击退抗性",Slot:"head"},{Operation:0,UUIDLeast:4,UUIDMost:4,Amount:30.0,AttributeName:generic.armor,Name:"盔甲的防御点数提升",Slot:"head"},{Operation:0,UUIDLeast:5,UUIDMost:5,Amount:20.0,AttributeName:generic.armorToughness,Name:"盔甲韧性提升",Slot:"head"},{Operation:0,UUIDLeast:6,UUIDMost:6,Amount:1024.0,AttributeName:generic.attackSpeed,Name:"攻击速度提升",Slot:"head"},{Operation:0,UUIDLeast:7,UUIDMost:7,Amount:1024.0,AttributeName:generic.luck,Name:"幸运值提升",Slot:"head"}]}
/give @p minecraft:diamond_chestplate{display:{Name:'{"text":"胸甲","color":"gold"}'},Unbreakable:1,Enchantments:[{id:"unbreaking",lvl:32767},{id:"protection",lvl:32767},{id:"thorns",lvl:32767}],AttributeModifiers:[{Operation:0,UUIDLeast:1,UUIDMost:1,Amount:99999999999.0,AttributeName:generic.attackDamage,Name:"攻击提升",Slot:"chest"},{Operation:0,UUIDLeast:3,UUIDMost:3,Amount:10.0,AttributeName:generic.knockbackResistance,Name:"击退抗性",Slot:"chest"},{Operation:0,UUIDLeast:4,UUIDMost:4,Amount:30.0,AttributeName:generic.armor,Name:"盔甲的防御点数提升",Slot:"chest"},{Operation:0,UUIDLeast:5,UUIDMost:5,Amount:20.0,AttributeName:generic.armorToughness,Name:"盔甲韧性提升",Slot:"chest"},{Operation:0,UUIDLeast:6,UUIDMost:6,Amount:1024.0,AttributeName:generic.attackSpeed,Name:"攻击速度提升",Slot:"chest"},{Operation:0,UUIDLeast:7,UUIDMost:7,Amount:1024.0,AttributeName:generic.luck,Name:"幸运值提升",Slot:"chest"}]}
/give @p minecraft:diamond_leggings{display:{Name:'{"text":"护腿","color":"gold"}'},Unbreakable:1,Enchantments:[{id:"unbreaking",lvl:32767},{id:"protection",lvl:32767},{id:"thorns",lvl:32767}],AttributeModifiers:[{Operation:0,UUIDLeast:1,UUIDMost:1,Amount:99999999999.0,AttributeName:generic.attackDamage,Name:"攻击提升",Slot:"legs"},{Operation:0,UUIDLeast:3,UUIDMost:3,Amount:10.0,AttributeName:generic.knockbackResistance,Name:"击退抗性",Slot:"legs"},{Operation:0,UUIDLeast:4,UUIDMost:4,Amount:30.0,AttributeName:generic.armor,Name:"盔甲的防御点数提升",Slot:"legs"},{Operation:0,UUIDLeast:5,UUIDMost:5,Amount:20.0,AttributeName:generic.armorToughness,Name:"盔甲韧性提升",Slot:"legs"},{Operation:0,UUIDLeast:6,UUIDMost:6,Amount:1024.0,AttributeName:generic.attackSpeed,Name:"攻击速度提升",Slot:"legs"},{Operation:0,UUIDLeast:7,UUIDMost:7,Amount:1024.0,AttributeName:generic.luck,Name:"幸运值提升",Slot:"legs"}]}
/give @p minecraft:diamond_boots{display:{Name:'{"text":"靴子","color":"gold"}'},Unbreakable:1,Enchantments:[{id:"unbreaking",lvl:32767},{id:"protection",lvl:32767},{id:"feather_falling",lvl:32767},{id:"thorns",lvl:32767}],AttributeModifiers:[{Operation:0,UUIDLeast:1,UUIDMost:1,Amount:99999999999.0,AttributeName:generic.attackDamage,Name:"攻击提升",Slot:"feet"},{Operation:0,UUIDLeast:3,UUIDMost:3,Amount:10.0,AttributeName:generic.knockbackResistance,Name:"击退抗性",Slot:"feet"},{Operation:0,UUIDLeast:4,UUIDMost:4,Amount:30.0,AttributeName:generic.armor,Name:"盔甲的防御点数提升",Slot:"feet"},{Operation:0,UUIDLeast:5,UUIDMost:5,Amount:20.0,AttributeName:generic.armorToughness,Name:"盔甲韧性提升",Slot:"feet"},{Operation:0,UUIDLeast:6,UUIDMost:6,Amount:1024.0,AttributeName:generic.attackSpeed,Name:"攻击速度提升",Slot:"feet"},{Operation:0,UUIDLeast:7,UUIDMost:7,Amount:1024.0,AttributeName:generic.luck,Name:"幸运值提升",Slot:"feet"}]}
/give @p minecraft:diamond_sword{display:{Name:'{"text":"屠龙宝刀","color":"gold"}'},Unbreakable:1,Enchantments:[{id:"sharpness",lvl:32767},{id:"smite",lvl:32767},{id:"protection",lvl:32767},{id:"knockback",lvl:10},{id:"fire_aspect",lvl:32767},{id:"looting",lvl:5},{id:"unbreaking",lvl:32767}],AttributeModifiers:[{Operation:0,UUIDLeast:1,UUIDMost:1,Amount:99999999999.0,AttributeName:generic.attackDamage,Name:"攻击提升",Slot:"mainhand"},{Operation:0,UUIDLeast:2,UUIDMost:2,Amount:10.0,AttributeName:generic.knockbackResistance,Name:"击退抗性",Slot:"mainhand"},{Operation:0,UUIDLeast:3,UUIDMost:3,Amount:1024.0,AttributeName:generic.attackSpeed,Name:"攻击速度提升",Slot:"mainhand"},{Operation:0,UUIDLeast:4,UUIDMost:4,Amount:1024.0,AttributeName:generic.luck,Name:"幸运值提升",Slot:"mainhand"}]}
/give @p minecraft:bow{display:{Name:'{"text":"弓","color":"gold"}'},Unbreakable:1,Enchantments:[{id:"power",lvl:32767},{id:"punch",lvl:10},{id:"protection",lvl:32767},{id:"flame",lvl:32767},{id:"infinity",lvl:32767},{id:"unbreaking",lvl:32767}],AttributeModifiers:[{Operation:0,UUIDLeast:1,UUIDMost:1,Amount:99999999999.0,AttributeName:generic.attackDamage,Name:"攻击提升",Slot:"mainhand"},{Operation:0,UUIDLeast:3,UUIDMost:3,Amount:10.0,AttributeName:generic.knockbackResistance,Name:"击退抗性",Slot:"mainhand"},{Operation:0,UUIDLeast:6,UUIDMost:6,Amount:1024.0,AttributeName:generic.attackSpeed,Name:"攻击速度提升",Slot:"mainhand"},{Operation:0,UUIDLeast:7,UUIDMost:7,Amount:1024.0,AttributeName:generic.luck,Name:"幸运值提升",Slot:"mainhand"}]}