This is a simple datapack to clear all dropped items every 5 minutes. Before clearing the items, player will be given a warning in chat and a countdown in the action bar.
Available commands:
/function cleardrops:clear: Clear dropped items immediatly \
/function cleardrops:loop: Restart the loop in case something messes it up \
/function cleardrops:disable: Temporarily disable the loop
How to Install Clear Drops (Datapack)
Clear Drops by UltraGamer135 is verified for Datapack, Fabric, Forge, Neoforge, Quilt across Minecraft versions 1.20, 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.20.5, 1.20.6, 1.21 (latest release: 3.0+mod, file size: 85 KB). Follow the steps below to install it safely from ModCraft.tv:
- Click the Download button above and select your Minecraft version (1.20, 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.20.5, 1.20.6, 1.21) and platform (Datapack, Fabric, Forge, Neoforge, Quilt).
- Make sure you have the compatible loader or environment installed for Datapack, Fabric, Forge, Neoforge, Quilt.
- Move the downloaded Clear Drops file into your Minecraft
.minecraft/saves/<world>/datapacksfolder and launch the game.