Example trades from a librarian specialized in high-level, armor and water-related enchantments.
This mod revisits the Villager trading mechanics with the purpose of making them more flexible and demanding at the same time, encouraging players to spend time training the same few villagers to get the desired trades instead of breeding a large number of them and putting them in trading halls. It does that by making these two changes:
- Villagers choose their trades based on previous player interactions (for instance, a librarian you've bought many Looting books from is more likely to offer other sword enchantments and other luck related enchantments in the future).
- Villagers change their trades every time they restock/every day. This makes it so that you won't have to get rid of villagers with bad trades after having spent resources on them, and that you'll need less villagers to get the trades you want compared to vanilla (particularly in the case of librarians).
Additionally, this mod allows you to add or replace villager trades through datapacks.
Credits
The source code of this mod is based on SimpleJsonVillagerTrades