Mechanic
addTrade
Changes the trades of a villager
Aliases
setTraderemoveTradereplaceTrade
Configuration Fields (12)
| Name | Type | Default | Description |
|---|---|---|---|
| action mode, m | String | ADD | The type of trade action to perform, valid values are ADD/REMOVE/REPLACE |
| slot s, index | int | 0 | The slot to modify the trade in. |
| ingredient item, ingredient1, item1, i, i1 | String | STONE | The item in the first trade slot. |
| ingredient2 item2, i2 | String | — | The item in the second trade slot. |
| result r | String | STONE | The resulting item from the trade. |
| maxuses uses, u | int | Integer.MAX_VALUE | Max uses for the trade |
| expReward experienceReward, exp, dropExp | boolean | false | Whether or not to reward EXP from the trade. |
| villagerExperience villExp, vexp | int | 0 | The amount of experience to give to the villager upon successful trade. |
| priceMultiplier multiplier | float | 0 | The multiplier to apply to the price of the trade. |
| demand d | int | 1 | The demand level of the trade. |
| specialPrice special | int | 1 | The special price of the trade. |
| ignoreDiscounts discounts | boolean | false | Whether or not to ignore discounts for the trade. |
Universal Mechanic Options
- Author:
- Seyarada