Custom Daylight Cycle
by Xenton · 2026-09-01 · Data packs

# Minecraft-Custom-Daylight-Cycle Runable and tested in V1.21.11, V26.1.x, V26.2.x Datapack for Minecraft to override the ingame daylight cycle, to make it possible, to have own time for night and day. Example: 30min day and 5min night # Installation: - Put this datapack in your savegame, in the folder datapacks - - Example: .minecraft - saves - YourWorld - datapacks - Custom_Daylight_Cycle_26-x.x.zip - After reload with command "/reload" your world, you can check is the datapack available with the command "/datapack list". When you find in green brackets: [file/Daylight_Cycle_26-x-x (world)], than the datapack is correct installed - You don't need to do anything to initalise this datapack, it will be run automaticly after correct install. # Run: - The gamerule advance_time will be not changed, only the position off the sun and moon, will be overitten by the datapack. - For settings, you have 3 options: set datapack pause, set datapack resume and for settings window - - Commands: - - - /function x_daylight_cycle:x_dl_c__settings -- Settingwindow (Since 26.5.0) - - - /function x_daylight_cycle:x_dl_c__pause -- Paused the calculation from the sun/moon position. The ingame calculation
