Compatibility
Minecraft: Java Edition
26.2
Platforms
Tags
Creators
Details
Licensed ARR
Published 3 months ago
Updated 3 hours ago
Automatic Item & Hostile Mob Cleanup
This datapack helps reduce server lag by automatically clearing dropped items every 5 minutes and hostile mobs every 20 minutes.
✨ Features
- 🗑️ Automatic Item Cleanup: Removes dropped items every 5 minutes.
- ⚠️ Warning Messages: Alerts players 30 seconds, 10 seconds, and 5 seconds before each cleanup.
- 👾 Hostile Mob Cleanup: Removes common hostile mobs every 20 minutes to help reduce entity buildup.
- 🚤 Boat Protection for pets: Tries to protect mobs near boats from being cleared, though this is not guaranteed.
- ⚡ Server-Side: Works on the server, so don't need to install anything on their own clients.
📥 Installation
- Upload the datapack ZIP to your world's
datapacksfolder. - Run
/reloador restart the server. - Run
/datapack listto check whether it's enabled.
🛠️ Admin Commands
/function cleanup:clear_items— Clear dropped items immediately./function cleanup:clear_hostiles— Clear listed hostile mobs immediately.

