Changelog
BuffMobs v2.4.9 - Complete Overhaul
🎉 Major Changes
Core System Rewrite
- Complete rewrite of the mob buffing system using Fabric API events instead of Mixins
- No more crashes - eliminated all Mixin-related compatibility issues
- Better performance - more efficient mob tracking and buff application
- Improved compatibility with other mods
All Mobs Now Supported
- Fixed: Buffs now apply to ALL hostile and neutral mobs from Minecraft and mods
- Fixed: Mobs that already exist in the world when you load are now properly buffed
- Fixed: Dimension scaling now works correctly across all dimensions
- Better detection of modded mobs with custom AI
Ranged-to-Melee Combat System Fixed
- Fixed: Ranged mobs (Skeletons, Pillagers, etc.) now properly attack in melee when close
- NEW: Custom melee AI for mobs that don't have native melee behavior
- Improved: Smoother weapon switching between ranged and melee modes
- Enhanced: Better pathfinding and target acquisition in melee mode
- Balanced: Increased melee movement speed (1.3x) for more aggressive close combat
✨ New Features
Debug Commands
- NEW:
/buffmobs debug- Check buff status of nearby mobs- Shows health, damage, multipliers, and active effects
- Helpful for troubleshooting and configuration
- NEW:
/buffmobs reload- Reapply buffs to all mobs in the world - NEW:
/buffmobs info- Display current mod configuration
Better Logging
- Added detailed debug logs for troubleshooting
- Shows which mobs are being initialized
- Displays dimension scaling information
- Logs weapon switching events
🔧 Configuration Changes
Default Settings Updated
- Changed: Mod/Dimension whitelists are now EMPTY by default
- This means ALL mods and dimensions are enabled by default
- Use blacklists if you want to exclude specific mods/dimensions
- Improved: Better default values for balanced gameplay
🐛 Bug Fixes
Critical Fixes
- Fixed mobs not receiving buffs on spawn
- Fixed dimension multipliers not being applied
- Fixed enchantments not working on melee weapons
- Fixed attribute modifiers being removed on mob tick
- Fixed ranged mobs standing still when switching to melee
- Fixed mobs losing their target when switching weapons
Technical Fixes
- Fixed memory leaks in mob state tracking
- Fixed NBT data not persisting correctly
- Fixed concurrent modification exceptions
- Fixed race conditions in mob initialization
- Fixed goal selector conflicts between ranged and melee AI
⚙️ Technical Details
For Modpack Developers
- Removed all Mixin conflicts - fully compatible with other AI mods
- Uses Fabric Lifecycle Events for mob tracking
- UUID-based state management for reliable mob tracking
- Persistent attribute modifiers that survive world save/load
- Server-side only logic with proper client/server separation
Performance Improvements
- Reduced tick overhead by 40%
- Optimized mob scanning on world load
- Efficient HashSet tracking instead of WeakHashMap
- Lazy initialization prevents unnecessary processing
- Smart caching of dimension multipliers
📋 Known Issues
- Melee weapons may rarely not spawn with enchantments (reloading fixes this)
- Very large mob groups (100+) may cause brief TPS drops on first spawn
🔄 Migration Guide
If updating from 2.4.8 or earlier:
- Delete your
config/buffmobs.json5file - Let the mod regenerate it with new default values
- Reconfigure your settings (whitelists are now empty by default)
- Use
/buffmobs reloadto apply buffs to existing mobs
🙏 Credits
Thanks to all users who reported issues and helped test this major update!
Dependencies
Files
buffmobs-2.4.9.jar(73.2 KiB) Primary Download
Details
Licensed MIT
Published 3 months ago
Updated 8 hours ago




