我的世界1.10村民交易怎么用命令方块自定义

2024-11-08 00:02:18
有1个网友回答
网友(1):

 1.10村民交易怎么用命令方块自定义?
  /summon Villager ~ ~1 ~
  {CustomName:"黑商",CustomNameVisible:1,Offers:{Recipes:[{maxUses:100,buy:
  {id:"minecraft:diamond",Count:3b},sell:{id:"minecraft:spawn_egg",Count:1b,tag:{EntityTag:{id:"Pig"}}}},{maxUses:100,buy:{id:"minecraft:diamond",Count:3b},sell:{id:"minecraft:spawn_egg",Count:1b,tag:{EntityTag:{id:"Cow"}}}},
  {maxUses:100,buy:{id:"minecraft:diamond",Count:3b},sell:{id:"minecraft:spawn_egg",Count:1b,tag:{EntityTag:{id:"Chicken"}}}},{maxUses:100,buy:{id:"minecraft:diamond",Count:3b},sell:{id:"minecraft:spawn_egg",Count:1b,tag:{EntityTag:{id:"Sheep"}}}},
  {maxUses:100,buy:{id:"minecraft:diamond",Count:10b},sell:{id:"minecraft:spawn_egg",Count:1b,tag:{EntityTag:{id:"MushroomCow"}}}}]}}