Custom Villager Trades Wiki
Information
It is recommended you build the config file from scratch, but if you need a place to start, check out the configuration builder
Before getting started, please remember the following important notes:
- You can find a list of vanilla professions here
- This mod does not give you the option to create trades for villagers who have no profession/unemployed
- Your trade is not guaranteed to appear every time - this is because of the trade pools. You can however remove existing trades
- If you are unsure what the item ID is, press f3+h ingame to enable tooltips and hover over the item you want to add
- If you have any problems launching the game with a custom config, please first start the game without a config and see if it goes to the title screen. If it does then your config is not formatted correctly. There will also be an error message in the console/log if it is caused by custom villager trades
- If you remove a trade that a villager already has, the villager will still keep that trade because it is stored in the NBT
- The wanderer must have a minimum of 5 "common" and 1 "rare" trades
- You can see commands and their formatting here
- If you have any errors, check out the latest.log - it will tell you what's wrong. I will ask you to check this if you ask me for support, so save yourself a step!
- Need further help? Check out the examples provided here, then reach out to me on discord
JSON Specification
| Field Name | Data Type | Required | Description | Default Value |
|---|---|---|---|---|
| profession | String | ![]() |
The profession to be modified, this is a key value (eg. minecraft:farmer) | |
| removeOtherTrades | Boolean | ![]() |
If true, all trades will be removed and only CVT trades will be available to the villager | false |
| maxTrades | Whole Number | ![]() |
Define a custom amount of trades the villager can have per-level | 2 |
| maxCommonTrades | Whole Number | ![]() |
WANDERER ONLY - Define a custom amount of common trades the wander can have | 5 |
| maxRareTrades | Whole Number | ![]() |
WANDERER ONLY - Define a custom amount of rare trades the wander can have | 1 |
| trades | Trade Object | ![]() |
Each entry in this array will define a trade |

