You can now configure custom display names for each NPC:
Code (YAML):
5:
name: "&eTrader Bob" height: 2.6
Names are now properly shown via holograms above NPCs on spawn and reload.
️ NPC Look-at-Player System
New feature: NPCs with autoLook: true will automatically rotate to face nearby players!
Runs every second and makes interactions feel more immersive.
Bug Fixes Critical NPE Fix on Startup and Chunk Load
Fixed:
csharp java.lang.NullPointerException: Cannot invoke "HandlerManager.get(Class)" because "this.handlerManager" is null ✅ Cause: NPCs were being spawned before QuestDialog was fully initialized. ✅ Fix: NPC spawning is now delayed by 1 second on chunk load to allow full system boot.
Multiple Removal Logs (NPC ID Repeating)
Issue: Repeated [INFO] Removed NPC ID: X spam in console.
Fixed duplicate NPC entity removal and improved entity cleanup during chunk load.
MythicMob & ModelEngine Initialization Order
Fixed order-sensitive issues where models or mobs wouldn't spawn due to missing blueprints/mobs during early startup.
Improvements
Improved logging and debug output for all NPC spawning/hologram operations.
Smarter hologram height fallback: DialogTree::getYHeight used if available, otherwise namedata.yml.
Enhanced orphaned NPC detection and cleanup for smoother reloads and fewer console warnings.