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

大家好。今天教大家如何用指令方块刷出一个拥有自定义交易物品的村民。比较简单,用/summon再加点NBT完成。交易不止一个物品,可以同时交易多个物品,还可自定义交易次数。看看效果:

大家看见,不光是普通物品,连自定义附魔,自定义名字的物品都可以卖。





进入教程。首先要学的就是如何刷出一个村民。这是十分的简单,指令是:
  1. summon Villager ~ ~1 ~
复制代码
把这条指令打入指令方块激活后,会刷出一个普通的村民。交易物品都是随机的,因为我没还没有加入任何NBT。/summon指令基础我就不多说了,直接进入NBT。首先来说说村民种类,一共有6种:图书管理员,屠夫,铁匠,农名和神父。还有一种是MC里没有用过的村民,不会自然刷出。首先是教大家如何刷出不同种类的村民。村民种类也没什么大意思,本人认为美观问题而已。指令:
  1. summon Villager ~ ~1 ~
  2. {Profession:1}
复制代码
大家看到第一行和前面的指令一样,就是刷出一个村民。第二行出现了第一个NBT:{Profession}。这个Profession的意思就是种类。大家看到我后面写的是1,也就是村民种类的ID。写入不同ID刷出不同种类村民。


村民ID列表:
0 - 村民(农名,棕色外套)
1 - 村民(图书管理员,白色外套)
2 - 村民(神父,紫色外套)
3 - 村民(铁匠,黑色披风)
4 - 村民(屠夫,白色披风)
5 - 村民(默认村民,绿色外套)

大家要注意的是,ID5,也就是默认村民,游戏里是不会自然刷出的,只有指令方块能刷出。所以,知道了ID后,就能刷出种类村民。种类也有讲究,每个种类的村民卖的东西也不一样,但是等大家会自定义交易后,种类也不重要了。Minecraft Wiki 上有各种村民的截图:



接下来说说自定义交易指令。这条指令较复杂,因为里面包括一些NBT,分别控制:交易次数,买进物品,卖出物品和数量。指令:
  1. /summon Villager ~ ~1 ~
  2. {Offers:{Recipes:[{maxUses:9999999,buy:{id:264,Count:1},sell:{id:267,Count:1}}]}}
复制代码
大家看到这条指令里并没有之前的 Profession,因为Profession并不是必须要写的。如果不写的话,指令方块会自己刷出农民村民。之后来说下这条指令的NBT:


Offers:自定义交易的意思。如果需要刷自定义交易村民,必须要写这个。
Recipes:交易方法的意思,这也也是必须要写的。后面的maxUses什么就是交易方法。
maxUses:自定义交易次数。如果写1的话,那村民就交易该物品一次。我写的999,能无限交易。
buy:村民买进物品,也就是玩家需要给村民的物品。后面的id和Count都和这项有关系。id是物品ID,Count是交易数量。
sell:村民卖出的物品,也就是玩家得到的物品。和buy一样,id是物品ID,Count是数量


所以,我上面这条指令的意思就是:用一个钻石换一把铁剑,可交易9999999次:



如果大家把这条指令放进指令方块激活的话,也是同样效果。之后有些玩家会问:如何让一个村民交易多个物品?这个也很简单。一旦会交易一个物品后,其他就简单了,因为大部分都是重复指令。举个例子:
  1. /summon Villager ~ ~1 ~
  2. {Offers:{Recipes:[{maxUses:9999999,buy:{id:264,Count:1},sell:{id:267,Count:1}},
  3. {maxUses:9999999,buy:{id:331,Count:1},sell:{id:98,Count:1,Damage:3}},
  4. {maxUses:9999999,buy:{id:103,Count:1},sell:{id:86,Count:1}},
  5. {maxUses:9999999,buy:{id:80,Count:1},sell:{id:79,Count:1}}]}}
复制代码
大家看见,这条指令虽然很长,但大部分都是重复,格式和刚才的一模一样。之后大家如果看第三行,在村民卖出物品的地方有一个新的NBT:Damage。这个就是方块的信息。大家会发现有些方块的ID都是一样的,但是是不同的方块。比如:带有颜色的羊毛,ID都是35,但是他们有一点不同:信息。所以,如果大家看完第三行的话,就会发现交易是:一个红石换一个有花纹的石砖。因为石砖有很多花纹,所以要加信息,来说清是哪一种石砖。不加的话就会给默认的石砖。如果大家把整个指令分解完毕的话,那所有交易就是:一个钻石换一把铁剑,一个红石换一个花纹石砖,一个西瓜换一个南瓜,一个雪块还一块冰:

由于指令里的Count全都是1,所以都是一个一个物品交易的。maxUses都是9999999,说明都可以无限交易。大家可以把指令放到指令方块里自己试试。当然,要交易超级附魔装备什么的话,那就要结合自定义附魔的指令。详细去看本人以前的贴。




之后来教的是,如何用2个物品换村民的一个物品。这里要感谢 122322 玩家,是他提出了双物品的NBT。现在看到的这段文字是帖子后期加上去的。给大家举个例子:

这里是64个钻石再加64个绿宝石换一个泥土。进入教程,指令是:
  1. /summon Villager ~ ~1 ~
  2. {Offers:{Recipes:[{maxUses:9999999,buy:{id:264,Count:64},buyB:{id:388,Count:64},sell:{id:3,Count:1}}]}}
复制代码
大家看到,这里的NBT和前面的一模一样,只是多了一个:buyB。这个意思是村民交易时,玩家需要用两个物品换一个物品。用buyB也是十分的简单,直接在buy后面用逗号,然后输入buyB。格式和buy和sell完全一样,id是ID,Count是数量。

之后来说下如何给卖出的物品附魔或者加入装备属性,有太多人问我了:
  1. /summon Villager ~ ~1 ~
  2. {Offers:{Recipes:[{maxUses:9999999,buy:{id:264,Count:1},sell:{id:267,Count:1,tag:{ench:[xxx],AttributeModifiers:[xxx]}}}]}}
复制代码
大家看见sell里面有一个
tag:{ench:[xxx],AttributeModifiers:[xxx]},这个就是附魔和自定义装备属性的NBT。这条指令本人还没有完善,大家在xxx地方输入想要的附魔或者装备属性就好了。之后我就不多说了,如果你连这也看不懂,那你去看我的自定义附魔帖。

最后来发一下本人无聊时创作的指令:(1.8+使用)
  1. /summon VillagerGolem ~ ~1 ~
  2. {Attributes:[{Name:generic.followRange,Base:6.0},{Name:generic.attackDamage,Base:9000.0}],Invulnerable:1,PlayerCreated:0,CustomName:"PotatoMaster101's Guardian",CustomNameVisible:1,Riding:
  3. {id:FallingSand,Riding:{id:VillagerGolem,PlayerCreated:0,Attributes:[{Name:generic.followRange,Base:6.0},{Name:generic.attackDamage,Base:9000.0}],Invulnerable:1,CustomName:"PotatoMaster101's Guardian",CustomNameVisible:1,Riding:
  4. {id:FallingSand,Riding:{id:VillagerGolem,PlayerCreated:0,Attributes:[{Name:generic.followRange,Base:6.0},{Name:generic.attackDamage,Base:9000.0}],Invulnerable:1,CustomName:"PotatoMaster101's Guardian",CustomNameVisible:1,Riding:
  5. {id:FallingSand,Riding:{id:VillagerGolem,PlayerCreated:0,Attributes:[{Name:generic.followRange,Base:6.0},{Name:generic.attackDamage,Base:9000.0}],Invulnerable:1,CustomName:"PotatoMaster101's Guardian",CustomNameVisible:1,Riding:
  6. {id:FallingSand,Riding:{id:VillagerGolem,PlayerCreated:0,Attributes:[{Name:generic.followRange,Base:6.0},{Name:generic.attackDamage,Base:9000.0}],Invulnerable:1,CustomName:"PotatoMaster101's Guardian",CustomNameVisible:1,Riding:
  7. {id:FallingSand,Riding:{id:VillagerGolem,PlayerCreated:0,Attributes:[{Name:generic.followRange,Base:6.0},{Name:generic.attackDamage,Base:9000.0}],Invulnerable:1,CustomName:"PotatoMaster101's Guardian",CustomNameVisible:1,Riding:
  8. {id:FallingSand,Riding:{id:VillagerGolem,PlayerCreated:0,Attributes:[{Name:generic.followRange,Base:6.0},{Name:generic.attackDamage,Base:9000.0}],Invulnerable:1,CustomName:"PotatoMaster101's Guardian",CustomNameVisible:1,Riding:
  9. {id:FallingSand,Riding:{id:VillagerGolem,PlayerCreated:0,Attributes:[{Name:generic.followRange,Base:6.0},{Name:generic.attackDamage,Base:9000.0}],Invulnerable:1,CustomName:"PotatoMaster101's Guardian",CustomNameVisible:1,Riding:
  10. {id:FallingSand,Riding:{id:Cow,Invulnerable:1,CustomName:"PotatoMaster101's Armor Shop",CustomNameVisible:1,Riding:
  11. {id:Chicken,Invulnerable:1,CustomName:"PotatoMaster101's Armor Shop",CustomNameVisible:1,Riding:
  12. {id:Squid,Invulnerable:1,CustomName:"PotatoMaster101's Armor Shop",CustomNameVisible:1,Riding:
  13. {id:Villager,Profession:2,Invulnerable:1,CustomName:"PotatoMaster101's Armor Shop",CustomNameVisible:1,Riding:
  14. {id:EntityHorse,Type:4,ArmorItem:{id:"minecraft:diamond_horse_armor",Count:1,Damage:0},Tame:1,Saddle:1,Invulnerable:1,CustomName:"PotatoMaster101's Horse",CustomNameVisible:1},
  15. Offers:{Recipes:[{maxUses:9999999,buy:{id:"minecraft:diamond_block",Count:64},buyB:{id:"minecraft:emerald_block",Count:64},sell:{id:"minecraft:diamond_sword",Count:1,tag:
  16. {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}],
  17. AttributeModifiers:[{Operation:0,UUIDLeast:1,UUIDMost:1,Amount:9000000000.0,AttributeName:generic.attackDamage,Name:Damage},
  18. {Operation:0,UUIDLeast:1,UUIDMost:1,Amount:9000000000.0,AttributeName:generic.knockbackResistance,Name:K_Resistance}],
  19. display:{Name:"OP Sword",Lore:["PotatoMaster101's Super Enchant Weapon Set - ","Sword"]}}}},
  20. {maxUses:9999999,buy:{id:"minecraft:diamond_block",Count:32},buyB:{id:"minecraft:emerald_block",Count:32},sell:{id:"minecraft:diamond_pickaxe",Count:1,tag:
  21. {AttributeModifiers:[{Operation:0,UUIDLeast:1,UUIDMost:1,Amount:4500000.0,AttributeName:generic.attackDamage,Name:Attack},
  22. {Operation:0,UUIDLeast:2,UUIDMost:2,Amount:4500000.0,AttributeName:generic.knockbackResistance,Name:K_Resistance},
  23. {Operation:0,UUIDLeast:5,UUIDMost:5,Amount:0.05,AttributeName:generic.movementSpeed,Name:Speed}],
  24. display:{Name:"OP Pickaxe",Lore:["PotatoMaster101's Super Enchant Tool Set - ","Pickaxe"]},
  25. ench:[{id:32,lvl:90000},{id:34,lvl:90000},{id:35,lvl:90000}]}}},
  26. {maxUses:9999999,buy:{id:"minecraft:diamond_block",Count:32},buyB:{id:"minecraft:emerald_block",Count:32},sell:{id:"minecraft:diamond_axe",Count:1,tag:
  27. {AttributeModifiers:[{Operation:0,UUIDLeast:1,UUIDMost:1,Amount:5000000.0,AttributeName:generic.attackDamage,Name:Attack},
  28. {Operation:0,UUIDLeast:2,UUIDMost:2,Amount:4500000.0,AttributeName:generic.knockbackResistance,Name:K_Resistance},
  29. {Operation:0,UUIDLeast:5,UUIDMost:5,Amount:0.1,AttributeName:generic.movementSpeed,Name:Speed}],
  30. display:{Name:"OP Axe",Lore:["PotatoMaster101's Super Enchant Tool Set - ","Axe"]},
  31. ench:[{id:32,lvl:90000},{id:34,lvl:90000},{id:35,lvl:90000}]}}},
  32. {maxUses:9999999,buy:{id:"minecraft:diamond_block",Count:32},buyB:{id:"minecraft:emerald_block",Count:32},sell:{id:"minecraft:diamond_shovel",Count:1,tag:
  33. {AttributeModifiers:[{Operation:0,UUIDLeast:1,UUIDMost:1,Amount:3500000.0,AttributeName:generic.attackDamage,Name:Attack},
  34. {Operation:0,UUIDLeast:2,UUIDMost:2,Amount:6500000.0,AttributeName:generic.knockbackResistance,Name:K_Resistance},
  35. {Operation:0,UUIDLeast:5,UUIDMost:5,Amount:0.2,AttributeName:generic.movementSpeed,Name:Speed}],
  36. display:{Name:"OP Spade",Lore:["PotatoMaster101's Super Enchant Tool Set - ","Spade"]},
  37. ench:[{id:32,lvl:90000},{id:34,lvl:90000},{id:35,lvl:90000}]}}},
  38. {maxUses:9999999,buy:{id:"minecraft:diamond_block",Count:64},buyB:{id:"minecraft:emerald_block",Count:64},sell:{id:"minecraft:diamond_chestplate",Count:1,tag:
  39. {AttributeModifiers:[{Operation:0,UUIDLeast:1,UUIDMost:1,Amount:9000000000.0,AttributeName:generic.knockbackResistance,Name:K_Resistance},
  40. {Operation:0,UUIDLeast:2,UUIDMost:2,Amount:50.0,AttributeName:generic.maxHealth,Name:Health}],
  41. 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}],
  42. display:{Name:"OP Chestplate",Lore:["PotatoMaster101's Super Enchant Armor Set - ","Chestplate"]}}}},
  43. {maxUses:9999999,buy:{id:"minecraft:diamond_block",Count:64},buyB:{id:"minecraft:emerald_block",Count:32},sell:{id:"minecraft:diamond_leggings",Count:1,tag:
  44. {AttributeModifiers:[{Operation:0,UUIDLeast:1,UUIDMost:1,Amount:9000000000.0,AttributeName:generic.knockbackResistance,Name:K_Resistance},
  45. {Operation:0,UUIDLeast:2,UUIDMost:2,Amount:50.0,AttributeName:generic.maxHealth,Name:Health},
  46. {Operation:0,UUIDLeast:3,UUIDMost:3,Amount:0.1,AttributeName:generic.movementSpeed,Name:Speed}],
  47. 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}],
  48. display:{Name:"OP Leggings",Lore:["PotatoMaster101's Super Enchant Armor Set - ","Leggings"]}}}},
  49. {maxUses:9999999,buy:{id:"minecraft:diamond_block",Count:32},buyB:{id:"minecraft:emerald_block",Count:32},sell:{id:"minecraft:diamond_helmet",Count:1,tag:
  50. {AttributeModifiers:[{Operation:0,UUIDLeast:1,UUIDMost:1,Amount:9000000000.0,AttributeName:generic.knockbackResistance,Name:K_Resistance},
  51. {Operation:0,UUIDLeast:2,UUIDMost:2,Amount:50.0,AttributeName:generic.maxHealth,Name:Health}],
  52. 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}],
  53. display:{Name:"OP Helmet",Lore:["PotatoMaster101's Super Enchant Armor Set - ","Helmet"]}}}},
  54. {maxUses:9999999,buy:{id:"minecraft:diamond_block",Count:32},buyB:{id:"minecraft:emerald_block",Count:32},sell:{id:"minecraft:diamond_boots",Count:1,tag:
  55. {AttributeModifiers:[{Operation:0,UUIDLeast:1,UUIDMost:1,Amount:9000000000.0,AttributeName:generic.knockbackResistance,Name:K_Resistance},
  56. {Operation:0,UUIDLeast:2,UUIDMost:2,Amount:50.0,AttributeName:generic.maxHealth,Name:Health},
  57. {Operation:0,UUIDLeast:3,UUIDMost:3,Amount:0.2,AttributeName:generic.movementSpeed,Name:Speed}],
  58. 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}],
  59. display:{Name:"OP Boots",Lore:["PotatoMaster101's Super Enchant Armor Set - ","Boots"]}}}},
  60. {maxUses:9999999,buy:{id:"minecraft:diamond_block",Count:64},buyB:{id:"minecraft:emerald_block",Count:32},sell:{id:"minecraft:skull",Damage:3,Count:1,tag:
  61. {AttributeModifiers:[{Operation:0,UUIDLeast:1,UUIDMost:1,Amount:9000000000.0,AttributeName:generic.attackDamage,Name:Attack},
  62. {Operation:0,UUIDLeast:2,UUIDMost:2,Amount:9000000000.0,AttributeName:generic.knockbackResistance,Name:K_Resistance},
  63. {Operation:0,UUIDLeast:4,UUIDMost:4,Amount:1000.0,AttributeName:generic.maxHealth,Name:Health},
  64. {Operation:0,UUIDLeast:5,UUIDMost:5,Amount:0.1,AttributeName:generic.movementSpeed,Name:Speed}],
  65. SkullOwner:PotatoMaster101,display:{Name:"OP Skull",Lore:["PotatoMaster101's Super Enchant Armor Set - ","Skull"]},
  66. 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}]}}},
  67. {maxUses:9999999,buy:{id:"minecraft:diamond_block",Count:64},buyB:{id:"minecraft:emerald_block",Count:32},sell:{id:"minecraft:bow",Count:1,tag:
  68. {AttributeModifiers:[{Operation:0,UUIDLeast:1,UUIDMost:1,Amount:9000000000.0,AttributeName:generic.attackDamage,Name:Attack},
  69. {Operation:0,UUIDLeast:1,UUIDMost:1,Amount:9000000000.0,AttributeName:generic.knockbackResistance,Name:K_Resistance}],
  70. ench:[{id:48,lvl:90000},{id:49,lvl:90000},{id:50,lvl:90000},{id:51,lvl:90000},{id:34,lvl:90000}],
  71. display:{Name:"OP Bow",Lore:["PotatoMaster101's Super Enchant Weapon Set - ","Bow"]}}}},
  72. {maxUses:9999999,buy:{id:"minecraft:diamond_block",Count:64},buyB:{id:"minecraft:emerald_block",Count:32},sell:{id:"minecraft:pumpkin",Count:1,tag:
  73. {AttributeModifiers:[{Operation:0,UUIDLeast:1,UUIDMost:1,Amount:9000000000.0,AttributeName:generic.attackDamage,Name:Attack},
  74. {Operation:0,UUIDLeast:2,UUIDMost:2,Amount:9000000000.0,AttributeName:generic.knockbackResistance,Name:K_Resistance},
  75. {Operation:0,UUIDLeast:4,UUIDMost:4,Amount:350.0,AttributeName:generic.maxHealth,Name:Health},
  76. {Operation:0,UUIDLeast:5,UUIDMost:5,Amount:0.25,AttributeName:generic.movementSpeed,Name:Speed}],
  77. display:{Name:"OP Pumpkin",Lore:["PotatoMaster101's Super Enchant Armor Set - ","Pumpkin"]},
  78. 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}]}}},
  79. {maxUses:9999999,buy:{id:"minecraft:diamond_block",Count:64},buyB:{id:"minecraft:emerald_block",Count:32},sell:{id:"minecraft:potion",Damage:16421,Count:1,tag:
  80. {display:{Name:"OP Potion",Lore:["PotatoMaster101's Super Potion Set - ","God Potion"]},
  81. CustomPotionEffects:[{Id:1,Amplifier:999999,Duration:999999999},
  82. {Id:5,Amplifier:9999999,Duration:999999999},
  83. {Id:8,Amplifier:9999999,Duration:999999999},
  84. {Id:10,Amplifier:9999999,Duration:999999999},
  85. {Id:11,Amplifier:9999999,Duration:999999999},
  86. {Id:12,Amplifier:9999999,Duration:999999999},
  87. {Id:13,Amplifier:9999999,Duration:999999999},
  88. {Id:14,Amplifier:9999999,Duration:999999999},
  89. {Id:16,Amplifier:9999999,Duration:999999999},
  90. {Id:23,Amplifier:9999999,Duration:999999999},
  91. {Id:3,Amplifier:9999999,Duration:999999999}]}}},
  92. {maxUses:9999999,buy:{id:"minecraft:diamond_block",Count:64},buyB:{id:"minecraft:emerald_block",Count:32},sell:{id:"minecraft:potion",Damage:16456,Count:1,tag:
  93. {display:{Name:"Killing Spree",Lore:["PotatoMaster101's Super Potion Set - ","Death Potion"]},
  94. CustomPotionEffects:[{Id:2,Amplifier:999999,Duration:999999999},
  95. {Id:4,Amplifier:9999999,Duration:999999999},
  96. {Id:7,Amplifier:9999999,Duration:999999999},
  97. {Id:9,Amplifier:9999999,Duration:999999999},
  98. {Id:15,Amplifier:9999999,Duration:999999999},
  99. {Id:17,Amplifier:9999999,Duration:999999999},
  100. {Id:19,Amplifier:9999999,Duration:999999999},
  101. {Id:18,Amplifier:9999999,Duration:999999999},
  102. {Id:20,Amplifier:9999999,Duration:999999999}]}}},
  103. {maxUses:9999999,buy:{id:"minecraft:diamond_block",Count:32},buyB:{id:"minecraft:emerald_block",Count:32},sell:{id:"minecraft:blaze_rod",Count:1,tag:
  104. {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:33,lvl:90000}],
  105. AttributeModifiers:[{Operation:0,UUIDLeast:1,UUIDMost:1,Amount:850000.0,AttributeName:generic.attackDamage,Name:Damage},
  106. {Operation:0,UUIDLeast:2,UUIDMost:2,Amount:950000.0,AttributeName:generic.knockbackResistance,Name:K_Resistance}],
  107. display:{Name:"Death Rod",Lore:["PotatoMaster101's Super Enchant Weapon Set - ","Rod"]}}}},
  108. {maxUses:9999999,buy:{id:"minecraft:nether_star",Count:64},buyB:{id:"minecraft:nether_star",Count:64},sell:{id:"minecraft:mob_spawner",Count:1,tag:
  109. {BlockEntityTag:{MinSpawnDelay:100,MaxSpawnDelay:150,SpawnCount:1,Delay:125,RequiredPlayerRange:10,MaxNearbyEntities:1,SpawnRange:15,EntityId:FallingSand,SpawnData:{Block:"minecraft:diamond_ore",Time:1}},
  110. display:{Name:"Tons of Diamonds",Lore:["PotatoMaster101's Mob Spawner - ","Diamond Spawner"]}}}},
  111. {maxUses:9999999,buy:{id:"minecraft:diamond_ore",Count:64},buyB:{id:"minecraft:emerald_ore",Count:64},sell:{id:"minecraft:mob_spawner",Count:1,tag:
  112. {BlockEntityTag:{MinSpawnDelay:100,MaxSpawnDelay:150,SpawnCount:1,Delay:125,RequiredPlayerRange:10,MaxNearbyEntities:1,SpawnRange:15,EntityId:FallingSand,SpawnData:{Block:"minecraft:emerald_ore",Time:1}},
  113. display:{Name:"Tons of Emeralds",Lore:["PotatoMaster101's Mob Spawner - ","Emerald Spawner"]}}}},
  114. {maxUses:9999999,buy:{id:"minecraft:emerald",Count:64},buyB:{id:"minecraft:diamond",Count:64},sell:{id:"minecraft:mob_spawner",Count:1,tag:
  115. {BlockEntityTag:{EntityId:Zombie,SpawnData:{ActiveEffects:[{Id:1,Amplifier:4,Duration:9999999},
  116. {Id:5,Amplifier:9999999,Duration:9999999},
  117. {Id:10,Amplifier:9999999,Duration:9999999},
  118. {Id:11,Amplifier:9999999,Duration:9999999},
  119. {Id:12,Amplifier:9999999,Duration:9999999},
  120. {Id:13,Amplifier:9999999,Duration:9999999}],
  121. Equipment:[{id:"minecraft:diamond_sword",Count:1,tag:{ench:[{id:16,lvl:90000000},{id:19,lvl:90000000},{id:20,lvl:90000000},{id:17,lvl:90000000},{id:18,lvl:90000000},{id:34,lvl:90000000}]}},
  122. {id:"minecraft:diamond_boots",Count:1,tag:{ench:[{id:0,lvl:90000000},{id:1,lvl:90000000},{id:2,lvl:90000000},{id:3,lvl:90000000},{id:4,lvl:90000000},{id:7,lvl:90000000},{id:34,lvl:90000000}]}},
  123. {id:"minecraft:diamond_leggings",Count:1,tag:{ench:[{id:0,lvl:90000000},{id:3,lvl:90000000},{id:1,lvl:90000000},{id:4,lvl:90000000},{id:7,lvl:90000000},{id:34,lvl:90000000}]}},
  124. {id:"minecraft:diamond_chestplate",Count:1,tag:{ench:[{id:0,lvl:90000000},{id:3,lvl:90000000},{id:1,lvl:90000000},{id:4,lvl:90000000},{id:7,lvl:90000000},{id:34,lvl:90000000}]}},
  125. {id:"minecraft:mob_spawner",Count:1,AttributeModifiers:[{Operation:0,UUIDLeast:1,UUIDMost:1,Amount:950.0,AttributeName:generic.attackDamage,Name:Attack_Cage},
  126. {Operation:0,UUIDLeast:2,UUIDMost:2,Amount:950.0,AttributeName:generic.knockbackResistance,Name:Knockback_Cage},
  127. {Operation:0,UUIDLeast:4,UUIDMost:4,Amount:990.0,AttributeName:generic.maxHealth,Name:Health_Cage}]}],Invulnerable:1
  128. Attributes:[{Name:generic.attackDamage,Base:1000},{Name:generic.followRange,Base:250},
  129. {Name:generic.knockbackResistance,Base:700},{Name:generic.movementSpeed,Base:0.7},
  130. {Name:generic.maxHealth,Base:1000}],CustomName:"PotatoMaster101's Clone",CustomNameVisible:1},
  131. SpawnCount:2,SpawnRange:10,RequiredPlayerRange:128,Delay:10,MinSpawnDelay:10,MaxSpawnDelay:100,MaxNearbyEntities:20},
  132. display:{Name:"Clone Spawner",Lore:["PotatoMaster101's Mob Spawner - ","Clone"]}}}},
  133. {maxUses:9999999,buy:{id:"minecraft:lapis_block",Count:64},buyB:{id:"minecraft:lapis_block",Count:64},sell:{id:"minecraft:cake",Count:1,tag:
  134. {display:{Name:"The Cake is a Lie",Lore:["PotatoMaster101's Secret Item - ","Cake"]},ench:[],
  135. AttributeModifiers:[{Operation:0,UUIDLeast:1,UUIDMost:1,Amount:-9000000000.0,AttributeName:generic.attackDamage,Name:Attack_Inv},
  136. {Operation:0,UUIDLeast:4,UUIDMost:4,Amount:-9000000000.0,AttributeName:generic.maxHealth,Name:Health_Inv},
  137. {Operation:0,UUIDLeast:2,UUIDMost:2,Amount:-9000000000.0,AttributeName:generic.knockbackResistance,Name:Knockback_Inv},
  138. {Operation:0,UUIDLeast:3,UUIDMost:3,Amount:-9000000000.0,AttributeName:generic.followRange,Name:Follow_Inv},
  139. {Operation:0,UUIDLeast:5,UUIDMost:5,Amount:-9000000000.0,AttributeName:generic.movementSpeed,Name:Speed_Inv}]}}},
  140. {maxUses:9999999,buy:{id:"minecraft:gold_block",Count:64},buyB:{id:"minecraft:gold_block",Count:64},sell:{id:"minecraft:potato",Count:1,tag:
  141. {display:{Name:"PotatoMaster101",Lore:["PotatoMaster101's Secret Item - ","Potato"]},ench:[]}}}]}}}}}}}}}}}}}}}}}}}}}
复制代码
============END===========