
StreetSweeper
Important Disclaimer: The mod author is not responsible for destroyed farms, irrecoverably lost items, or damaged worlds resulting from the use of this mod. Use with caution.
StreetSweeper sets a configurable limit on the number of entities in the Minecraft world. When the world is loaded or saved, or when triggered via the '/streetsweeper' command, the system checks whether the set limit has been exceeded. If the limit is exceeded, the mod begins removing entities in order of their age—from oldest to newest—until the allowable number is reached.
Configuration settings allow you to adjust the maximum entity count, disable automatic cleanup, and configure filters for the types of objects to be removed. Starting from version 3.0.0, StreetSweeper uses the EntityType tag streetsweeper:sweepables to determine which entities can be removed. By default, only dropped items and experience orbs are cleared. Settings can be adjusted to protect certain categories, such as tamed animals.
Yes, similar results can be achieved using the /kill command, but this mod offers an automated solution that works without constant player intervention. Simply configure it once—and the system will maintain order in your world on its own.
The mod is highly customizable, and if you need additional options, you can always contact the developer.