Wiki 9Minecraft Wiki 9Minecraft
Darktimer Wiki › Guides › Adjusting the Item Clear Timer Using Datapacks

Adjusting the Item Clear Timer Using Datapacks

By default, DarkTimer Mod removes loose items from the ground every ten minutes. If your server requires faster clearing during intense modded operations, or if players need more time between cleanups, you can adjust the timer duration using a Minecraft datapack.

Preparing a Custom Datapack

1. Navigate to your world save directory and open the datapacks folder (located in .minecraft/saves/<your_world>/datapacks for singleplayer or within your server's world directory).

2. Create a new folder or zip file for your custom datapack containing a valid pack.mcmeta file.

3. Set up the datapack data structure to target DarkTimer Mod's timer configuration values.

Applying Duration Changes

1. Edit the timer duration inside your datapack to define your preferred interval between ground item sweeps instead of the default ten-minute cycle.

2. Save your changes and launch your server or world.

3. If the world is already running, type /reload in the console or in-game chat to refresh loaded datapacks.

4. Observe the chat broadcasts over your new time window to confirm that the countdown reflects your updated duration.