Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Defines an item used in a trade, either as input (wants) or output (gives).
Trade Item Properties
| Name | Default Value | Type | Description |
|---|---|---|---|
| __DEP_fltrs | not set | Object | __DEP_fltrs |
| __DEP_fnctns | not set | Object | __DEP_fnctns |
| choice | not set | Array of objects | Alternative items that can be traded. |
| filters | not set | Object | Optional filters that must pass for this item to be included in the trade. |
| functions | not set | Array of objects | Array of functions to apply to the trade item, such as enchantments. |
| item | not set | String | The item identifier, e.g., 'minecraft:emerald' or 'minecraft:coal'. Can include data value suffix like 'minecraft:coal:0'. |
| price_multiplier | 0.05 | Decimal number | Multiplier applied to price increases when supply/demand changes. Higher values mean prices fluctuate more. Typical value is 0.05. |
| quantity | 1 | Integer number | Number of this item involved in the trade. Can be a fixed number or an object with min/max for random quantity. |
| quantity (as Object) | not set | Quantity (Trade Item Quantity) item |
Trade Item Quantity
Defines a random quantity range for a trade item.
Trade Item Quantity Properties
JSON path: quantity
| Name | Default Value | Type | Description |
|---|---|---|---|
| max | 1 | Integer number | Maximum number of items for this trade. |
| min | 1 | Integer number | Minimum number of items for this trade. |