Wiki 9Minecraft Wiki 9Minecraft
Custom Villager Trades 9Minecraft Wiki › Guides › How to Customize Villager and Wandering Trader Offers Using Text Files

How to Customize Villager and Wandering Trader Offers Using Text Files

Changing what villagers and wandering traders sell is straightforward with the Custom Villager Trades mod. Instead of dealing with complex data packs or writing code, you can modify simple text files to set any cost and reward for every job in the game.

Editing the Trade Files

Open the mod's configuration text files using a standard text editor. Within these files, you can define custom trade offers for every villager profession as well as the wandering trader. The system accepts any item in the game for trade payments and trade rewards, giving you total freedom over your economy.

Setting Trade Details and Special Rewards

Beyond basic items, you can configure advanced trade details such as profession levels, maximum uses before locking, XP gains, and price demand. Furthermore, you can customize trade rewards by adding custom names, specific enchantments, random enchantment ranges, or custom potion colors and effects. You can even add explorer maps that point directly to structures.

Once your edits are complete, save the files. You can reload trade files in-game without restarting your session. If you make a typo, check the game log, as the mod shows clear error messages whenever a file contains an error.