Chunk Cap Guard
Few things ruin a Minecraft server faster than a zombie farm that got out of hand or a cave system quietly breeding hundreds of skeletons while nobody is watching. Entity buildup sneaks up on you. One day your tick rate is fine, the next your server is gasping for air and players are complaining about rubber-banding. Chunk Cap Guard exists to solve exactly that problem, and it does it without you having to micromanage a thing.
Chunk Cap Guard is a lightweight entity cleanup and performance management mod. It periodically monitors the number of tracked entities inside loaded chunks across every biome, and when a chunk crosses a limit you define, it steps in and clears the offending mobs before they drag your performance into the ground. If you run a busy server or a heavily modded world, this is the kind of quiet utility you will forget about until the day it saves your TPS.
What Chunk Cap Guard Actually Does
The core idea is simple: localized entity overcrowding is one of the most common causes of lag spikes in Minecraft, and most of the time it happens in a single chunk rather than spread evenly across the map. Chunk Cap Guard targets that exact scenario. At a fixed interval, it scans loaded chunks, counts the entities you have flagged as targets, and if a chunk exceeds your configured limit, it removes all matching entities from that chunk.
That last detail matters, so it is worth repeating. Chunk Cap Guard does not trim the excess and leave the rest. When a chunk goes over the limit, every configured target entity in that chunk is removed. This is a hard reset on overcrowding, not a gentle nudge, and it is designed that way to guarantee the problem chunk is actually fixed rather than merely reduced.
A Quick Example
Say your configuration tracks minecraft:zombie and minecraft:skeleton, and your per-chunk limit is set to 50. A chunk contains 30 zombies and 25 skeletons, for a total of 55 tracked entities. That chunk is over the limit, so Chunk Cap Guard removes all 30 zombies and all 25 skeletons. The chunk goes back to a clean slate and your server stops paying the price for that mob pileup.
Key Features at a Glance
- Long-interval periodic scanning of target entities in loaded chunks
- Per-chunk counting of specified entities rather than world-wide totals
- Full removal of matching entities from any chunk that exceeds the limit
- Configurable scan interval, entity limit, and target entity list
- Broadcast notifications to all players when a chunk is over the limit
- Fully editable broadcast text through the configuration file
- Manual cleanup command for on-demand enforcement
How to Install Chunk Cap Guard
If you are wondering how to install Chunk Cap Guard, the process is about as painless as mod installation gets. Place the mod file into your mods folder, launch the game once so the configuration generates, then open the config file and set your scan interval, your per-chunk entity limit, and the list of entities you want tracked. Restart the server or reload, and the mod takes over from there.
Chunk Cap Guard supports modern Minecraft releases across the Fabric and NeoForge loaders, with builds maintained for recent 1.20.x and 1.21.x versions. Always confirm that the build you grab matches both your game version and your loader before dropping it in, since mismatched versions are the most common reason a mod fails to load at all.
For players who would rather skip the manual file juggling entirely, the foxygame.net launcher handles Chunk Cap Guard as a one-click install straight from its add-on catalog, so the correct build for your exact game version and loader gets picked automatically without you hunting through folders.
Using the Cleanup Command
Sometimes you do not want to wait for the next scheduled scan. Chunk Cap Guard includes a manual command, tyj cleannow, which triggers an immediate cleanup and resets the cleanup timer. This is handy right after a big raid, a mob farm mishap, or any moment when you can see the entity count climbing and want it dealt with now rather than later.
Who Should Use It
Chunk Cap Guard is aimed at server owners, modpack creators, and anyone running a world where mob density can spiral out of control. If you have ever watched a single chunk tank your entire server's tick rate, this mod is a direct answer to that problem. It is also a sensible addition to any performance-focused modpack, since it complements other optimization mods rather than competing with them.
The configuration is flexible enough to stay out of the way during normal play. Set a generous limit and a long scan interval, and Chunk Cap Guard will only ever act when something has genuinely gone wrong. Tighten both values on a public server, and it becomes an aggressive guard rail that keeps overcrowding from ever becoming a crisis.
Final Thoughts
Entity overcrowding is one of those problems that is invisible until it is catastrophic, and by then you are already dealing with angry players and a struggling server. Chunk Cap Guard gives you a simple, configurable safety net that catches the issue at the chunk level before it spreads. Download Chunk Cap Guard, tune the limits to suit your world, and let it quietly keep your entity counts in check so you can get back to actually playing.