Wiki 9Minecraft Wiki 9Minecraft

How the Item Cleanup Countdown Cycle Works

Understanding how the data pack schedules item deletion helps you avoid losing valuable dropped gear and lets you plan your custom timer edits accurately.

The Four Stages of a Cleanup Cycle

Instead of using a single continuous timer, the data pack splits the item deletion schedule into separate function files inside data/darktimer/functions. Each file announces the remaining time to all players via a tellraw chat message before passing the countdown to the next stage:

1. Initial Warning (darktimerwarn10.mcfunction): Starts the cycle by displaying the first chat alert (ten minutes by default) and schedules the next warning after a set number of seconds (540s by default).

2. **One-Minute Warning (`darktimerwarn1.

3. Ten-Second Warning (darktimerwarn10s.mcfunction): Alerts everyone in chat that ground clutter is about to vanish in ten seconds.

4. Item Deletion (darktimer.mcfunction): Clears dropped items from the world and starts the cycle over.

Why Base Delay Matters

Because the one-minute and ten-second warnings occupy the final 60 seconds of the countdown, the data pack always has a built-in base delay of one minute. When you edit the seconds value on the last line of `darktimerwarn10. Always add one minute to whatever number of seconds you place in that file to know your true total clear time.

Join 9Minecraft News & Guides