YBLK NPC
Build your world's characters, companions and encounters in-game.
Minecraft 1.20.1 · Forge & Fabric · Client & Server · Github
✨ Overview
You can create NPCs and edit their appearance, behavior and gameplay roles without leaving Minecraft. Build characters for an adventure map, a roleplay server or your own world. Connect their dialogs, quests, factions and combat settings through one in-game editor.

🧩 Features
Your characters. Choose Steve, Alex, a registered entity model or an imported Blockbench model package. Set skins, textures, scale, poses and animation mappings. With GeckoLib installed, the editor can capture supported source controllers and attack timing automatically. Special abilities still depend on the source mob or a compatible adapter.

Dialogs and quests. Build branching conversations with conditions and actions. Track kill, item, talk, location and manual objectives. Give fixed rewards or let your player pick a configured number of items. Personal NPC memory can check whether you helped, gifted, hit or completed a quest for that character. Relation scores fade over time and can change greetings.

Factions. Set relations and reputation. Assign vanilla or modded entity IDs and entity-type tags to factions through a searchable list. Explicit entity assignments start empty. Configure reputation changes for assigned entity kills, allied defense and protection from allied mobs choosing NPC targets.

Daily routines. Give each NPC time ranges for travel, wandering, work, sleep, staying or patrol. Place route points with the debug wand. Set waits, speed and loop, ping-pong or random order. Combat interrupts routines; an available routine resumes afterward. New NPCs have respawn enabled, and existing NPCs keep their stored setting.
Companions and reactions. Hire followers for items, currency or a free contract. Choose a duration or permanent hire. Open orders with V, select a companion and issue follow, stay, guard, attack or return-home commands. Choose a squad leader and formation spacing. Configure catch-up teleporting, low-health retreat, calls for help, rain cover, home torches and weapon warnings.
Combat and bosses. Use editable Tank, Healer, Mage, Ranged and Melee presets. Tanks can block with shields and draw enemy attention. Healers throw allied healing potions. Mages use magic projectiles and status effects. Add a boss bar and health phases that change stats, attack timing, animation mappings or combat roles. A phase can summon allied minions, say a line and play a registered sound or music track.
Optional spellcasting. With Iron's Spells 'n Spellbooks installed, you get a Magic tab. Choose inventory scrolls, a spellbook or a manual spell list with levels. Set mana, regeneration, cooldowns and spell power. Your NPC uses Iron's casting lifecycle, effects and registered player animations. The AI checks range and resources, recognizes common healing, defense and movement spells, and supports manual purpose overrides. Spell behavior and target support come from the selected spell. Allied damage protection and conservative attack placement help reduce friendly fire.

Trading and world tools. Configure inventories, equipment, drops, trading, jobs, scripts, spawners, mail and currency. Search NPC settings in English or Russian. Use Ctrl+F in global setting forms. Copy with the NPC Wand and export NPCs or templates with their content libraries and referenced local assets. Transfer factions with entity assignments, too.
🎮 How to use
Install the JAR in mods on your client and server. You can use the mod without any optional integrations.
As an operator or another permitted editor, use the NPC Wand on a block to create an NPC. Right-click your NPC to open the editor. Open its dialog, quest, faction and other managers from the corresponding tabs. The NPC Debug Wand gives you management tools and route editing.
Left-click an NPC with the NPC Wand to copy its setup. Sneak-right-click a block with that wand to paste a fresh NPC. Its route and schedule points move relative to the new position.
Use the Files button in NPC management, or /yblknpc files, for exports and imports. Files are stored on the server in config/yblk_npc/export. For example, export with /yblknpc export npc <entity> guard, then import with /yblknpc import guard.json. You can choose .snbt when naming an export. Imports preserve definition IDs and replace matching bundled definitions and local assets, so use a backup when merging authored worlds.
More mods by yab1oko
Feedback
Bugs, balance notes, and ideas: join the Discord — yab1oko mods.
