ModeledNPCs: Ultimate NPC Plugin for MythicMobs & ModelEngine! Quests, Dialogues & Traders & more! icon

ModeledNPCs: Ultimate NPC Plugin for MythicMobs & ModelEngine! Quests, Dialogues & Traders & more! -----

"Unleash the Power of MythicMobs and ModelEngine—Bring Your NPCs to Life!"



Additions and Fixes
✨ New Features
NPC Effects System (effects.yml)
  • Added support for effects.yml to define visual and sound effects for NPCs.

  • Effects can be looped particles, interaction sounds, or spawn visuals.

  • Example configuration:
Code (Text):
npc-5:
  spawn:
   particles: [VILLAGER_HAPPY]
   sound: ENTITY_VILLAGER_AMBIENT
  interact:
   particles: [CRIT]
   sound: ENTITY_PLAYER_LEVELUP

Custom NPC Names via namedata.yml

  • 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.
----------, Apr 10, 2025
Resource Information
Author:
----------
Total Downloads: 48
First Release: Dec 13, 2024
Last Update: May 21, 2025
Category: ---------------
All-Time Rating:
12 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings