Compatibility
Minecraft: Java Edition
Platforms
Supported environments
Creators
Details
Changelog
Changelog
[2.5.9] - Bug Fix Release
This release focuses on fixing the preset system and config persistence issues reported in Issue #10.
🐛 Bug Fixes
Preset toggle no longer breaks mob stats
Previously, disabling the mob preset system (or setting all multipliers to 1.0) could cause mobs to spawn with double or triple their intended health. This happened because old stat modifiers were being saved to the mob's data and never properly cleaned up when presets were turned off.
Config changes now save and load correctly
Filters (mob, mod ID, and dimension) and preset mappings were using a data structure that the config library couldn't write back to. This meant any changes made to these lists including resetting to defaults would silently revert the next time the game launched. All affected fields have been fixed to use a compatible structure.
Mobs from previous sessions are now corrected on startup
When a server restarts, all loaded mobs are now re-evaluated against the current config. This ensures that mobs carrying leftover stat boosts from an older config (e.g., before disabling presets) get cleaned up automatically rather than keeping inflated stats forever.
Disabling the mod now properly removes all stat boosts
When the mod is disabled in config, mobs that had already been buffed will now have those bonuses removed. Previously, disabling the mod only prevented new buffs from being applied existing ones stayed.
⚙️ Technical Details
- Fixed immutable list fields in
BuffMobsConfig(mobFilter,modidFilter,dimensionFilter,mobPresets.mobMapping) that prevented the Jankson config serializer from saving user changes - Added
removeAllModifiers()to properly strip all mod-applied attribute modifiers from a mob - Attribute modifier methods now always remove any existing modifier before deciding whether to apply a new one, preventing stacked modifiers from persisting across restarts
MobTickHandlernow performs a forced re-evaluation of all existing mobs on server start (forceReapply = true), ensuring stale NBT data from previous sessions is overwritten- Simplified multiplier calculation logic that was incorrectly short-circuiting to
1.0for presets with base multiplier ≤ 1.0, leaving old modifiers untouched
Dependencies
Files
Metadata
Release channel
ReleaseVersion number
2.5.9Loaders
Game versions
1.21.11Environment
Downloads
380Publication date
February 17, 2026 at 10:58 PMPublisher

Khotyz
Member



