COWMODSКаталог модов

Villager API

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

Автор: frikinjay192 тыс.54обновлён 19 окт. 2026 г.
БиблиотекиМобыУтилиты

Описание

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. You can also override or merge custom trades into vanilla or other modded villager's trades.

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 villager's biome type

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.

Галерея

Последние версии

Все версии →
beta

Villager API 1.26.10.0

1.26.10.0
19 окт. 2026 г.166Minecraft: 26.4-snapshot-4, 26.4-snapshot-5fabric, quilt
Скачать
Что нового
### Added - Minecraft 26.4 snapshot support on Fabric, as a beta. This is a separate build made for 26.4 snapshot 4; use it instead of the 26.3 build on the 26.4 snapshots. NeoForge does not support 26.4 yet. ### Notes - Villager packs, professions, villager types, trades, hero of the village gifts and the extra village houses work the same as on 26.3.
release

Villager API 1.26.9.6

1.26.9.6
28 сент. 2026 г.862Minecraft: 26.3, 26.4-snapshot-1, 26.4-snapshot-2, 26.4-snapshot-3, 26.4-snapshot-4, 26.4-snapshot-5neoforge
Скачать
Что нового
- Added village_types directory to villager packs to register new village types for a biome with complete control of how it'll look - Added village_structures directory to add structures to existing vanilla villages or custom villages even from other mods as long as they follow the vanilla convention - Multiple VillagerPacks adding villager types to the same biome will be handled properly now instead of clashing and every pack will get to have its villager type in the same biome - Trade merging, overriding, priority and ordering have been added with many other customizations - Completely overhauled and improved the VillagerPack generator over at https://villagerapi.neoterra.online
release

Villager API 1.26.9.6

1.26.9.6
28 сент. 2026 г.10,3 тыс.Minecraft: 26.3, 26.4-snapshot-1, 26.4-snapshot-2, 26.4-snapshot-3, 26.4-snapshot-4, 26.4-snapshot-5fabric, quilt
Скачать
Что нового
- Added village_types directory to villager packs to register new village types for a biome with complete control of how it'll look - Added village_structures directory to add structures to existing vanilla villages or custom villages even from other mods as long as they follow the vanilla convention - Multiple VillagerPacks adding villager types to the same biome will be handled properly now instead of clashing and every pack will get to have its villager type in the same biome - Trade merging, overriding, priority and ordering have been added with many other customizations - Completely overhauled and improved the VillagerPack generator over at https://villagerapi.neoterra.online
release

Villager API 1.26.9.6

1.26.9.6
28 сент. 2026 г.11,8 тыс.Minecraft: 1.21.1neoforge
Скачать
Что нового
- Added village_types directory to villager packs to register new village types for a biome with complete control of how it'll look - Added village_structures directory to add structures to existing vanilla villages or custom villages even from other mods as long as they follow the vanilla convention - Multiple VillagerPacks adding villager types to the same biome will be handled properly now instead of clashing and every pack will get to have its villager type in the same biome - Trade merging, overriding, priority and ordering have been added with many other customizations - Completely overhauled and improved the VillagerPack generator over at https://villagerapi.neoterra.online
release

Villager API 1.26.9.6

1.26.9.6
28 сент. 2026 г.2,8 тыс.Minecraft: 1.21.1fabric, quilt
Скачать
Что нового
- Added village_types directory to villager packs to register new village types for a biome with complete control of how it'll look - Added village_structures directory to add structures to existing vanilla villages or custom villages even from other mods as long as they follow the vanilla convention - Multiple VillagerPacks adding villager types to the same biome will be handled properly now instead of clashing and every pack will get to have its villager type in the same biome - Trade merging, overriding, priority and ordering have been added with many other customizations - Completely overhauled and improved the VillagerPack generator over at https://villagerapi.neoterra.online
release

Villager API 1.26.9.5

1.26.9.5
25 сент. 2026 г.89Minecraft: 26.3, 26.4-snapshot-1neoforge
Скачать
Что нового
- Fixed POI assignment once and for all and removed custom entrypoint
release

Villager API 1.26.9.5

1.26.9.5
25 сент. 2026 г.767Minecraft: 26.3, 26.4-snapshot-1fabric, quilt
Скачать
Что нового
- Fixed POI assignment once and for all and removed custom entrypoint
release

Villager API 1.26.9.5

1.26.9.5
25 сент. 2026 г.708Minecraft: 1.21.1neoforge
Скачать
Что нового
- Fixed POI assignment once and for all and removed custom entrypoint
release

Villager API 1.26.9.5

1.26.9.5
25 сент. 2026 г.215Minecraft: 1.21.1fabric, quilt
Скачать
Что нового
- Fixed POI assignment once and for all and removed custom entrypoint
release

Villager API 1.26.9.4

1.26.9.4
25 сент. 2026 г.38Minecraft: 26.3, 26.4-snapshot-1neoforge
Скачать
Что нового
- `Villagerpacks` now also load from the `Resourcepacks` folder in the instance direcotry allowing for the packs to be uploaded and downloaded from `modrinth` and `curseforge`