Tags
Creators
Details
Licensed MIT
Published last year
Updated 2 hours ago
All versions
2.4.9
Release
Buff Mobs 2.4.9 - fabriclast year 235
Compatibility
Minecraft: Java Edition
1.21.6โ1.21.8
Platform
Fabric
Supported environments
Server-side
Client and server
Required content
Any compatible version
Any compatible version
Changes
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!
Projects on Modrinth are automatically available through a Maven repository for use with JVM build tools such as Gradle. To learn more about the Modrinth Maven API, click here.
Note: When available, you should use the creator's maven repo instead as it will have transitive dependency information that the Modrinth Maven API does not. You may also end up with duplicate dependencies if you use a mix of Modrinth and non-Modrinth Maven repositories for your dependencies, because the group identifier will be different when served through the Modrinth Maven API.
Maven coordinates:
Version ID:
build.gradle:
repositories {
exclusiveContent {
forRepository {
maven {
name = "Modrinth"
url = "https://api.modrinth.com/maven"
}
}
// forRepositories(fg.repository) // Uncomment when using ForgeGradle
filter {
includeGroup "maven.modrinth"
}
}
}
// Standard Gradle dependency
dependencies {
implementation "maven.modrinth:4GYCwwms:bOqztfqX"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:4GYCwwms:bOqztfqX"
}

