Mods
Resource Packs
Data Packs
Modpacks
Shaders
Plugins
Mods Resource Packs Data Packs Plugins Shaders Modpacks
Sign in
ModsPluginsData PacksShadersResource PacksModpacks
Sign in
Settings
Day Length

Day Length

Change how long a Minecraft day lasts and sync it with real-world time.

2,402
12
Game Mechanics
Management
Utility
AboutChangelogVersions

Day Length - Customizable Minecraft Time System

Overview

Day Length is a Minecraft mod that allows players and server owners to customize the in-game day-night cycle and optionally synchronize it with real-world time. This mod is ideal for realism-focused gameplay, roleplay servers, and anyone who wants greater control over the passage of time in their Minecraft world.

⚠ Requires AnCore Lib to function properly.

📖 Wiki Page | 🐛 Report Issues | 💬 Discord


Features

🔹 Customizable Day Length

By default, a full Minecraft day lasts 24000 ticks (20 minutes). With Day Length, you can modify this duration to be shorter or longer. This is controlled using a new gamerule:

/gamerule customDayLength [minutes]
  • Example: /gamerule customDayLength 1440 makes a full Minecraft day last 24 real hours.
  • The value is set in real-world minutes, allowing full control over time progression.

⏳ Real-World Time Synchronization

For a more immersive experience, Day Length can sync in-game time with real-world time. When enabled, Minecraft time automatically adjusts based on the server's system clock:

/gamerule realTimeSync true
  • Example: If the server operates in UTC+2 and the local time is 14:00, then in-game time will also be 14:00.
  • Useful for long-term survival servers, city-building experiences and realism-focused gameplay.

🌅 Smooth Time Transition

Instead of abruptly setting the time forward, Day Length dynamically adjusts tick speed to smoothly transition between time changes:

  • Prevents the sun and moon from jumping when settings are modified.
  • Ensures that lighting and environmental changes occur naturally.

🔧 Commands & Configuration

  • Gamerules:
    • customDayLength – Sets the duration of a full Minecraft day in real-world minutes.
    • realTimeSync – Enables or disables real-time synchronization.
  • Commands:
    • /time set 0 still works but respects the custom day length setting.

📥 Requirements

🔗 Dependency: AnCore Lib

This mod requires AnCore Lib to function correctly. Please ensure you have it installed before using Day Length.


❓ Need Help?

  • Wiki: Click here for full documentation.
  • Issues: Found a bug? Report it here.
  • Community: Join our Discord server to chat with others and get support.

90% of ad revenue goes to creators

Support creators and Modrinth ad-free with Modrinth+

Compatibility

Minecraft: Java Edition

1.21.1
1.20.1–1.20.6
1.19.4
1.19.2
1.18.2
1.16.5
1.14.4

Platforms

Forge
NeoForge

Supported environments

Client and server

Links

Report issues View source Visit wiki Join Discord server

Creators

Anchor Studios
Anchor StudiosOrganization

Details

Licensed AnchorStudios DayLength
Published 4 months ago
Updated last month

Modrinth is open source.

main@aaf125c

© Rinth, Inc.

Company

TermsPrivacyRulesCareers

Resources

SupportBlogDocsStatus

Interact

Discord X (Twitter) Mastodon Crowdin
Get Modrinth App Settings
NOT AN OFFICIAL MINECRAFT SERVICE. NOT APPROVED BY OR ASSOCIATED WITH MOJANG OR MICROSOFT.