Custom Time Cycle
The Custom Time Cycle modification provides the ability to customize the duration of day and night in Minecraft using a simple command, without affecting the game tick speed.
Operation Features
Fabric API is required for the mod to work. When installed on the server, clients do not need to install the mod.
Day and night duration settings are saved separately for each dimension and preserved between server restarts and world saves.
Management Commands
The mod adds the /timecycle command with several usage options:
/timecycle status- shows current day and night duration settings in the current dimension/timecycle set <day_duration> <night_duration>- changes day and night duration in the current dimension/timecycle reset- resets day and night duration settings to default values
Using the /timecycle command requires the timecycle.command permission or operator level 2.
Technical Details
In Minecraft, each dimension has three time counters:
- Game time - increases by 1 every server tick, never resets
- Day time - increases by 1 every server tick, resets when reaching 24000
- Day counter - increases with each day time reset
The mod changes the rate at which the day time counter increases. For example, when setting day duration to 6000 ticks, the counter will increase twice as fast.
Supported Versions
The mod is available for Minecraft versions: 1.21.6+7+8, 1.21.5, 1.21.4, 1.21.2+3, 1.21+1, 1.20.5+6, 1.20.4, 1.20.1
The mod is distributed under GNU LGPLv3 license.