
NPCs engine
Interactive NPC system with dialogues for Minecraft 1.21.9+
Screenshots

About this Mod
NPC Engine
Interactive NPC system with dialogues for Minecraft 1.21.9+
NPC Engine is a data pack for creating NPCs with a dialogue system, response options, and a cinematic camera.
🎯 Features
NPCs
- Mannequins — NPCs based on
minecraft:mannequinwith custom skins - Other Entities — Villagers, zombies, skeletons, etc.
- Interactivity — Clicking on an NPC starts a dialogue
- Visual Editor — Control via the action bar
Dialogues
- Typewriter Effect — Smooth character-by-character typing
- Choice System — Branching dialogues with multiple answer options
- Navigation — Shift to skip to the next line
- Text Display — Text is displayed above the NPC
Camera
- Cinematic Mode — Automatically zooms in on the NPC
- Positioning — The camera is positioned to the side of the NPC
- Smooth Transitions — Blindness effect at the start/end Dialogue
- Restore — automatically returns the player to their starting position
🚀 Installation
- Place the
npcs-enginefolder in your world'sdatapacks - Run
/reload
📋 Usage
Open the Editor
/function _npsc:open
Editor Controls
- Mouse Wheel — Navigate the menu
- RMB (carrot on a fishing rod) — Select an item
Editor Menu
| Item | Description |
|---|---|
| 📝 Create NPC | Create a new NPC |
| 📋 List | View all NPCs |
| 💬 Dialogues | Dialogue Editor |
| 🎬 Dialogue Test | Run a Dialogue Test |
| ❌ Exit | Close Editor |
Interacting with NPCs
- Click on the NPC to start a dialogue
- Shift — next line
- The dialogue ends automatically after the last line
🔧 API for Developers
Creating an NPC
# Create a mannequin NPC
function npcs:npc/create_player
# Create an NPC entity
function npcs:npc/create_entity
Dialogue Management
# Add a dialogue line
function npcs:dialog/editor/add_line {npc_id:1,text:"Hello, traveler!"}
# Add a choice
function npcs:dialog/editor/add_choice {npc_id:1,text:"Where shall we go?",choices:["North","South"]}
# Start a dialogue programmatically
function npcs:dialog/start_play
Data Storage
- Storage
npcs:data— NPC and dialogue data - Storage
npcs:current_dialog— currently active dialogue
📋 Requirements
- Minecraft: 1.21.9+
- Permissions: Operator for editor commands
🎮 Example: Quest NPC
# 1. Create an NPC
function npcs:npc/create_player
# 2. Add dialogues (npc_id = 1)
function npcs:dialog/editor/add_line {npc_id:1,text:"Greetings, hero!"}
function npcs:dialog/editor/add_line {npc_id:1,text:"I have something for you" task."}
function npcs:dialog/editor/add_choice {npc_id:1,text:"Will you accept it?",choices:["Of course!","Not now"]}
Create living worlds with the NPC Engine! 💬✨
Available Versions
How to Install NPCs engine on Your Server
Order Server
Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).
Set datapack Loader
In the panel under "Egg", select the datapack loader and matching Minecraft version (26.1.2).
Install Mod
Open the mod browser in the dashboard and search for "NPCs engine". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.
Compatibility
Mod Loaders
Minecraft Versions
26.1.2, 26.1.1, 26.1 (+3 more)
Server-side
✓ RequiredRecommended RAM
4 GB(min. 3 GB)Frequently Asked Questions
NPCs engine server crashes on startup – what to do?
Most common cause: wrong datapack version or insufficient RAM. Check the server log (latest.log) for "OutOfMemoryError" or "Mixin" errors. With Mado Hosting: ensure at least 3 GB RAM is allocated and the loader matches the mod version (26.1.2). You can switch loaders with one click in the panel.
Is NPCs engine compatible with datapack and fabric and forge and neoforge and quilt?
NPCs engine officially supports datapack, fabric, forge, neoforge, quilt for Minecraft 26.1.2, 26.1.1, 26.1. Note: Forge and Fabric mods are NOT cross-compatible – pick one loader and stick with it. The Mado dashboard automatically detects incompatible loader combinations.
Server lagging with NPCs engine – how to optimize performance?
Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if NPCs engine consumes the most tick time. Common fixes: reduce server view-distance to 8-10, install "performant" or "starlight" as supplementary mods on Forge. With Mado Hosting, your server runs on NVMe SSDs with dedicated CPU cores for minimal latency.
Similar Mods
Rent Modded Server
Install NPCs engine with just one click on your server.