VillagerConfig is an advanced fabric mod for customizing villagers. It allows loading custom villager trades using datapacks, customizing trade behavior, and more...
One of VillagerConfig's most powerful features are the custom trades. Custom trades allows mod-pack creators, server owners and others to completely customize wandering trader and villager trades! If you want to create your own custom datapack, make sure to check out the wiki!
Setting up custom trades can be quite annoying, so a custom online generator has been created to help creating datapack files with a convenient graphical user interface and an instant preview! Check it out here!
To make testing datapacks easier the mod has two commands, /vc test villager <profession> [<level>]
can be used to
open a randomly generated trade gui for the given villager profession. The level that should be unlocked can optionally
be specified. /vc test wanderingtrader
can be used to open a randomly generated trade gui of wandering traders.
You can configure a maximum and minimum discount a villager can put on their trades.
There is a config option that allows to enable trade mechanics, that replicate the trade behaviour before the 1.14 village and pillage update.
There are several other config options available to customize villager behaviour!
Whether villagers trades will change, when their workstation is replaced (and they haven't been traded with)
The chance for a villager to convert to a villager-zombie
Whether villagers need to restock their trades