⚙️ FMythicMobsAddon v1.2
1.3 - Refactor & Optimization Update
This update focuses on internal improvements, performance optimizations and long-term stability.
Main Changes:
•
Reflection completely removed
MythicMobs integration now uses the official public API only.
SpawnerCooldownManager now works directly with SpawnerManager and MythicSpawner.
•
MythicDamageListener simplified
Damage tracking remains fully functional through BukkitDamageListener.
•
Code cleanup
Removed debug logs and redundant logic across listeners and managers.
Performance & Memory Improvements:
• Replaced
with
Code (Text):
distanceSquared()
where possible (reduced calculations).
• Implemented
Code (Text):
ConcurrentHashMap
in HologramManager and BossBarManager for safe concurrent access.
• DamageTracker now clears properly on
and mob despawn events to prevent memory retention.
• Added additional null checks and validation to prevent potential NPEs.
Maintainability Improvements:
• Cleaner structure and more consistent patterns across managers.
• Fully compatible with MythicMobs 5.3.x using only the public API.
• Improved long-term maintainability and stability.
Thank you for your support ❤️