Changelog
BuffMobs v3.0.2+mc1.21.1-neoforge
🐛 Bug Fixes
Ranged/Melee Switching & CombatDraft not working with other mods
The root cause was a critical flaw in the mob initialization system that prevented both features from ever activating in a modded environment.
- Fixed: Mobs were never being registered as initialized. The
PENDING_INITqueue used a shared list across all dimensions. SinceLevelTickEventfires separately for each loaded dimension, the tick from any dimension (e.g. The Undergarden, AE2 Spatial Storage) would clear the entire queue before the correct dimension had a chance to process it — so mobs were silently dropped and never set up. - Fixed: The per-dimension tick counter was running up to 6× too fast. With 6 active dimensions each firing
LevelTickEvent, the global counter advanced 6 ticks per real tick. The 20-tick update cycle (AI behavior, CombatDraft checks) was running far more often than intended. - Both features now work correctly alongside mods that add extra dimensions (Deeper and Darker, The Undergarden, AE2, etc.).
/buffmobs reload not fully reinitializing mobs
After a reload, mobs had their buffs reapplied but were not re-registered in the initialization tracker. This caused the tick system to attempt reinitializing them again on the next cycle, which could double-apply buffs. The command now correctly re-registers mobs after reapplying all buffs, AI setup, and CombatDraft state.
The configured version has also been fixed, thanks to dustfired Issue #11
Found a bug or have a suggestion? Open an issue on GitHub.
Files
buffmobs-3.0.2+mc1.21.1-neoforge.jar(100.39 KiB) Primary Download
External resources
Featured versions
See allProject members

Khotyz
Owner
Technical information
License
MIT
Client side
optional
Server side
required
Project ID

