LunaNPC
LunaNPC is a Fabric framework for building and controlling custom NPCs. Everything can be configured from in-game menus, and developers get the same features through a public API.
Alpha: LunaNPC is in early alpha and is a large, complex mod, so bugs and unexpected edge-case behavior are likely. Bug reports are appreciated.
Requirements
- Fabric Loader 0.19.3 or higher
- Fabric API 0.164.0+26.3 or higher
Features
- Combat: Melee and ranged combat, plus a node-based combat editor with rules, triggers, timed attacks, and projectile accuracy curves.
- Factions: NPCs can pick allies and enemies and belong to factions.
- Spawning: Place NPCs in biomes, structures, or custom zones, on the ground, in water, or in the air. Control respawning and persistence.
- Navigation: Ground, swimming, and flight movement, using several A* pathfinders.
- Trading and jobs: Trading, quests, farming, and branching dialog trees with action triggers.
- Custom models: Animations with automatic hitboxes.
- Customization: Health, equipment, per-slot enchantments, drops, sounds, and behavior can all be tuned.
- Menus and code: Everything available in-game is also available through the developer API.
Developer API
Everything LunaNPC does in-game is also available in code. Documentation is at api.lunacore.dev/LunaNPC.
Node-Based System
NPC Drop Items, XP & Equipment
Simple (Default) , Alternative Advanced Combat Page
with this item you can manually spawn your NPCs
with the alliance stick you can add/remove & change alliances.
with the zone stick you can create custom 2D and 3D shapes for the "spawn" tab zone section.
this feature is very useful for servers wanting to use LunaNPC