Wiki 9Minecraft Wiki 9Minecraft

How to Change Day and Night Length Using Config Files

By default, both daytime and nighttime in Minecraft last 12,000 ticks (10 real-life minutes each). With the DayTimeControl Mod, you can adjust these durations separately to fit your world's playstyle.

Understanding Minecraft Ticks

Before editing the configuration, you need to calculate how many ticks you want for your day and night cycles. Vanilla Minecraft normally runs at 20 ticks per second.

  • 12,000 ticks = 10 minutes (Default duration)
  • 24,000 ticks = 20 minutes (Double length)
  • 36,000 ticks = 30 minutes (Triple length)
  • 6,000 ticks = 5 minutes (Half length)

Editing the Configuration

To change how fast or slow the sun and moon move across the sky, you must edit the mod's configuration file inside your Minecraft directory or server folder.

1. Navigate to your Minecraft installation folder (or your server's main directory) and open the config folder.

2. Locate and open the configuration file for the DayTimeControl Mod in any plain text editor.

3. Find the dayDurationTicks setting. Change the number from the default 12000 to your desired tick total for daytime.

4. Find the nightDurationTicks setting. Change the number from the default 12000 to your desired tick total for nighttime.

5. Save the file and restart your game or server.

Once loaded, the mod smoothly scales the sky clock to match your new settings without slowing down normal game tick rates or causing server lag.

Join 9Minecraft News & Guides