Описание
[](https://discord.gg/HeZayd6SxF)
# VillagerConfig
VillagerConfig is an advanced fabric mod for customizing villagers. It allows loading custom villager trades using
datapacks, customizing trade behavior, and more...
## Features
### Custom trades
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](https://github.com/DrexHD/VillagerConfig/wiki/Creating-your-own-datapack)!
Or check out the list of known [Datapacks using VillagerConfig](https://github.com/DrexHD/VillagerConfig/wiki/Datapacks-using-VillagerConfig)!

### Online generator
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](https://villagerconfig.vercel.app/villagerconfig/?preset=butcher)!

### Testing
To make testing datapacks easier the mod has two commands, `/vc test villager []` 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.
### Discounts
You can configure a *maximum* and *minimum* **discount** a villager can put on their trades.

### Other
There are several other config options available to customize villager behaviour!
#### Trade cycling
Whether villagers trades will change, when their workstation is replaced (and they haven't been traded with)
#### Conversion chance
The chance for a villager to convert to a villager-zombie
#### Infinite trades
Whether villagers need to restock their trades