Compatibility
Minecraft: Java Edition
Platforms
Supported environments
75% of ad revenue goes to creators
Support creators and Modrinth ad-free with Modrinth+Creators
Details
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.