ITradeList
表示为村民交易。
minecraft:emerald_for_items
 用物品换取绿宝石。
字段:
item ItemStack 玩家提供的物品
price ResourceLocation 村民提供绿宝石的数量
minecraft:list_item_for_emeralds
 物品加绿宝石换取物品。
字段:
from
__price RandomIntSupplier 绿宝石的数量
__count RandomIntSupplier 物品数量,运行时替换物品数量
__item ItemStack 物品
to
__count RandomIntSupplier 物品数量,运行时替换物品数量
__item ItemStack 物品
minecraft:list_item_for_emeralds
 绿宝石换取物品。
字段:
from
__price RandomIntSupplier 价格
to
__item ItemStack 物品
cvh:slots
 指定格子物品。
slot1 + slot2 -> slot3
字段:
slot1
__price RandomIntSupplier 物品数量
__item ItemStack 物品
slot2
__price RandomIntSupplier 物品数量
__item ItemStack 物品
slot3
__price RandomIntSupplier 物品数量
__item ItemStack 物品
