← Назад к ресурсам

VillagerConfig

Advanced Villager configuration with data driven trades

Modrinth library management utility

Описание

[![Discord](https://img.shields.io/discord/904419828192927885.svg?logo=discord)](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)! ![](https://github.com/DrexHD/VillagerConfig/blob/f7033892669758eb4a2858a8410ef4812db147e6/media/wandering_trader.png?raw=true) ### 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)! ![](https://github.com/DrexHD/VillagerConfig/blob/f7033892669758eb4a2858a8410ef4812db147e6/media/generator.png?raw=true) ### 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. ![](https://github.com/DrexHD/VillagerConfig/blob/f7033892669758eb4a2858a8410ef4812db147e6/media/discount.png?raw=true) ### 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