====== Trade Entries ====== A trade entry determines what item stack to use in a [[trades:start|trade]]. ===== Fields ===== ^ Name ^ Description ^ Type ^ Default Value ^ | ''item'' | The item for the item stack. | An item | | | ''count'' | The count for the item stack. The actual count is picked randomly between the minimum and maximum and respects the item's [[items:item_components:max_stack_size]] item component. | An optional [[extras:ranges|integer range]] | ''1'' | | ''item_modifier'' | The item modifier to apply to the item stack. The item modifier uses the [[extras:loot_tables:loot_context_types:trade]] [[mc>Loot_context|loot context type]]. | An optional [[mc>Item_modifier|item modifier]] | | ===== Example ===== { "item": "minecraft:suspicious_stew", "item_modifier": { "function": "minecraft:set_stew_effect", "effects": [ { "type": "minecraft:saturation", "duration": 7.0 } ] } }