EntityGuardian
Modby AlpDragon
Prevents chunk-loading crashes by fixing ConcurrentModificationExceptions in entity management.
Description
EntityGuardian is a lightweight stability mod that eliminates frustrating `ConcurrentModificationException` crashes during world ticking, specifically those occurring in Minecraft's entity management system. These crashes often happen when mods like Smoothchunk or server optimizers asynchronously modify entity data while the game is processing chunks.
Key Features:
🛡️ Crash Prevention - Patches `PersistentEntitySectionManager` to safely handle concurrent entity list modifications
⚙️ Zero Configuration - Works out-of-the-box without config files or user input
🔌 Wide Compatibility - Designed for Minecraft 1.21.1 (NeoForge) and compatible with most modpacks
⚡ Performance-Safe - Minimal overhead with efficient snapshot-based synchronization
How It Works
EntityGuardian uses targeted bytecode transformations to:
1. Replace unsafe entity list iterations with thread-safe snapshots
2. Prevent modification conflicts during chunk status updates
3. Maintain vanilla behavior while adding crash protection
Intented to fix FTB Skies 2 CME crashes, but works for anything else.
Recommended Gear
AffiliateHardware and extras that pair well with this mod.
As an Amazon Associate I earn from qualifying purchases.
Similar Mods
Gravitational Modulating Additional Unit
Provide additional features
Abnormals Delight
Fills content gaps and ties together Abnormals mods and Farmer's Delight!
Headcrumbs
Celebrities heads as dungeon loot + heads for all the mobs you can think of!
BetterGrassify
Gamers can finally touch grass!? OptiFine's Fancy and Fast better grass implemented on Fabric and NeoForge!
Upgraded Netherite
Adds upgraded versions of Netherite with helpful effects.
Rechiseled: Chipped
Let's you quickly craft Chipped block variants using the Rechiseled chisel. Also adds a few QoL features to Rechiseled.