VillagerConfig
by DrexHD
Data-driven trade configuration for villagers arrives through VillagerConfig, a library that also gives server owners two test commands.
What it does
VillagerConfig exposes advanced villager configuration with trades defined by data. Two commands, /vc test villager and /vc test wanderingtrader, open a randomly generated trade screen for a chosen villager profession, with an optional level to set, or for a wandering trader. They exist to make testing datapacks easier. Installation needs the mod on the server only, since the environment is server-side only, and it is released under the GNU Lesser General Public License v3.0 only, which makes it open source. Files cover 1.18.2 – 26.3 on Fabric, NeoForge and Quilt.
Key features
Data-driven villager trades
Villager trades are defined through data, so datapacks can change what each profession offers.
Villager test command
/vc test villager opens a generated trade screen for a profession, optionally at a chosen level.
Wandering trader test command
/vc test wanderingtrader opens a generated trade screen for wandering traders.
Compatibility
Latest build for each game version and loader.
26.x5 of 5 versions with builds
1.21.x12 of 12 versions with builds
1.20.x7 of 7 versions with builds
1.19.x5 of 5 versions with builds
1.18.x1 of 1 version with builds
This mod also publishes snapshot builds. Snapshots are not shown in the matrix.
Required by 3 mods
How it compares
Data Trades is also server-side only and open source, under the CC0 1.0 Universal license, with files for 1.19.2 – 1.21.1 on Fabric, Forge and NeoForge. Villager API is a client and server mod under the GNU Lesser General Public License v3.0 only, published for 1.21.1 – 26.3 on Fabric, NeoForge and Quilt.
| Mod | Loaders | Game versions | Environment | Updated |
|---|---|---|---|---|
| VillagerConfig | Fabric, NeoForge and Quilt | 1.18.2 – 26.3 | Server-side only | 2026-09-23 |
| Data Trades | Fabric, Forge and NeoForge | 1.19.2 – 1.21.1 | Server-side only | 2024-08-20 |
| Villager API | Fabric, NeoForge and Quilt | 1.21.1 – 26.3 | Client and server | 2026-09-28 |
Questions
Does VillagerConfig need to be installed on the client?
Which loaders does VillagerConfig support?
Which mods require VillagerConfig?
In the catalog
VillagerConfig is one of 3,514 Library mods on ModsFinder, and one of 2,348 Library mods for Fabric. 8,071 mods support Minecraft 26.3.
More from DrexHD
Similar mods
What the author says
Or check out the list of known Datapacks using VillagerConfig! 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…
Official listing
- Modrinth page
- modrinth.com/mod/villagerconfig
- Owner
- DrexHD
- Published
- 2022-03-02
- Updated on Modrinth
- 2026-09-23
- Facts verified
- 2026-10-15
