CurseForge · Minecraft mod
Smart Chunk Janitor
Server-side anti-lag utility featuring death-drop-safe item sweeps, wall-safe item & XP clumping, per-chunk entity limiting, and Entity + TileEntity lag diagnostics.
Quick answer
Which Smart Chunk Janitor release should I use?
Smart Chunk Janitor v1.0.1 - Universal Forge 1.20.1 Hotfix targets 1.20.1 with Forge. The project page does not say whether this file belongs on the client, dedicated server, or both. No extra mods listed for this file.
Where it goes
Is Smart Chunk Janitor required on the client, server, or both?
The project page does not say whether this file belongs on the client, dedicated server, or both.
The source does not explicitly classify this release as client-only or server-only.
What else does Smart Chunk Janitor v1.0.1 - Universal Forge 1.20.1 Hotfix need?
Smart Chunk Janitor v1.0.1 - Universal Forge 1.20.1 Hotfix. Change the file and its required mods may change too.
This file does not list any required mods. Do not add a library just because a different file uses it.
This file does not list any required or optional mods.
Before you install it
Add Smart Chunk Janitor without breaking your instance.
Built for Smart Chunk Janitor v1.0.1 - Universal Forge 1.20.1 Hotfix. Pick another file and the loader, install side or required mods may change.
- 01
Stick to this file
Use Smart Chunk Janitor v1.0.1 - Universal Forge 1.20.1 Hotfix. It targets 1.20.1 with Forge; another release may have different loader, side or dependency requirements.
- 02
Bring the mods it needs
This file does not list any required mods. Do not add a library just because a different file uses it.
- 03
Put it on the correct side
The project page does not say whether this file belongs on the client, dedicated server, or both.
- 04
Pick the file you checked
Use the “Get this file” button beside Smart Chunk Janitor v1.0.1 - Universal Forge 1.20.1 Hotfix. It opens that exact file at the source.
About this project
What does Smart Chunk Janitor add?
🧹 Smart Chunk Janitor: Anti-Lag & Entity Limiter
Keep your Minecraft 1.20.1 server running at a locked 20 TPS — without deleting your players' death drops, breaking item sorters, or culling farm breeders!
🎯 Why Smart Chunk Janitor?
Traditional entity-clear mods frustrate players by blindly wiping out freshly dropped Death Piles, pulling items through walls out of redstone sorters, or culling adult breeding animals and minecart contraptions.
Smart Chunk Janitor is an engineered, zero-dependency Server-Side anti-lag utility built for Minecraft Forge 1.20.1 (Forge 47.1.0+). It combines death-drop-safe timed ground sweeps, line-of-sight item & XP clumping, chunk-indexed entity limiting, and a dual Entity + BlockEntity (TileEntity) lag radar into one lightweight package.
- 100% Server-Side Compatible (
IGNORE_SERVER_VERSION): Install it on your dedicated server and vanilla or modded clients can join immediately without installing the mod locally. - Server-Side Chat Localization (works without client installation): Choose
"en_us"or"ar_sa"directly insmartchunkjanitor-common.toml(serverLanguage) and customize broadcast messages server-side—no client language files required.
✨ Key Features
🕒 1. Timed Ground Item Sweep (Death-Drop & Loot Safe!)
- Automatically clears dropped
ItemEntitieson a configurable timer (Default: every 10 minutes / 600s). - Broadcasts customizable chat countdown warnings at 30 seconds and 10 seconds before each sweep using crash-safe
{seconds}placeholders. - Fresh Death-Drop Protection (
minItemAgeSeconds = 45seconds): Any item dropped within the last 45 seconds (900 ticks) is automatically spared, ensuring players never lose fresh death drops or items they just tossed to a teammate. - Modpack-Friendly Smart Loot Protection:
- Custom-named items (
Name Tagsor anvil-renamed gear) are always spared. - Diamond & Netherite weapons, tools, armor, and materials are spared by default.
- Any item inside the
#smartchunkjanitor:protected_itemsdatapack tag (Totem of Undying,Elytra,Nether Star,Beacon,Dragon Egg,Enchanted Golden Apple, droppedShulker Boxes, etc.) or theprotectedItemsconfig list is spared. protectRareItems = falseby default so modded items with non-common rarity don't bypass sweeping in heavy modpacks (can be enabled in config if desired).
- Custom-named items (
🧲 2. Wall-Safe Smart Item & XP Orb Clumping
- Periodically merges nearby identical
ItemEntitiesandExperienceOrbswithin a 1.5-block radius (clumpRadius = 1.5), with separate toggles for items (enableItemClumping) and XP orbs (enableXpClumping). - Line-of-Sight Raycast Check (
requireLineOfSight = true): Uses block collider raycasting so items and XP orbs never phase through walls, glass panes, or adjacent hopper sorting chambers.
🛡️ 3. High-Performance Per-Chunk Entity Limiter
- Uses deduplicated per-chunk
AABBspatial queries (level.getEntities) around active simulation chunks and batches spawn checks every 20 ticks—never callinglevel.getAllEntities(). - If monsters or farm animals in a single chunk exceed the configurable cap (Default: 35 per chunk), automatically trims excess entities.
- Breeder-Safe Culling Order (
cullNewestFirst = true): Removes the newest excess entities first by default so adult breeding pairs in player farms aren't replaced by babies. - Strict Contraption & Pet Exemptions: Never removes Named Entities, Persistent Mobs (
PersistenceRequired), Leashed Mobs (Mob#isLeashed), Riding/Vehicle Entities (isPassenger/isVehicle), Tamed Pets & Mounts, Villagers & Traders, Golems & Allays, Bosses (#forge:bosses, Ender Dragon, Wither, Warden, Elder Guardian), or#smartchunkjanitor:exempt_entities.
📊 4. Dual Lag Radar: Entities + BlockEntities (/janitor stats)
- Instantly diagnose both mob grinders and laggy machine/hopper bases with two dedicated top-5 leaderboards in
/janitor stats:- Top 5 Chunks by Entities (with dimension, chunk/block coordinates, Total Entities, Monsters, Animals, and Dropped Items breakdown)
- Top 5 Chunks by BlockEntities (TileEntities) (pinpointing hopper-, furnace-, chest-, and modded-machine-heavy chunks)
💻 Admin Commands (/janitor)
| Command | Description | Permission |
|---|---|---|
/janitor stats |
Displays server-wide item/XP totals, timer status, Top 5 Chunks by Entities, and Top 5 Chunks by BlockEntities (TileEntities). | OP (Level 2) |
/janitor clear |
Immediately executes a ground item sweep across all dimensions (respecting minItemAgeSeconds = 45s and protected items) and resets the timer. |
OP (Level 2) |
/janitor clear all |
Immediately clears all unprotected ground items regardless of how recently they were dropped. | OP (Level 2) |
/janitor toggle |
Pauses or resumes the automatic timed ground item sweep countdown. | OP (Level 2) |
📦 Modpack Permission
✅ FREE TO USE IN ANY MODPACK! You have full permission to include Smart Chunk Janitor in any public or private CurseForge, Modrinth, or third-party modpack or server pack.
Project description from CurseForge.
Pick your setup
Smart Chunk Janitor by Minecraft version and loader
Choose the version and loader you play, then open the matching release.
Check the dependencies, then try the file in a copied instance before changing a world you care about.
Recent files
Smart Chunk Janitor versions and loaders
Smart Chunk Janitor v1.0.1 - Universal Forge 1.20.1 Hotfix
smartchunkjanitor-1.0.1.jar
8 Nov 2026
smartchunkjanitor-1.0.0
smartchunkjanitor-1.0.0.jar
25 Oct 2026
Looking for an older file? The official CurseForge project page is in Resources.