ModeledNPCS (BETA v7.0) BIG UPDATE : PLS DELETE OLD MODELEDNPC FOLDER AND REGENERATE THE NEW ONE You can now use the
latest BETA build with the newest
Spigot,
MythicMobs, and
ModelEngine.
This is a
full recode focused on stability and speed in our tests it’s ~
10× lighter. ModeledNPCS now barely sips CPU.
✨ Highlights
Massive performance pass: less tick time, fewer allocations, smarter caching.
BetonQuest & Quests support updated to the latest.
Fixed MythicMobs scene despawns when ModeledNPCS is present.
Reworked reloads /mnpc reloadname
Reloads npcdata.yml
Safely despawns & respawns each NPC
Re-tags autoLook after respawn
Reapplies names after a short delay (prevents Mythic from overwriting)
Uses one unified hologram refresher (refreshHologramsForNpc) to avoid dupes
/mnpc reload
Merges disk → memory without nuking runtime fields (UUIDs, autoLook, etc.)
Reloads QuestDialog + ModeledNPCS configs
Holograms, safety & QoL
Centralized updates via HologramManager.upsertHologram(...)
Clean mass-removal by generic keys (name/trader/dialog)
Extra null checks & warnings when managers are absent
Keeps chunks alive during respawn
Restarts effects/animations after respawn
️ Click behavior + cooldowns (configurable) Choose left-click, right-click, or both — with a smart
left-click fallback (raytrace/aim cone) for tiny model hitboxes.
Code (YAML):
max_npc_ids: 1000
debug: true
limit:
adventurerNPC: 3
serializeDebug: false
npc:
autoRegisterOrphanedNPCs: false
interaction:
left: true
# run interaction on left-click/attack right: true
# run interaction on right-click/use left_fallback:
enabled: true
range: 5.5
# try 5.5–6.0 for bigger models angle_deg: 30.0
# try 25–35 for wider aim cone cooldowns:
command_ms: 3000
# per-PLAYER: block re-triggering commands interaction_ms: 500
# per-NPC: debounce double fires click_dedup_ms: 250
# de-dupe same-tick L+R for the same player+NPC useJsonStorage: true
️ Dialogs A new
“command fields” dialog mode is ready — rolling out
tomorrow (next build).