promotional bannermobile promotional banner

WSNH — Day & Night Length

Set separate day and night durations per world without changing tick rate.

WSNH — Day & Night Length

Choose separate day and night durations for each Minecraft world, without changing the simulation tick rate.

Make daylight last longer for exploration and building, or give your survival world longer nights. Configure the cycle before creating a world, or change it later with commands or the creative time controller.

Features

  • Independent day and night lengths, each from 5 to 1440 minutes.
  • Default durations: 10 minutes of day + 10 minutes of night.
  • Decimal durations, such as 20.5 minutes.
  • A settings screen when creating a world: a dedicated button on older Minecraft versions, or More → Day and night length… on newer versions.
  • Operator commands and a Day and night controller item in the Tools & Utilities creative tab.
  • Settings saved with each world and retained across restarts.
  • Sun and moon movement adjusted to the chosen cycle, with client interpolation.
  • English and Russian translations.
  • Forge and NeoForge need no additional libraries; Fabric and Quilt require Fabric API. See installation below.

Installation

Choose the JAR for your exact Minecraft version and loader:

Minecraft Java Forge Fabric NeoForge Quilt (Fabric JAR) Java
1.16.5 Yes Yes — Yes 8
1.18.2 Yes Yes — Yes 17
1.19.2 Yes Yes — Yes 17
1.20.1 Yes Yes — Yes 17
1.21.1 Yes Yes Yes Yes 21
26.3 Yes Yes Yes Yes 25

Put one matching mod JAR in your instance's mods folder. For multiplayer, install the same version on the server and every player's client. Use the Fabric JAR for Quilt. Compatibility with other Minecraft versions or patches is not claimed.

Forge and NeoForge: no additional library mods are required.

Fabric and Quilt: install Fabric API for the same Minecraft version.

Tested Fabric API versions: 0.42.0+1.16 for 1.16.5; 0.77.0+1.18.2 for 1.18.2; 0.77.0+1.19.2 for 1.19.2; 0.92.12+1.20.1 for 1.20.1; 0.116.17+1.21.1 for 1.21.1; 0.164.0+26.3 for 26.3.

This is not a server-only mod. Quilt Loader 0.30.1 was tested on dedicated servers for all six Minecraft versions; the Quilt client was not tested separately. WSNH does not require a separate MixinExtras JAR, including on Quilt 26.3.

Commands

/customdaylength get
/customdaylength set 20 5
/customdaylength reset

The example sets a 20-minute day and a 5-minute night. reset restores 10 + 10 minutes. Commands use a decimal point for fractional minutes.

Anyone can view the current settings with get. Changing settings with set or reset requires operator permission level 2. The creative controller also checks permissions on the server; the singleplayer world owner can use it in Creative mode.

To obtain the controller with commands:

/give @s customdaylength:time_controller

How time works

Durations are measured in real minutes at the normal 20 TPS. Server lag or pausing a singleplayer world can make the elapsed real time longer.

The two phases are the halves of the Minecraft clock: day time 0–11999 and night time 12000–23999. These boundaries do not redefine vanilla sleep eligibility, monster spawning, or light levels during twilight.

The mod changes the progression of the world clock, not the simulation tick rate. Redstone, crops, furnaces and mob AI continue to use their usual tick timing. Consequently, a longer Minecraft day gives those systems more simulation ticks before the next dawn.

/time commands, sleeping and doDaylightCycle remain usable. Changing durations preserves the current calendar day and clock position. One pair of settings applies to a world save; there are no separate settings for individual dimensions. Dimensions with a fixed sky time retain that fixed sky.

Other mods that also control world time may conflict; compatibility with every time-changing mod is not claimed.

About this release

By WSNH. All Rights Reserved. This is an independent project, not a fork of the similarly named Custom Day Length mod. It does not require Under Attack: Infected Frontier or any other modpack.

When reporting a problem, include your Minecraft, loader and mod versions, reproduction steps, and the relevant log or crash report. Do not post account tokens or other private information.

WSNH — Day & Night Length Team

profile avatar
Owner
  • 1
    Followers
  • 3
    Projects
  • 534
    Downloads

More from WSNH

  • Lootwheel project image

    Lootwheel

    An enchanted mob-loot wheel with complete drop bundles, probability-sized sectors, singleplayer pause and multiplayer protection.

    • 275
    • October 21, 2026
  • Dye All project image

    Dye All

    Recolor blocks and mobs with vanilla dyes while keeping their textures and behavior. Painted block drops keep their color when placed again.

    • 133
    • October 20, 2026
  • Lootwheel project image

    Lootwheel

    An enchanted mob-loot wheel with complete drop bundles, probability-sized sectors, singleplayer pause and multiplayer protection.

    • 275
    • October 21, 2026
  • Dye All project image

    Dye All

    Recolor blocks and mobs with vanilla dyes while keeping their textures and behavior. Painted block drops keep their color when placed again.

    • 133
    • October 20, 2026