ModsFinder

Villager API

by frikinjay

Villager API lets pack makers and modders define custom villager professions, biome types and trades through JSON files, with no Java code required.

FabricNeoForgeQuiltClient and serverGNU Lesser General Public License v3.0 onlyOpen source1.21.1 – 26.3

What it does

The mod is a data-driven framework: files placed in a villagerpacks folder define new professions with their workstation blocks and trading lists, villager types tied to specific biomes, and the trades each villager offers at every level. Packs can be loaded as a regular resource pack or as a villagers folder inside the mods directory, and several packs can run together, with later packs overriding earlier ones where they overlap.

Custom trades can also replace or merge into the vanilla or other modded villager trades. Post-raid hero gifts are configured with custom loot tables. The mod handles registration and trade mechanics itself, so a pack only needs the JSON files. Fabric API is required on every loader, and the mod runs on client and server, so both the server and every player need it. Files are published for Fabric, NeoForge and Quilt, with the 1.21.1 build and the 26.x builds 1.21.11 – 26.3 released under the GNU Lesser General Public License v3.0 only, and the source code is open source.

Key features

  1. Custom professions

    New jobs are defined with their own workstation block and trading list, linked to a point of interest type.

  2. Biome-based villager types

    Villager appearances can be tied to specific biomes, so the same profession looks different across the world.

  3. Per-level trade control

    Each villager level can have its own set of items to buy and sell, including modded items.

  4. Hero gift loot tables

    Custom loot tables define the rewards villagers give after a raid is won.

  5. Trade merging

    Custom trades can be added to or override the trades of vanilla and other modded villagers.

Compatibility

Latest build for each game version and loader.

26.31.26.9.61.26.9.61.26.9.6
26.21.26.7.11.26.7.11.26.7.1
26.1.21.26.7.11.26.7.11.26.7.1
26.1.11.26.7.11.26.7.11.26.7.1
26.11.26.7.11.26.7.11.26.7.1
1.21.111.26.1.31.26.1.31.26.1.3
1.21.11.26.9.61.26.9.61.26.9.6
ReleaseBetaAlphaNot available

This mod also publishes snapshot builds. Snapshots are not shown in the matrix.

Requirements

Dependencies declared by the latest file for each loader.

Required 1

Fabric APILightweight and modular API providing common hooks and intercompatibility measures utilized by mods using the Fabric toolchain.
Required

Required by 2 mods

How it compares

Full comparison

Villager Lock is open source under the MIT License and runs on Fabric and NeoForge for 1.21.11 – 26.3 as a client and server mod. Profession Locking is server-side only, open source under the MIT License, and built for NeoForge 1.21.1 alone. Fast Piglin Trades is not open source and uses the GNU General Public License v3.0 only, with files for Fabric, Forge, NeoForge and Quilt covering 1.21.5 – 26.3.

ModLoadersGame versionsEnvironmentUpdated
Villager APIFabric, NeoForge and Quilt1.21.1 – 26.3Client and server2026-09-28
Villager LockFabric and NeoForge1.21.11 – 26.3Client and server2026-09-24
Profession LockingNeoForge1.21.1Server-side only2026-07-19
Fast Piglin TradesFabric, Forge, NeoForge and Quilt1.21.5 – 26.3Server required, client optional2026-10-03

Questions

Does Villager API need Fabric API?

Yes. Fabric API is required, and the mod is published for Fabric, NeoForge and Quilt in the 1.21.1 and 26.x builds.

Do both the server and the players need the mod?

Yes. Every player and the server need a copy of the mod.

Can custom trades change the vanilla villagers?

Yes. Trades can override or merge into vanilla and other modded villager trades through the same JSON files.

What does More Villagers: Re-employed need from Villager API?

More Villagers: Re-employed is one of 2 catalog mods that require Villager API, so it must be installed alongside it.

In the catalog

Villager API 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 frikinjay

All projects

Similar mods

What the author says

A simple data-driven framework for making custom villager professions, types, and trades without touching any code. Just drop JSON files in a folder and you're done. You can also override or merge custom trades into vanilla or other modded villager's trades. This mod lets you create completely custom villagers with…
frikinjay, on the Modrinth page

Official listing

Owner
frikinjay
Published
2025-12-02
Updated on Modrinth
2026-09-28
Facts verified
2026-10-15

Tags