Villager API

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

Редакция NLZONE · 2 мин чтения · 1 просмотр
Villager API
Скачать Villager API1.21.1 – 26.4-snapshot-9 · с официальной страницы: modrinth.com
Перейти к загрузке

Что это

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

  • Тип: мод
  • Загрузчик: fabric, neoforge, quilt
  • Версии Minecraft: 1.21.1 – 26.4-snapshot-9
  • Скачиваний на Modrinth: 199 841

Подробно

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 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.

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

1. Create villagerpacks/mypack/villagers/poitypes/alchemist.json and villagerpacks/mypack/villagerapiconfig.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.

- 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

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.

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,

Как установить

Скачайте файл на официальной странице ниже и положите его в папку mods (для модов) или plugins (для плагинов) вашего сервера или клиента. Для модов нужен совместимый загрузчик. Версия должна совпадать с версией Minecraft.

Текст подготовлен автоматически из описания на Modrinth и ждёт проверки редакцией.

Редакция NLZONE

Пишем о серверах, модах и играх, в которые играем сами. Нашли ошибку — напишите нам, исправим.

Комментарии 0

Комментарии к этому материалу отключены.

Читайте также