Modscraper Modscraper Minecraft
Time Control logo

Time Control

Mod

by Unixkitty

Want longer or shorter in-game days/nights? So did I.

Type

Mod

CurseForge Downloads

4,003,036

CurseForge ID

303570

Modrinth Downloads

252,436

Modrinth ID

Mksh0eV4

Last Updated

Nov 6, 2026

Description

Since 1.20.1 there is also a version for Fabric!

Control Minecraft’s day-night cycle using a simple config file, choosing either:

  • Set length for day and night in minutes (can be configured independently)
  • Or sync in-game time with system clock

No base classes are modified, no ASM/mixin transformations (on the Forge version) and no touching tick lengths.

For years when playing the game I couldn't stand vanilla day length.

No other mod that tried to implement a similar feature satisfied me, either due to breaking other mods or having unnecessary features.

This is my simplistic, non-invasive implementation that relies on the vanilla "doDaylightCycle" gamerule being off. The mod will set it to false on it's own during world startup.

/time command works, sleeping works (sleep should be mostly handled by vanilla)

There is also compatibility with Comforts and Vampirism's day sleeping

Configuration

File:

Starting with 1.20.1 on Forge configuration is saved per-world (serverside config):

.minecraft/saves/{world}/serverconfig/timecontrol-server.toml

On Fabric 1.20.1+:

.minecraft/config/timecontrol.json

If you're using Forge, on Minecraft versions up to and including 1.19.4 you can find it at:

.minecraft/config/timecontrol-common.toml

[system_time]
	#Synchronize game world time with system time
	sync_to_system_time = true
	#Sync time every n ticks
	#Range: 1 ~ 864000
	sync_to_system_time_rate = 20

[arbitrary_time]
	#How long daytime lasts (0 - 12000)
	#Range: 1 ~ 178956
	day_length_minutes = 30
	#How long nighttime lasts (12000 - 24000)
	#Range: 1 ~ 178956
	night_length_minutes = 25

[miscellaneous]
	debug = true

The Fabric version json does not have comments, so you can refer to the above example.

Commands:

There is also an in-game command:

In 1.20+

/timecontrol day_length_minutes [<value>]
/timecontrol night_length_minutes [<value>]
/timecontrol sync_to_system_time_rate [<value>]
/timecontrol sync_to_system_time [<value>]

Up to 1.19.4:

/timecontrol get < sync_to_system_time | night_length_minutes | day_length_minutes >
/timecontrol set < night_length_minutes | day_length_minutes > <value>

At this time it works with both multiplayer and singleplayer (must be installed on both), but on Dedicated Servers due to possible ping and ticks per second discrepancies slight skybox jitter may be noticeable.

FAQ

Q: Forge?

A: Forge, and since 1.20.1 - Fabric.

Q: Can I include your mod in a video?

A: As long as you include a link to the mod/modpack (if it happens to be in one), absolutely

Q: Can I add your mod to a modpack?

A: CurseForge/Modrinth modpacks are cool.

P.S.

If you don't feel confident enough about my mod and may have also become distrustful of all the previously existing mods attempting to give control to daylight cycle length:

I've been using it myself since 1.12.2, always in heavily modded packs (200+ mods), (usually) on a multiplayer server. This should be a vanilla feature in my opinion.

The mod also doesn't have any permanent effects on the game or save, so if you install/remove it without worry.

Compatibility

Mod Loaders

Fabric Forge Neoforge

Game Versions

1.12.2 1.15.2 1.16.5 1.17.1 1.18.1 1.18.2 1.19.2 1.19.4 1.20 1.20.1 +1 more

Recommended Gear

Affiliate

Hardware and extras that pair well with this mod.

As an Amazon Associate I earn from qualifying purchases.

Similar Mods

Included in Modpacks (72)

Show fewer
Fear Nightfall: Remains of Chaos Fear Nightfall: Remains of Chaos Biohazard: Project Genesis - The Ultimate Apocalypse Biohazard: Project Genesis - The Ultimate Apocalypse FXNT Create FXNT Create MCSX - Minecraft: PS1 Edition MCSX - Minecraft: PS1 Edition Desolate Planet - A Crash Landing Remake Desolate Planet - A Crash Landing Remake FXNT Create 2 FXNT Create 2 Evolution: Reset Evolution: Reset City Life: Lumina City City Life: Lumina City TasteTheSno's Demon Slayer SMP TasteTheSno's Demon Slayer SMP Create Comes Alive Create Comes Alive Captive Survival Captive Survival The Immersive Pack The Immersive Pack Minecraft - Fantasy Alive Minecraft - Fantasy Alive FNAF: The Longest Night FNAF: The Longest Night Survival Reimagined: Bring back Survival in Minecraft Survival Reimagined: Bring back Survival in Minecraft Realm of the Titans Realm of the Titans Brave The Storm Brave The Storm Dawn of the Flood Dawn of the Flood Creatopia Unbound Creatopia Unbound Shinobi Nations (Naruto) Shinobi Nations (Naruto) Arachnophobia - All the worst Phobias at once Arachnophobia - All the worst Phobias at once FrierenWorld FrierenWorld Kimetsu No Yaiba Demons Fall Kimetsu No Yaiba Demons Fall Fear Nightfall Remastered Fear Nightfall Remastered After Humans Retouched+ After Humans Retouched+ Elden Souls Elden Souls Technetium Technetium The Forsaken Dawn I The Forsaken Dawn I The War of the World The War of the World From The Cold: Worst Christmas From The Cold: Worst Christmas Dinosaur Survival Dinosaur Survival Voxels Recrafted (Like Remastered but for Forge) Voxels Recrafted (Like Remastered but for Forge) Create ADDONS Create ADDONS Modern Apocalypse: Spore Edition Modern Apocalypse: Spore Edition Züge [1.20.1] Züge [1.20.1] Tinkering with Steam Tinkering with Steam Cece's Realistic Medieval Cece's Realistic Medieval Modern Apocalypse: Zombie Edition Modern Apocalypse: Zombie Edition Warrior Cats - Whispers of StarClan Warrior Cats - Whispers of StarClan CR-Realistic Survival CR-Realistic Survival Eschatology Eschatology Scape and Tech Operation Meteorite Scape and Tech Operation Meteorite Consume The World! Consume The World! PRIMAL - Semi-Realistic Survival PRIMAL - Semi-Realistic Survival [PNAA] Pandemonium Nexus: Anarchic Aeon [PNAA] Pandemonium Nexus: Anarchic Aeon Ch0nkPack Ch0nkPack The Deluxe Premium 2.0 Enhanced Ultimate Gaming Experience The Deluxe Premium 2.0 Enhanced Ultimate Gaming Experience Doomed Beyond Doomed Beyond QuestCreate VR QuestCreate VR Soviet Dominion - Uprising Soviet Dominion - Uprising Hk's Fabulous Fadda Server -Discontinued- Hk's Fabulous Fadda Server -Discontinued- Arkobia 2 Arkobia 2 Project Z - Zombie Apocalypse Project Z - Zombie Apocalypse The Flesh that Hates - Parasitic Outbreak The Flesh that Hates - Parasitic Outbreak Automatic Bakery & Restaurants Automatic Bakery & Restaurants Subcraftica: Trade & Exploration Subcraftica: Trade & Exploration Create: Cities and Trains Create: Cities and Trains Dwarfz 6 Dwarfz 6 The RawffleVerse Reforged The RawffleVerse Reforged The Spores Outbreak The Spores Outbreak Guns, Dragons, and Death! Guns, Dragons, and Death! AREACRAFT AREACRAFT Fated Lands Fated Lands Community Horror Pack Community Horror Pack Cartoons From the Fog Cartoons From the Fog Nueral RPG Nueral RPG Gaia Decay - Gaia Decay - HeiteriaSMP HeiteriaSMP Nationcraft by Emmet Nationcraft by Emmet Endgame Protocol Endgame Protocol ASMP: Lasting Death ASMP: Lasting Death Chill, Relax & Craft Chill, Relax & Craft

External Resources