Mineuniverse
Log in Register
Mods

Villager API

An API to add custom villager professions and villager biome types with custom trades without writing code.
by frikinjay
Download Claim this project
968,023 downloads
0 likes
Updated Jun 30, 2026
0 hypes

Villager API

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.

What does it do?

This mod lets you create completely custom villagers with your own:

  • Professions - New jobs with custom workstations and trading lists
  • Types - Different villager appearances tied to specific biomes
  • Trades - Full control over what villagers buy and sell at each level
  • Hero Gifts - Custom loot tables for post-raid rewards

Everything is handled through JSON files in the villagerpacks folder. No coding, no complex setup—just make your files and load up the game.

Quick Example

Want an Alchemist villager who uses a crying obsidian block as their workstation?

  1. Create villagerpacks/my_pack/villagers/poi_types/alchemist.json and villagerpacks/my_pack/villagerapi_config.json
  2. Define the workstation block
  3. Add the profession file linking to that POI type
  4. Set up your trades
  5. Drop in textures for the profession overlay

That's it. The mod handles registration, trade mechanics, and everything else.

What can you customize?

  • Workstations - Any block can be a job site
  • Trading pools - Define exactly what villagers offer at each experience level (Novice through Master)
  • Item components - Full support for enchantments, custom names, potions, and all the data components Minecraft uses
  • Treasure maps - Sell maps to modded or vanilla structures with custom markers
  • Biome appearances - Make villagers look different depending on where they spawn
  • Biome-specific trades - Same profession, different inventory based on location

Who and what is this for?

If you've ever wanted to add villagers to your modpack or mod without dealing with Java code, this is for you. It's built for pack makers and modders who want villager content without the headache of getting into learning and writing java code.

Works with both regular resource pack like villager packs and as part of mods by simply putting a villagers folder in your mods main directory. Multiple packs can run at once—later packs override earlier ones where there's overlap.

Full Documentation

Check the complete documentation with examples and all available options here:
https://github.com/frikinjay/villagerapi/blob/main/DOCUMENTATION.md

You can generate a pack online here without having to manually create all the files: Villager Pack Generator

The docs include the full pack structure, all JSON formats, item component examples, and a complete example pack to get you started.

Villager-API-26.1.x-fabric-1.26.7.1.jar
MC Client, Fabric, Server, Quilt, 26.1, 26.1.1, 26.1.2, 26.2
Release 2026-07-05 Get
Villager-API-26.1.x-neoforge-1.26.7.1.jar
MC Client, NeoForge, Server, 26.1, 26.1.1, 26.1.2, 26.2
Release 2026-07-05 Get
Villager-API-1.21.1-fabric-1.26.1.3.jar
MC Client, Fabric, 1.21.1, Server, Quilt
Release 2026-01-27 Get
Villager-API-1.21.1-neoforge-1.26.1.3.jar
MC Client, 1.21.1, NeoForge, Server
Release 2026-01-27 Get
Villager-API-1.21.11-fabric-1.26.1.3.jar
MC Client, Fabric, Server, Quilt, 1.21.11
Release 2026-01-27 Get
Villager-API-1.21.11-neoforge-1.26.1.3.jar
MC Client, NeoForge, Server, 1.21.11
Release 2026-01-27 Get
Villager-API-1.21.11-fabric-1.26.1.2.jar
MC Client, Fabric, Server, Quilt, 1.21.11
Release 2026-01-23 Get
Villager-API-1.21.11-neoforge-1.26.1.2.jar
MC Client, NeoForge, Server, 1.21.11
Release 2026-01-23 Get
Villager-API-1.21.1-fabric-1.26.1.2.jar
MC Client, Fabric, 1.21.1, Server, Quilt
Release 2026-01-23 Get
Villager-API-1.21.1-neoforge-1.26.1.2.jar
MC Client, 1.21.1, NeoForge, Server
Release 2026-01-23 Get
Villager-API-1.21.1-fabric-1.26.01.1.jar
MC Client, Fabric, 1.21.1, Server, Quilt
Release 2026-01-11 Get
Villager-API-1.21.11-fabric-1.26.01.1.jar
MC Client, Fabric, Server, Quilt, 1.21.11
Release 2026-01-11 Get
Villager-API-1.21.1-neoforge-1.26.01.1.jar
MC Client, 1.21.1, NeoForge, Server
Release 2026-01-11 Get
Villager-API-1.21.11-neoforge-1.26.01.1.jar
MC Client, NeoForge, Server, 1.21.11
Release 2026-01-11 Get
Villager-API-1.21.1-fabric-1.25.12.3.jar
MC Client, Fabric, 1.21.1, Server, Quilt
Release 2025-12-25 Get
Villager-API-1.21.1-neoforge-1.25.12.3.jar
MC Client, 1.21.1, NeoForge, Server
Release 2025-12-25 Get
Villager-API-1.21.1-fabric-1.25.12.2.jar
MC Client, Fabric, 1.21.1, Server, Quilt
Release 2025-12-23 Get
Villager-API-1.21.1-neoforge-1.25.12.2.jar
MC Client, 1.21.1, NeoForge, Server
Release 2025-12-23 Get
Villager-API-1.21.11-fabric-1.25.12.2.jar
MC Client, Fabric, Server, Quilt, 1.21.11
Release 2025-12-23 Get
Villager-API-1.21.11-neoforge-1.25.12.2.jar
MC Client, NeoForge, Server, 1.21.11
Release 2025-12-23 Get
Villager-API-1.21.11-fabric-1.25.12.1.jar
MC Client, Fabric, Server, Quilt, 1.21.11
Release 2025-12-17 Get
Villager-API-1.21.11-neoforge-1.25.12.1.jar
MC Client, NeoForge, Server, 1.21.11
Release 2025-12-17 Get
Villager-API-1.21.1-fabric-1.1.1.jar
MC Client, Fabric, 1.21.1, Server, Quilt
Release 2025-12-07 Get
Villager-API-1.21.1-neoforge-1.1.1.jar
MC Client, 1.21.1, NeoForge, Server
Release 2025-12-07 Get
Villager-API-1.21.1-fabric-1.1.0.jar
MC Client, Fabric, 1.21.1, Server, Quilt
Release 2025-12-06 Get
Villager-API-1.21.1-neoforge-1.1.0.jar
MC Client, 1.21.1, NeoForge, Server
Release 2025-12-06 Get
Villager-API-1.21.1-fabric-1.0.1.jar
MC Client, Fabric, 1.21.1, Server, Quilt
Release 2025-12-03 Get
Villager-API-1.21.1-neoforge-1.0.1.jar
MC Client, 1.21.1, NeoForge, Server
Release 2025-12-03 Get

More from frikinjay

Let Me Despawn
67,212,046
Mob Stacker Ind.
65,393
Glow Squid Spawn Fix
566
More Frogs 2
564,574
The Big Bench Theory - Continued
465
Easy Mod Sync
43

You Might Also Like

Vivecraft
A Minecraft VR mod on a loader of your choice!
9,988,339
Athena
A crossplatform (Forge/Fabric) solution to connected block textures for 1.19.4+
99,799,527
Lodestone
A collection of code used throughout projects under the Lodestar team.
9,914,417
TheDragonLib
A library for most of sokratis12GR's Mods
9,910,232
Multi Mob Library
A library mod containing essential files for Daveyx0's mob mods
9,892,767
FTB Library (Forge) (Legacy)
FTB Library is a library mod that is used for some of our mods.
98,265,314