Day Length
Day Length gives you absolute control over Minecraft's time progression. Whether you want a strictly realistic 24-hour cycle or custom-speed days for your unique playstyle, this mod handles it with precision and smoothness.
🚀 Features
- Custom Day Duration: Set the day-night cycle to any length you want (e.g., 40 minutes for double length, or 48 hours for extreme realism).
- Real-Time Synchronization: Sync Minecraft time with your system clock or a specific UTC offset.
- Smooth Transitions: No more sun/moon jitter. Time progresses smoothly tick by tick.
- Vanilla Sleep Support: Players can still sleep to skip the night normally (available when not synced with real-time).
- Easy Configuration: Direct access to configuration from the in-game mod list.
🛠️ Configuration
Day Length uses a standard configuration system. You can find the config file at:
.minecraft/config/daylength-common.toml (or similar depending on your loader/version).
In-Game Access
- Go to the Mods menu in Minecraft.
- Select Day Length.
- Click the Config button.
- The configuration file will open directly in your system's default text editor.
Settings
customDayLength: Set the length of the day in minutes (Vanilla is 20).realTimeSync: Toggle synchronization with real-world time.manualUtcOffset: Adjust time if using real-time sync with a specific timezone.smoothTimeTransition: Enables gradual adjustments when syncing time.
💾 Installation
- Download: Get the correct JAR for your version and loader from GitHub, CurseForge, or Modrinth.
- Mod Loader: Ensure you have a compatible mod loader installed.
- Deploy: Place the file into your
.minecraft/modsfolder. - Launch: Start the game and enjoy your custom time!
🤝 Support & Links
- Discord: Join our community for support and updates at discord.gg/gNajXYku5z.
- Issues: Found a bug? Open an issue on GitHub.
- Repository: yigit-guven/Day-Length
- Wiki: Detailed documentation
Licensed under the GNU GPLv3.
How to Install Day Length (Mod)
Day Length by yigitguven is verified for Fabric, Forge, Neoforge across Minecraft versions 1.14.4, 1.16.5, 1.18.2, 1.19.2, 1.19.4, 1.20.1, 1.20.2, 1.20.3 (latest release: 3.0.2, file size: 80 KB). Follow the steps below to install it safely from ModCraft.tv:
- Click the Download button above and select your Minecraft version (1.14.4, 1.16.5, 1.18.2, 1.19.2, 1.19.4, 1.20.1, 1.20.2, 1.20.3) and platform (Fabric, Forge, Neoforge).
- Make sure you have the compatible loader or environment installed for Fabric, Forge, Neoforge.
- Move the downloaded Day Length file into your Minecraft
.minecraft/modsfolder and launch the game.
All Versions
+ Add Version| Name | Game version | Platforms | Published | Downloads | Actions |
|---|---|---|---|---|---|
| 5mo ago | 1 | ||||
| 8mo ago | 1 | ||||
| 8mo ago | 1 | ||||
| 8mo ago | 1 | ||||
| 8mo ago | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 |
- Fixed: Sleeping behavior — the mod no longer prevents vanilla's sleep-to-morning skip.
- Respects vanilla
playersSleepingPercentagegamerule when available; falls back to requiring all players. - Avoids immediately overriding the morning jump by deferring mod time control until after the skip.
- Full Changelog**: https://github.com/yigit-guven/Day-Length/compare/3.0.1...3.0.2
- New high-quality Minecraft-style banner logo with "Day Length" text for better mod page presentation.
- Unused language files (
en_us.json,de_de.json, etc.) to reduce mod footprint, as translations are not currently utilized. - Refactored project structure and cleaned up redundant resource directories.
- Full Changelog**: https://github.com/yigit-guven/Day-Length/compare/3.0.0...3.0.1
- New high-quality Minecraft-style banner logo with "Day Length" text for better mod page presentation.
- Unused language files (
en_us.json,de_de.json, etc.) to reduce mod footprint, as translations are not currently utilized. - Refactored project structure and cleaned up redundant resource directories.
- Full Changelog**: https://github.com/yigit-guven/Day-Length/compare/3.0.0...3.0.1
- New high-quality Minecraft-style banner logo with "Day Length" text for better mod page presentation.
- Unused language files (
en_us.json,de_de.json, etc.) to reduce mod footprint, as translations are not currently utilized. - Refactored project structure and cleaned up redundant resource directories.
- Full Changelog**: https://github.com/yigit-guven/Day-Length/compare/3.0.0...3.0.1
- Config Button**: Added a "Config" button to the mod list that opens the configuration file directly in the system editor for faster management.
- Improved Sleeping**: Corrected sleep logic to ensure players can skip the night normally while custom day lengths are active (but not in real-time sync mode).
- Gradle & Environment Fix**: Restored missing
gradle-wrapper.jarand configuredJAVA_HOMEto ensure build compatibility with Forge 1.20.1. - Code Fixes**: Resolved compilation errors related to
level.getSleepStatus(). - Cloud/Sun Jitter**: Rewrote time ticking logic to only update
dayTimewhen a full tick is accumulated. This significantly reduces packet spam and eliminates the "vibrant" sky movement. - Real-Time Sync**: Improved real-time sync with better UTC offset handling and smooth transitions.
- Configuration**: Replaced in-game Gamerules with a standard Forge config file (
daylength-common.toml). - Code Cleanup**: Removed unnecessary dependencies (ancore) and cleaned up "AI-generated" boilerplate/comments.
- Performance**: Optimized server ticking to reduce overhead when the mod is not actively overriding time.
- Dependency on
ancore. - Custom Gamerules
customDayLengthandrealTimeSync(migrated to config).
- Full Changelog**: https://github.com/yigit-guven/Day-Length/compare/4.0.0...3.0.0
- Changed vanilla gamerule dodaylightcycle's function
- Fixed minor sleeping bugs
- Added a custom way to sleep
- Added real-time synchronization using the system clock or a manual UTC offset for realistic day progression.
- Introduced a new config system using common.toml, allowing detailed customization:
- useServerTime: Sync time with server system clock.
- manualUtcOffset: Manually simulate any time zone.
- smoothTimeTransition: Enable/disable smooth transitions to new time states.
- smoothTransitionDuration: Set the duration (in seconds) for smooth time transitions.
- Implemented smooth time transitions, creating a gradual change when switching between modes or adjusting time settings.
- Redesigned two game rules:
- customDayLength: Control how long a Minecraft day lasts (in real-time seconds). Set to 0 to freeze time.
- realTimeSync: Enable or disable syncing with real-world time.
- Replaced hardcoded time control logic with flexible tick-based progression, allowing dynamic day length modification.
- Ensured vanilla daylight cycle is always disabled when the mod is active, preventing conflicts.
- Optimized tick handling and performance across dimensions using per-level time accumulation.
- Automatically disables vanilla daylight cycle to avoid conflicts with the mod’s custom time system.
- Improved multi-dimension support and performance stability.
- Updated dependency version to 4.0.0 - 5.0.0.
- The full source code for Day Length is available on GitHub: https://github.com/Anchor-Studios/Day-Length/
- Added real-time synchronization using the system clock or a manual UTC offset for realistic day progression.
- Introduced a new config system using common.toml, allowing detailed customization:
- useServerTime: Sync time with server system clock.
- manualUtcOffset: Manually simulate any time zone.
- smoothTimeTransition: Enable/disable smooth transitions to new time states.
- smoothTransitionDuration: Set the duration (in seconds) for smooth time transitions.
- Implemented smooth time transitions, creating a gradual change when switching between modes or adjusting time settings.
- Redesigned two game rules:
- customDayLength: Control how long a Minecraft day lasts (in real-time seconds). Set to 0 to freeze time.
- realTimeSync: Enable or disable syncing with real-world time.
- Replaced hardcoded time control logic with flexible tick-based progression, allowing dynamic day length modification.
- Ensured vanilla daylight cycle is always disabled when the mod is active, preventing conflicts.
- Optimized tick handling and performance across dimensions using per-level time accumulation.
- Automatically disables vanilla daylight cycle to avoid conflicts with the mod’s custom time system.
- Improved multi-dimension support and performance stability.
- Updated dependency version to 4.0.0 - 5.0.0.
- The full source code for Day Length is available on GitHub: https://github.com/Anchor-Studios/Day-Length/
- Added real-time synchronization using the system clock or a manual UTC offset for realistic day progression.
- Introduced a new config system using common.toml, allowing detailed customization:
- useServerTime: Sync time with server system clock.
- manualUtcOffset: Manually simulate any time zone.
- smoothTimeTransition: Enable/disable smooth transitions to new time states.
- smoothTransitionDuration: Set the duration (in seconds) for smooth time transitions.
- Implemented smooth time transitions, creating a gradual change when switching between modes or adjusting time settings.
- Redesigned two game rules:
- customDayLength: Control how long a Minecraft day lasts (in real-time seconds). Set to 0 to freeze time.
- realTimeSync: Enable or disable syncing with real-world time.
- Replaced hardcoded time control logic with flexible tick-based progression, allowing dynamic day length modification.
- Ensured vanilla daylight cycle is always disabled when the mod is active, preventing conflicts.
- Optimized tick handling and performance across dimensions using per-level time accumulation.
- Automatically disables vanilla daylight cycle to avoid conflicts with the mod’s custom time system.
- Improved multi-dimension support and performance stability.
- Updated dependency version to 4.0.0 - 5.0.0.
- The full source code for Day Length is available on GitHub: https://github.com/Anchor-Studios/Day-Length/
- Fixed incompatibility with DoDayLightCycle gamerule.
- Fixed incompatibility with DoDayLightCycle gamerule.
- Fixed incompatibility with DoDayLightCycle gamerule.
- Fixed time freezes,
- Added new feature: If day length is 0; time stops,
- Fixed crash issues,
- Fixed /time set... command not working bug,
- Recoded time system, it's more depended to vanilla.
- Fixed time freezes,
- Added new feature: If day length is 0; time stops,
- Fixed crash issues,
- Fixed /time set... command not working bug,
- Recoded time system, it's more depended to vanilla.