
The Mob
Mob Framework | YAML | Boss Phases | Radar HUD | AutoSpawn | Player Stats | 1.21.+
Список изменений
🔧 TheMob v1.8.2 – AI Navigation, Stability & System Hardening
This update is a system-level refinement release. No new mobs. No power creep. Instead, v1.8.2 focuses on AI intelligence, pathfinding reliability, and long-term server stability.
🧠 New: Smart AI Pathfinding (Experimental)
A brand-new SmartRepath AI system has been introduced to solve one of Minecraft’s biggest problems: mobs getting stuck.
✨ What’s new
Automatic stuck detection
Monitors real movement progress over time
Detects blocked or looping navigation
Multi-stage recovery logic
Soft obstacle clearing (leaves, logs, vines, wooden blocks)
Safe teleport fallback near target
Soft repath using internal pathfinder hooks
Visual feedback
Subtle particle effects during AI recovery actions
🔒 Safety & Rules
Fully respects mobGriefing
No hard block breaking (iron, stone, protected blocks)
No world damage when disabled
Designed to behave like “smart vanilla AI”, not cheats
🧪 Status: Experimental Enabled internally for controlled mobs. Will expand in v1.9.
🤖 New: Modular Mob AI Controller
Introduced a new internal AI layer:
MobAIService
MobAIController
MobAIProfile
Capabilities
State-driven behavior:
IDLE
ENGAGE
FLEE
REGROUP
Intelligent target switching
Graceful disengage logic
Health-based flee mechanics
Tick-rate controlled per mob (performance friendly)
This lays the groundwork for future advanced behaviors (formations, roles, tactics).
🧱 Boss & Arena System Fixes ✅ Arena Radius (Chunk-Based)
New config option:
arena: radius-chunks: 3
Unified arena definition for:
Boss titles
World effects
Visual cleanup
AI & behavior logic
✅ Phase Visuals & World Effects
Phase titles are now shown only to players inside the arena
World effects are strictly arena-local
Removed global world ticks and broadcasts
🧟 AutoSpawnManager – Critical Stability Fixes Fixed
❌ Plugin chunk ticket leaks
❌ Chunks staying loaded after reloads / crashes
Improved
Guaranteed chunk ticket release on:
arena leave
unregister
killAll
plugin disable
Safer random-world spawn probing with try/finally
Result: Long-uptime safe, no hidden memory or chunk leaks.
⚙️ Performance Improvements
Removed unnecessary world-wide entity scans
Boss logic now scales with active bosses, not world size
Faster admin killAll execution
Reduced scheduler overhead in AI & behavior ticks
🧹 Lifecycle & Reload Safety
Unified shutdown logic
All systems now cleanly stop on:
/reload
plugin disable
crash recovery
Extra cleanup for:
HUD elements
visuals
AI controllers
boss locks
🧠 Internal Cleanup & Refactors
Restored and stabilized internal APIs after refactors
Clear separation of:
Boss phases
Behavior logic
AI navigation
Reduced cross-system coupling
⚠️ Notes
No gameplay balance changes
No config breakage
Existing mobs & bosses continue to work unchanged
AI Pathfinding is opt-in internally and will expand gradually
✅ Compatibility
Paper / Spigot 1.20+
Fully compatible with existing TheMob configs
Safe to update from v1.8.1
🧠 Final Note
v1.8.2 is not about flash. It’s about trust: smarter mobs, predictable behavior, and servers that stay healthy for weeks.
