promotional banner
premium banner
Take control over Minecraft's day-night cycle

Description

Control Minecraft’s day-night cycle using a simple config file, choosing either to set length for day and night in minutes (can be configured independently), or synchronize with system clock.

No base classes are modified, no ASM transformations and no touching tick lengths.

 

For years when playing the game I yearned for a way to make days longer, without breaking other mods, dimensions and who else knows what.

No other mod that tried to implement a similar feature satisfied me.

 

This is my extremely simplistic attempt, without modifying any mechanics, the one exception being reliance on the vanilla "doDaylightCycle" rule being off.

 

/time command works, sleeping works as long as no other mod interferes in the vanilla sleeping mechanic

 

There is an operator/cheats-enabled command to update cycle lengths in-game

/timecontrol get < sync_to_system_time | night_length_minutes | day_length_minutes >

/timecontrol set < night_length_minutes | day_length_minutes > <value>

 

Note: Quark's "Improved Sleeping" feature breaks sleeping with this mod because Quark relies on the vanilla "doDaylightCycle" rule being on.

 

Check out Morpheus, it seems to work https://www.curseforge.com/minecraft/mc-mods/morpheus

 

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.

 

The mod relies on a custom gamerule that will be added to your world (the vanilla way of course), "doDaylightCycle_tc". It is possible to set it to false and the vanilla rule to true to stop the mod from doing anything! System clock sync option will operate regardless, so turn it off in the config if you want to do anything with time. Forge's config reloading on a live instance is supported in 1.15.2 (Doesn't work yet in 1.16).