buffmobs-4.0.3-mc26.1-fabric.jar
Curse Maven Snippet
What's new
BuffMobs 4.0.3
Fixed
- Worlds could take extremely long to load terrain, or the server could freeze for 40+ seconds (#30).
- Affected versions: Minecraft 26.1 (NeoForge and Fabric). Other versions were not affected.
- What happened: BuffMobs kept a record for every mob it buffed (elite status, traits, armor, and so on) in the world's save data. Those records were only deleted when a mob was killed. Mobs that despawned, were removed by other mods or commands, or were otherwise discarded left their records behind forever. On long-running worlds this grew into tens of thousands of entries, in one report about 68,000 and over 100 MB of data once uncompressed. Loading that data was extremely slow, so the server froze, chunks stopped being sent, and the terrain looked like it wasn't loading.
- What changed:
- Records are now deleted as soon as a mob is permanently removed from the world.
- A background cleanup runs every few minutes while players are online and removes records of mobs that no longer exist. Records not seen for 14 days are dropped, and the total is capped at 20,000.
- Loading this data is now fast, even for existing worlds that already contain tens of thousands of entries.
- A corrupted record is now skipped instead of breaking the whole file.
Upgrading
- Just replace the jar. No manual save editing is needed. Affected worlds clean themselves up automatically, and a line like
Pruned 68000 stale mob stateswill appear in the log once cleanup runs. - A living mob in an unloaded chunk may be re-rolled once for elite status, trait, or armor when its chunk next loads. Mobs that were already elite, had a trait, or had armor keep them.
- Thanks to humidityorder who reported and helped track this down in #30.
This mod has no additional files

