ITradeList

Indicates a villager trade.

minecraft:emerald_for_items

Exchange items for emeralds.

Fields:

item ItemStack Items provided by players

price ResourceLocation Number of emeralds provided by villagers

minecraft:list_item_for_emeralds

Items plus emeralds in exchange for items.

Fields:

from

__price RandomIntSupplier Number of emeralds

__count RandomIntSupplier Item quantity, replace item quantity at runtime

__item ItemStack Item

to

__count RandomIntSupplier Item quantity, replace item quantity at runtime

__item ItemStack Item

minecraft:list_item_for_emeralds

Exchange emeralds for items.

Fields:

from

__price RandomIntSupplier Price

to

__item ItemStack

cvh:slots

Specifies the slot item.

slot1 + slot2 -> slot3

Field:

slot1

__price RandomIntSupplier Item quantity

__item ItemStack items

slot2

__price RandomIntSupplier Item quantity

__item ItemStack items

slot3

__price RandomIntSupplier Item quantity

__item ItemStack items