Download Time Control — Minecraft Mods — MetaMods

Time Control

Active

Downloads

0

Last update

1 year ago

Versions

1.12.2 — 1.20.4
Server
Fabric
Forge
Neoforge
Utils

Time Control

Tired of the standard day and night duration in Minecraft? This mod offers a simple and effective solution for managing time in the game.

Main Features

Using a configuration file, you can choose one of two operating modes:

  • Set arbitrary day and night duration in minutes (configurable independently)
  • Synchronize game time with your computer's system clock

Technical Features

The mod works unobtrusively, without changing the game's base classes or affecting game tick duration. All that's required is to disable the standard "doDaylightCycle" game rule, which the mod does automatically when creating a world.

Compatibility is ensured with other popular mods, including Comforts and Vampirism. Standard /time commands and the sleep mechanism work correctly.

Time change demonstration Separate values configuration

Configuration

Configuration Files

For Forge 1.20.1+: Configuration is saved separately for each world:

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

For Fabric 1.20.1+:

.minecraft/config/timecontrol.json

For Forge versions up to 1.19.4 inclusive:

.minecraft/config/timecontrol-common.toml

TOML Configuration Example

[system_time]
    # Synchronize game time with system time
    sync_to_system_time = true
    # Synchronization frequency (in ticks)
    # Range: 1 ~ 864000
    sync_to_system_time_rate = 20

[arbitrary_time]
    # Day duration (0 - 12000)
    # Range: 1 ~ 178956
    day_length_minutes = 30
    # Night duration (12000 - 24000)
    # Range: 1 ~ 178956
    night_length_minutes = 25

[miscellaneous]
    debug = true

In-Game Commands

For versions 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>]

For versions 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>

Compatibility

The mod works in both single-player and multiplayer modes (requires installation on both client and server). On dedicated servers, slight sky jitter may occur due to ping and ticks per second differences.

Platform Support

Versions available for Forge and Fabric (starting from 1.20.1). The mod has been tested in heavy modpacks with over 200 mods and has no permanent effects on the game or saves - can be safely installed and removed.

Project members
unixkitty

unixkitty

Developer

Created: 22 Aug 2021

ID: 2894