Back to mods
Villager API project artwork

CurseForge · Minecraft mod

Villager API

An API to add custom villager professions and villager biome types with custom trades without writing code.

Choose a version Pick your version below, then grab the matching file.

Quick answer

Which Villager API release should I use?

Updated 29 days ago
Latest stable file Villager-API-26.1.x-neoforge-1.26.7.1.jar
Game version 26.1, 26.1.1, 26.1.2
Loader NeoForge

Villager API Villager-API-26.1.x-neoforge-1.26.7.1.jar targets 26.1, 26.1.1, 26.1.2 with NeoForge. The project page does not say whether it belongs on the client. The project page does not say whether it belongs on the dedicated server. No extra mods listed for this file.

Where it goes

Is Villager API required on the client, server, or both?

The project page does not say whether it belongs on the client. The project page does not say whether it belongs on the dedicated server.

Client Source doesn’t say
Dedicated server Source doesn’t say
Loader for this release NeoForge
Required install it here Optional supported, not mandatory Not supported do not install here Source doesn’t say do not assume

The source does not explicitly classify this release as client-only or server-only.

What else does Villager API Villager-API-26.1.x-neoforge-1.26.7.1.jar need?

Villager-API-26.1.x-neoforge-1.26.7.1.jar. Change the file and its required mods may change too.

No extra mods listed for this file

This file does not list any required mods. Do not add a library just because a different file uses it.

This file does not list any required or optional mods.

Before you install it

Add Villager API without breaking your instance.

Built for Villager API Villager-API-26.1.x-neoforge-1.26.7.1.jar. Pick another file and the loader, install side or required mods may change.

  1. 01

    Stick to this file

    Use Villager-API-26.1.x-neoforge-1.26.7.1.jar. It targets 26.1, 26.1.1, 26.1.2 with NeoForge; another release may have different loader, side or dependency requirements.

  2. 02

    Bring the mods it needs

    This file does not list any required mods. Do not add a library just because a different file uses it.

  3. 03

    Put it on the correct side

    The project page does not say whether it belongs on the client. The project page does not say whether it belongs on the dedicated server.

  4. 04

    Pick the file you checked

    Use the “Get this file” button beside Villager-API-26.1.x-neoforge-1.26.7.1.jar. It opens that exact file at the source.

About this project

What does Villager API add?

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.

Project description from CurseForge.

Pick your setup

Villager API by Minecraft version and loader

Choose the version and loader you play, then open the matching release.

33 available setups

Check the dependencies, then try the file in a copied instance before changing a world you care about.

Recent files

Villager API versions and loaders

28 of 28 releases match

Looking for an older file? The official CurseForge project page is in Resources.