本帖最后由 PotatoMaster101 于 2014-8-27 07:50 编辑

大家好,今天教大家如何用指令方块刷出自定义附魔的装备。这个可以和我前几个帖子并用,变成超级装备,把装备属性和附魔并和。先给大家看看例子:
这是我刷出来的一把超级钻石剑,拥有剑的全部附魔24464级,除了怪物掉落10级。因为如果把怪物掉落调成24464级的话,那杀一个僵尸会掉几万个腐肉,到时卡爆电脑。装备下面还有自定义属性,加9000000000的防击退和攻击,所以把附魔去掉照样是把无敌剑。



教程时间。首先要做的就是刷出一把剑,这些指令最好在指令方块里打。刷出一把钻石剑的指令是:
  1. /give @p minecraft:diamond_sword 1 0
复制代码
把这条指令打到指令方块里后激活,会给玩家刷出一把普通的钻石剑。/give指令我就不多说了,比较基础。之后是给剑加上自定义附魔。很简单,就是加几个NBT而已。指令:
  1. /give @p minecraft:diamond_sword 1 0
  2. {ench:[{id:16,lvl:5}]}
复制代码
把这条指令复制到指令方块后激活的话,会给玩家一把锋利5级的剑:

给大家解释下NBT:
自定义附魔用的NBT是{ench},如果在指令方块里用这个NBT,就是让指令方块把刷出的物品进行自定义附魔。解释:

ench:自定义附魔,要自定义附魔一定要打这个
id:附魔属性ID。本人会把ID发在帖子最后,要附魔什么就打属性的ID
lvl:附魔等级。如果不打等级只打ID,将会刷出一把0级附魔的剑,没任何意义。10级的话就是:lvl:10

这些就是自定义附魔的NBT。当然不光是剑,也可以是其他装备。如果要自定义附魔其他装备的话,就把/give改成刷其他装备的指令。

之后来说下如何给一个装备加多个附魔,十分的简单,直接加逗号分开就好了,比如:
  1. /give @p minecraft:diamond_chestplate 1 0
  2. {ench:[{id:0,lvl:10},{id:1,lvl:10},{id:18,lvl:10},{id:3,lvl:10},{id:4,lvl:10},{id:5,lvl:10},{id:6,lvl:10},{id:7,lvl:10}]}
复制代码
这样就可以了,会给一个钻石装甲加所有的装备属性10级。等级也不一定要是10级,也可以改的特大,直接把lvl改成9000多左右。截图:




附魔ID:
装备:
0 - 防御,Protection (头盔,装甲,鞋子,裤子)
1 - 火焰防御,Fire Protection (头盔,装甲,鞋子,裤子)
2 - 摔伤减半,Feather Falling (鞋子)
3 - 爆炸防御,Blast Protection (头盔,装甲,鞋子,裤子)
4 - 远程攻击防御,Projectile Protection (头盔,装甲,鞋子,裤子)
5 - 水下呼吸,Respiration (头盔)
6 - 水下挖掘,Aqua Affinity (头盔)
7 - 伤害反射,Thorns (头盔,装甲,鞋子,裤子)  
8 - 水行加速, Depth Strider(鞋子)

武器 (剑):
16 - 锋利,Sharpness (剑)
17 - 亡灵杀手,Smite (剑)
18 - 节肢杀手,Bane Of Arthropods (剑)
19 - 击退,Knock Back (剑)
20 - 火元素,Fire Aspect (剑)
21 - 掉落品加倍,Looting (剑)

工具:
32 - 挖掘效率,Efficiency (稿子,斧子,铲子)
33 - 精准采集,Silk Touch (稿子,斧子,铲子)
34 - 不毁,Unbreaking (稿子,斧子,铲子,武器,装备)
35 - 幸运挖掘,Fortune (稿子,斧子,铲子)
61 - 钓鱼幸运,Luck of the sea (钓鱼竿)
62 -诱饵,Lure (钓鱼竿)

武器 (弓箭):
48 - 力量,Power (弓箭)
49 - 弓箭击退,Punch (弓箭)
50 - 火元素,Flame (弓箭)
51 - 无限弓箭,Infinity (弓箭)

(PS.不毁可以附魔在所有的工具上,不管是剑,装备还是工具,都会有效果。)

最后来发下PotatoMaster101的所有神装指令:(MC1.8+使用)
剑:
  1. /give @a minecraft:diamond_sword 1 0
  2. {ench:[{id:16,lvl:90000},{id:17,lvl:90000},{id:18,lvl:90000},{id:19,lvl:90000},{id:20,lvl:90000},{id:21,lvl:10},{id:34,lvl:90000}],
  3. AttributeModifiers:[{Operation:0,UUIDLeast:1,UUIDMost:1,Amount:9000000000.0,AttributeName:generic.attackDamage,Name:Damage},
  4. {Operation:0,UUIDLeast:1,UUIDMost:1,Amount:9000000000.0,AttributeName:generic.knockbackResistance,Name:K_Resistance}],
  5. display:{Name:"OP Sword",Lore:["PotatoMaster101's Super Enchant Weapon Set - ","Sword"]}}
复制代码

鞋子:
  1. /give @a minecraft:diamond_boots 1 0
  2. {AttributeModifiers:[{Operation:0,UUIDLeast:1,UUIDMost:1,Amount:9000000000.0,AttributeName:generic.knockbackResistance,Name:K_Resistance},
  3. {Operation:0,UUIDLeast:2,UUIDMost:2,Amount:50.0,AttributeName:generic.maxHealth,Name:Health},
  4. {Operation:0,UUIDLeast:3,UUIDMost:3,Amount:0.2,AttributeName:generic.movementSpeed,Name:Speed}],
  5. ench:[{id:0,lvl:90000},{id:1,lvl:90000},{id:3,lvl:90000},{id:4,lvl:90000},{id:7,lvl:90000},{id:2,lvl:90000},{id:34,lvl:90000}],
  6. display:{Name:"OP Boots",Lore:["PotatoMaster101's Super Enchant Armor Set - ","Boots"]}}
复制代码

胸甲:
  1. /give @a minecraft:diamond_chestplate 1 0
  2. {AttributeModifiers:[{Operation:0,UUIDLeast:1,UUIDMost:1,Amount:9000000000.0,AttributeName:generic.knockbackResistance,Name:K_Resistance},
  3. {Operation:0,UUIDLeast:2,UUIDMost:2,Amount:50.0,AttributeName:generic.maxHealth,Name:Health}],
  4. ench:[{id:0,lvl:90000},{id:1,lvl:90000},{id:3,lvl:90000},{id:4,lvl:90000},{id:7,lvl:90000},{id:34,lvl:90000}],
  5. display:{Name:"OP Chestplate",Lore:["PotatoMaster101's Super Enchant Armor Set - ","Chestplate"]}}
复制代码

裤子:
  1. /give @a minecraft:diamond_leggings 1 0
  2. {AttributeModifiers:[{Operation:0,UUIDLeast:1,UUIDMost:1,Amount:9000000000.0,AttributeName:generic.knockbackResistance,Name:K_Resistance},
  3. {Operation:0,UUIDLeast:2,UUIDMost:2,Amount:50.0,AttributeName:generic.maxHealth,Name:Health},
  4. {Operation:0,UUIDLeast:3,UUIDMost:3,Amount:0.1,AttributeName:generic.movementSpeed,Name:Speed}],
  5. ench:[{id:0,lvl:90000},{id:1,lvl:90000},{id:3,lvl:90000},{id:4,lvl:90000},{id:7,lvl:90000},{id:34,lvl:90000}],
  6. display:{Name:"OP Leggings",Lore:["PotatoMaster101's Super Enchant Armor Set - ","Leggings"]}}
复制代码

头盔:
  1. /give @a minecraft:diamond_helmet 1 0
  2. {AttributeModifiers:[{Operation:0,UUIDLeast:1,UUIDMost:1,Amount:9000000000.0,AttributeName:generic.knockbackResistance,Name:K_Resistance},
  3. {Operation:0,UUIDLeast:2,UUIDMost:2,Amount:50.0,AttributeName:generic.maxHealth,Name:Health}],
  4. ench:[{id:0,lvl:90000},{id:1,lvl:90000},{id:3,lvl:90000},{id:4,lvl:90000},{id:7,lvl:90000},{id:5,lvl:90000},{id:6,lvl:90000},{id:34,lvl:90000}],
  5. display:{Name:"OP Helmet",Lore:["PotatoMaster101's Super Enchant Armor Set - ","Helmet"]}}
复制代码

弓箭:
  1. /give @a minecraft:bow 1 0
  2. {AttributeModifiers:[{Operation:0,UUIDLeast:1,UUIDMost:1,Amount:9000000000.0,AttributeName:generic.attackDamage,Name:Attack},
  3. {Operation:0,UUIDLeast:1,UUIDMost:1,Amount:9000000000.0,AttributeName:generic.knockbackResistance,Name:K_Resistance}],
  4. ench:[{id:48,lvl:90000},{id:49,lvl:90000},{id:50,lvl:90000},{id:51,lvl:90000},{id:34,lvl:90000}],
  5. display:{Name:"OP Bow",Lore:["PotatoMaster101's Super Enchant Weapon Set - ","Bow"]}}
复制代码

PotatoMaster101头颅:
  1. /give @a minecraft:skull 1 3
  2. {AttributeModifiers:[{Operation:0,UUIDLeast:1,UUIDMost:1,Amount:9000000000.0,AttributeName:generic.attackDamage,Name:Attack},
  3. {Operation:0,UUIDLeast:2,UUIDMost:2,Amount:9000000000.0,AttributeName:generic.knockbackResistance,Name:K_Resistance},
  4. {Operation:0,UUIDLeast:4,UUIDMost:4,Amount:1000.0,AttributeName:generic.maxHealth,Name:Health},
  5. {Operation:0,UUIDLeast:5,UUIDMost:5,Amount:0.1,AttributeName:generic.movementSpeed,Name:Speed}],
  6. SkullOwner:PotatoMaster101,display:{Name:"OP Skull",Lore:["PotatoMaster101's Super Enchant Armor Set - ","Skull"]},
  7. ench:[{id:0,lvl:90000},{id:1,lvl:90000},{id:3,lvl:90000},{id:4,lvl:90000},{id:7,lvl:90000},{id:5,lvl:90000},{id:6,lvl:90000},{id:34,lvl:90000}]}
复制代码
稿子:
  1. /give @a minecraft:diamond_pickaxe 1 0
  2. {AttributeModifiers:[{Operation:0,UUIDLeast:1,UUIDMost:1,Amount:4500000.0,AttributeName:generic.attackDamage,Name:Attack},
  3. {Operation:0,UUIDLeast:2,UUIDMost:2,Amount:4500000.0,AttributeName:generic.knockbackResistance,Name:K_Resistance},
  4. {Operation:0,UUIDLeast:5,UUIDMost:5,Amount:0.05,AttributeName:generic.movementSpeed,Name:Speed}],
  5. display:{Name:"OP Pickaxe",Lore:["PotatoMaster101's Super Enchant Tool Set - ","Pickaxe"]},
  6. ench:[{id:32,lvl:90000},{id:34,lvl:90000},{id:35,lvl:90000}]}
复制代码

斧头:
  1. /give @a minecraft:diamond_axe 1 0
  2. {AttributeModifiers:[{Operation:0,UUIDLeast:1,UUIDMost:1,Amount:5000000.0,AttributeName:generic.attackDamage,Name:Attack},
  3. {Operation:0,UUIDLeast:2,UUIDMost:2,Amount:4500000.0,AttributeName:generic.knockbackResistance,Name:K_Resistance},
  4. {Operation:0,UUIDLeast:5,UUIDMost:5,Amount:0.1,AttributeName:generic.movementSpeed,Name:Speed}],
  5. display:{Name:"OP Axe",Lore:["PotatoMaster101's Super Enchant Tool Set - ","Axe"]},
  6. ench:[{id:32,lvl:90000},{id:34,lvl:90000},{id:35,lvl:90000}]}
复制代码
铲子:
  1. /give @a minecraft:diamond_shovel 1 0
  2. {AttributeModifiers:[{Operation:0,UUIDLeast:1,UUIDMost:1,Amount:3500000.0,AttributeName:generic.attackDamage,Name:Attack},
  3. {Operation:0,UUIDLeast:2,UUIDMost:2,Amount:6500000.0,AttributeName:generic.knockbackResistance,Name:K_Resistance},
  4. {Operation:0,UUIDLeast:5,UUIDMost:5,Amount:0.2,AttributeName:generic.movementSpeed,Name:Speed}],
  5. display:{Name:"OP Shovel",Lore:["PotatoMaster101's Super Enchant Tool Set - ","Shovel"]},
  6. ench:[{id:32,lvl:90000},{id:34,lvl:90000},{id:35,lvl:90000}]}
复制代码
烈焰棒:
  1. /give @a minecraft:blaze_rod 1 0
  2. {ench:[{id:16,lvl:90000},{id:17,lvl:90000},{id:18,lvl:90000},{id:19,lvl:90000},{id:20,lvl:90000},{id:21,lvl:10}],
  3. AttributeModifiers:[{Operation:0,UUIDLeast:1,UUIDMost:1,Amount:9000000000.0,AttributeName:generic.attackDamage,Name:Damage},
  4. {Operation:0,UUIDLeast:1,UUIDMost:1,Amount:9000000000.0,AttributeName:generic.knockbackResistance,Name:K_Resistance}],
  5. display:{Name:"Death Rod",Lore:["PotatoMaster101's Super Enchant Weapon Set - ","Rod"]}}
复制代码
南瓜:

  1. /give @a minecraft:pumpkin 1 0
  2. {AttributeModifiers:[{Operation:0,UUIDLeast:1,UUIDMost:1,Amount:9000000000.0,AttributeName:generic.attackDamage,Name:Attack},
  3. {Operation:0,UUIDLeast:2,UUIDMost:2,Amount:9000000000.0,AttributeName:generic.knockbackResistance,Name:K_Resistance},
  4. {Operation:0,UUIDLeast:4,UUIDMost:4,Amount:350.0,AttributeName:generic.maxHealth,Name:Health},
  5. {Operation:0,UUIDLeast:5,UUIDMost:5,Amount:0.25,AttributeName:generic.movementSpeed,Name:Speed}],display:{Name:"OP Pumpkin",Lore:["PotatoMaster101's Super Enchant Armor Set - ","Pumpkin"]},
  6. ench:[{id:0,lvl:90000},{id:1,lvl:90000},{id:3,lvl:90000},{id:4,lvl:90000},{id:7,lvl:90000},{id:5,lvl:90000},{id:6,lvl:90000},{id:34,lvl:90000}]}
复制代码
=====END=====