{"id":166471,"date":"2026-06-09T21:24:06","date_gmt":"2026-06-09T18:24:06","guid":{"rendered":"https:\/\/vpesports.com\/minecraft\/mods\/villagerapi\/"},"modified":"2026-06-09T21:24:06","modified_gmt":"2026-06-09T18:24:06","slug":"villagerapi","status":"publish","type":"mod","link":"https:\/\/vpesports.com\/minecraft\/mods\/villagerapi\/","title":{"rendered":"Villager API"},"content":{"rendered":"<p># Villager API<\/p>\n<p>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&#8217;re done.<\/p>\n<p>## What does it do?<\/p>\n<p>This mod lets you create completely custom villagers with your own:<br \/>\n&#8211; **Professions** &#8211; New jobs with custom workstations and trading lists<br \/>\n&#8211; **Types** &#8211; Different villager appearances tied to specific biomes<br \/>\n&#8211; **Trades** &#8211; Full control over what villagers buy and sell at each level<br \/>\n&#8211; **Hero Gifts** &#8211; Custom loot tables for post-raid rewards<\/p>\n<p>Everything is handled through JSON files in the `villagerpacks` folder. No coding, no complex setup\u2014just make your files and load up the game.<\/p>\n<p>## Quick Example<\/p>\n<p>Want an Alchemist villager who uses a crying obsidian block as their workstation?<\/p>\n<p>1. Create `villagerpacks\/my_pack\/villagers\/poi_types\/alchemist.json` and `villagerpacks\/my_pack\/villagerapi_config.json`<br \/>\n2. Define the workstation block<br \/>\n3. Add the profession file linking to that POI type<br \/>\n4. Set up your trades<br \/>\n5. Drop in textures for the profession overlay<\/p>\n<p>That&#8217;s it. The mod handles registration, trade mechanics, and everything else.<\/p>\n<p>## What can you customize?<\/p>\n<p>&#8211; **Workstations** &#8211; Any block can be a job site<br \/>\n&#8211; **Trading pools** &#8211; Define exactly what villagers offer at each experience level (Novice through Master)<br \/>\n&#8211; **Item components** &#8211; Full support for enchantments, custom names, potions, and all the data components Minecraft uses<br \/>\n&#8211; **Treasure maps** &#8211; Sell maps to modded or vanilla structures with custom markers<br \/>\n&#8211; **Biome appearances** &#8211; Make villagers look different depending on where they spawn<br \/>\n&#8211; **Biome-specific trades** &#8211; Same profession, different inventory based on location<\/p>\n<p>## Who and what is this for?<\/p>\n<p>If you&#8217;ve ever wanted to add villagers to your modpack or mod without dealing with Java code, this is for you. It&#8217;s built for pack makers and modders who want villager content without the headache of getting into learning and writing java code.<\/p>\n<p>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\u2014later packs override earlier ones where there&#8217;s overlap.<\/p>\n<p>## Full Documentation<\/p>\n<p>Check the complete documentation with examples and all available options here:<br \/>\n**https:\/\/github.com\/frikinjay\/villagerapi\/blob\/main\/DOCUMENTATION.md**<\/p>\n<p>You can generate a pack online here without having to manually create all the files:<br \/>\n**Villager Pack Generator**<\/p>\n<p>The docs include the full pack structure, all JSON formats, item component examples, and a complete example pack to get you started.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>An API to add custom villager professions and villager biome types with custom trades without writing code.<\/p>\n","protected":false},"featured_media":166472,"template":"","meta":{"_minecraft_slug":"villagerapi","_minecraft_project_id":"9Tp2Becg","_minecraft_author":"frikinjay","_minecraft_license":"LGPL-3.0-only","_minecraft_downloads":48883,"_minecraft_follows":33,"_minecraft_client_side":"required","_minecraft_server_side":"required","_minecraft_storage_type":"zip","_minecraft_archive_name":"villagerapi.zip","_minecraft_size_bytes":2998469,"_minecraft_version_count":26,"_minecraft_updated_at":"2026-05-16T09:39:30.314579Z","_minecraft_date_created":"2025-12-03T04:35:43.361396Z","_minecraft_date_modified":"2026-01-27T01:02:25.450439Z","_minecraft_project_url":"https:\/\/modrinth.com\/mod\/villagerapi","_minecraft_icon_attachment_id":166472,"_minecraft_imported_at":"2026-06-09T18:24:06+00:00","_minecraft_import_hash":"f9077ca66b8d15fcd01fb4b9def3497b","_minecraft_versions":"","_minecraft_links":"","_minecraft_gallery":"","_minecraft_api_metadata":""},"mod_category":[97,89,873,137,158,98,92],"mod_loader":[99,160,100],"minecraft_version":[37,41],"class_list":["post-166471","mod","type-mod","status-publish","has-post-thumbnail","hentry","mod_category-fabric","mod_category-game-mechanics","mod_category-library","mod_category-mobs","mod_category-neoforge","mod_category-quilt","mod_category-utility","mod_loader-fabric","mod_loader-neoforge","mod_loader-quilt","minecraft_version-1-21-1","minecraft_version-1-21-11"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.6 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Villager API - Minecraft<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/vpesports.com\/minecraft\/mods\/villagerapi\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Villager API - Minecraft\" \/>\n<meta property=\"og:description\" content=\"An API to add custom villager professions and villager biome types with custom trades without writing code.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/vpesports.com\/minecraft\/mods\/villagerapi\/\" \/>\n<meta property=\"og:site_name\" content=\"Minecraft\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/villagerapi\\\/\",\"url\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/villagerapi\\\/\",\"name\":\"Villager API - Minecraft\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/villagerapi\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/villagerapi\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/wp-content\\\/uploads\\\/2026\\\/06\\\/villagerapi-icon-fa7c6eb62b02fe517965b30b3cf7ecea35d59716.png\",\"datePublished\":\"2026-06-09T18:24:06+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/villagerapi\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/villagerapi\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/villagerapi\\\/#primaryimage\",\"url\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/wp-content\\\/uploads\\\/2026\\\/06\\\/villagerapi-icon-fa7c6eb62b02fe517965b30b3cf7ecea35d59716.png\",\"contentUrl\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/wp-content\\\/uploads\\\/2026\\\/06\\\/villagerapi-icon-fa7c6eb62b02fe517965b30b3cf7ecea35d59716.png\",\"width\":720,\"height\":720},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/villagerapi\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Mods\",\"item\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Villager API\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/#website\",\"url\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/\",\"name\":\"Minecraft\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Villager API - Minecraft","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/vpesports.com\/minecraft\/mods\/villagerapi\/","og_locale":"en_US","og_type":"article","og_title":"Villager API - Minecraft","og_description":"An API to add custom villager professions and villager biome types with custom trades without writing code.","og_url":"https:\/\/vpesports.com\/minecraft\/mods\/villagerapi\/","og_site_name":"Minecraft","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/vpesports.com\/minecraft\/mods\/villagerapi\/","url":"https:\/\/vpesports.com\/minecraft\/mods\/villagerapi\/","name":"Villager API - Minecraft","isPartOf":{"@id":"https:\/\/vpesports.com\/minecraft\/#website"},"primaryImageOfPage":{"@id":"https:\/\/vpesports.com\/minecraft\/mods\/villagerapi\/#primaryimage"},"image":{"@id":"https:\/\/vpesports.com\/minecraft\/mods\/villagerapi\/#primaryimage"},"thumbnailUrl":"https:\/\/vpesports.com\/minecraft\/wp-content\/uploads\/2026\/06\/villagerapi-icon-fa7c6eb62b02fe517965b30b3cf7ecea35d59716.png","datePublished":"2026-06-09T18:24:06+00:00","breadcrumb":{"@id":"https:\/\/vpesports.com\/minecraft\/mods\/villagerapi\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/vpesports.com\/minecraft\/mods\/villagerapi\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/vpesports.com\/minecraft\/mods\/villagerapi\/#primaryimage","url":"https:\/\/vpesports.com\/minecraft\/wp-content\/uploads\/2026\/06\/villagerapi-icon-fa7c6eb62b02fe517965b30b3cf7ecea35d59716.png","contentUrl":"https:\/\/vpesports.com\/minecraft\/wp-content\/uploads\/2026\/06\/villagerapi-icon-fa7c6eb62b02fe517965b30b3cf7ecea35d59716.png","width":720,"height":720},{"@type":"BreadcrumbList","@id":"https:\/\/vpesports.com\/minecraft\/mods\/villagerapi\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/vpesports.com\/minecraft\/"},{"@type":"ListItem","position":2,"name":"Mods","item":"https:\/\/vpesports.com\/minecraft\/mods\/"},{"@type":"ListItem","position":3,"name":"Villager API"}]},{"@type":"WebSite","@id":"https:\/\/vpesports.com\/minecraft\/#website","url":"https:\/\/vpesports.com\/minecraft\/","name":"Minecraft","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/vpesports.com\/minecraft\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"}]}},"_links":{"self":[{"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/mod\/166471","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/mod"}],"about":[{"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/types\/mod"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/media\/166472"}],"wp:attachment":[{"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/media?parent=166471"}],"wp:term":[{"taxonomy":"mod_category","embeddable":true,"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/mod_category?post=166471"},{"taxonomy":"mod_loader","embeddable":true,"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/mod_loader?post=166471"},{"taxonomy":"minecraft_version","embeddable":true,"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/minecraft_version?post=166471"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}