EntityGuardian logo

EntityGuardian

Mod

by AlpDragon

Prevents chunk-loading crashes by fixing ConcurrentModificationExceptions in entity management.

Type

Mod

CurseForge Downloads

0

CurseForge ID

1313091

Last Updated

Apr 12, 2026

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.

Similar Mods

Included in Modpacks

External Resources