Back to mods
Entity Cleaner project artwork

Modrinth · Minecraft mod

Entity Cleaner

Automatically removes unwanted entities like items, arrows, XP orbs, and projectiles to improve performance.

Choose a version Pick your version below, then grab the matching file.

Quick answer

Which Entity Cleaner release should I use?

Updated last month
Latest stable file 0.5+mod
Game version 1.17, 1.17.1, 1.18
Loader Fabric, Forge, NeoForge

Entity Cleaner 0.5+mod targets 1.17, 1.17.1, 1.18 with Fabric, Forge, NeoForge. Installation on the client is optional. Installation on the dedicated server is optional. No extra mods listed for this file.

Where it goes

Is Entity Cleaner required on the client, server, or both?

Installation on the client is optional. Installation on the dedicated server is optional.

Client Optional
Dedicated server Optional
Loader for this release Fabric, Forge, NeoForge
Required install it here Optional supported, not mandatory Not supported do not install here Source doesn’t say do not assume

The source marks this as usable on both the client and server.

What else does Entity Cleaner 0.5+mod need?

0.5+mod. Change the file and its required mods may change too.

No extra mods listed for this file

This file does not list any required mods. Do not add a library just because a different file uses it.

Singleplayer Library Optional for Entity Cleaner 0.5+mod
optional
Matching file found Matched file: 0.1+mod

We only count dependency files that match this setup. A file for another loader does not fill the gap.

Before you install it

Add Entity Cleaner without breaking your instance.

Built for Entity Cleaner 0.5+mod. Pick another file and the loader, install side or required mods may change.

  1. 01

    Stick to this file

    Use 0.5+mod. It targets 1.17, 1.17.1, 1.18 with Fabric, Forge, NeoForge; another release may have different loader, side or dependency requirements.

  2. 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.

  3. 03

    Put it on the correct side

    Installation on the client is optional. Installation on the dedicated server is optional.

  4. 04

    Pick the file you checked

    Use the “Get this file” button beside 0.5+mod. It opens that exact file at the source.

About this project

What does Entity Cleaner add?

Entity Cleaner - About x18px

This standalone datapack/mod is a powerful upgrade verison to the original Lag Sweeper, designed to work seamlessly across multiple Minecraft versions. It efficiently clears a wide range of entities, including dropped items, eggs, snow, arrows, shulker bullets, wither skulls, and more, reducing lag and keeping your world running smoothly.

Blank Image

Entity Cleaner - dependencies

  • Singleplayer: If you're using the datapack or mod in a singleplayer world, install the Singleplayer Library. It automatically grants you the ec_operator tag, so you don't need to enable cheats. Alternatively, if you have access to commands, you can manually grant yourself operator access with: /tag @s add ec_operator

  • Multiplayer: "Do not install the Singleplayer Library". On multiplayer servers, core Entity Cleaner settings should remain restricted to server administrators. To grant a player permission to modify Entity Cleaner settings, use: /tag <player_name> add ec_operator

Blank Image

Entity Cleaner - Features

  • Multi-version compatibility – Works reliably on different Minecraft versions without errors.
  • Comprehensive entity cleanup – Removes common lag-causing entities automatically (Every 5min).
  • Lightweight and easy to use – Install and run without affecting gameplay performance.
  • Optimized for servers and singleplayer – Keeps both worlds and servers smooth, even with high entity counts.
  • Easy-to-customize item cleaner config: choose which items to delete, set the cleanup time, and more.

Blank Image

Entity Cleaner - Command description

  • /trigger ec_menu: Opens the Entity Cleaner configuration menu.
  • /tag player_name add ec_operator: Gives permission to modify the Entity Cleaner configuration.
  • A demo image of config menu of datapack/plugin (Entity Cleaner)

Blank Image

Entity Cleaner - Video Demo

Blank Image

Entity Cleaner - Question and Answer

What does Entity Cleaner do? Entity Cleaner helps improve server performance by automatically removing unwanted entities such as dropped items, XP orbs, projectiles, and other selected entities after a configurable amount of time.
How to get Operate on entity cleaner? Run ingame command run command /tag player_name ec_operator
Can I customize what entities get removed? Yes! Entity Cleaner comes with a fully customizable configuration where you can choose which entities should be removed or kept. You can enable or disable cleaning for items, mobs, projectiles, minecarts, boats, and more (/trigger ec_menu).
Can I change the cleanup time? Yes. You can configure the cleanup interval and choose how often Entity Cleaner checks and removes unwanted entities (/trigger ec_menu).
Will it remove important entities? No. Entity Cleaner allows you to control exactly what gets removed. By default, only selected entities are cleaned, and you can disable any category you want from the config.
Can I use this on a multiplayer server? Yes. Entity Cleaner is designed for servers and can help reduce unnecessary entity buildup, improving performance for players.
Does Entity Cleaner delete items instantly? No. Items are removed based on your configured cleanup timer, giving players enough time to collect dropped items before they are cleared.
Can I see when cleanup happens? Yes. Notification settings can be configured to show cleanup messages when entities are removed.
Does Entity Cleaner affect mob farms? No. Entity Cleaner only removes selected item-related entities and does not remove mobs, so your mob farms will work normally. It is safe to use on servers without affecting mob spawning or farms.

Blank Image


Blank Image

Bib Project - Spotlight

Tired of losing all your items after death? Death Chest keeps your valuable loot safe and gives you a better way to recover your items. Download Now!

Chest Death - Banner

Blank Image

Cubi Launcher - Sponsor

Looking for a better, cleaner Minecraft launcher?

Check out Cubi Launcher a modern, feature-rich launcher with a polished UI, and it's completely free to use. Download Now↗

Cubi Launcher - Banner

Project description from Modrinth.

Pick your setup

Entity Cleaner by Minecraft version and loader

Choose the version and loader you play, then open the matching release.

355 available setups

Showing the newest 12 of 71 game versions. Older files are in the list below.

Check the dependencies, then try the file in a copied instance before changing a world you care about.

Recent files

Entity Cleaner versions and loaders

6 of 6 releases match

Looking for an older file? The official Modrinth project page is in Resources.