
Day Length
Change how long a Minecraft day lasts and sync it with real-world time.
Обновлён 31 мая 2026 г. · опубликован 27 марта 2025 г.
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.
Центр версий
24 версийЧенджлог
3.0.2Релиз1.20.1 · 31 мая 2026 г.
- 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.
- Respects vanilla
Full Changelog: https://github.com/yigit-guven/Day-Length/compare/3.0.1...3.0.2
3.0.1Релиз1.21.1 · 3 марта 2026 г.
- 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
3.0.1Релиз1.20.1 · 3 марта 2026 г.
- 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
3.0.1Релиз1.20.1 · 3 марта 2026 г.
- 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
3.0.0Релиз1.20.1 · 1 марта 2026 г.
- 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
2.0.2Релиз1.20.4, 1.20.5, 1.20.6 · 8 июля 2025 г.
- Changed vanilla gamerule dodaylightcycle's function
- Fixed minor sleeping bugs
2.0.1Бета1.20.4, 1.20.5, 1.20.6 · 8 июля 2025 г.
- Added a custom way to sleep
2.0.0Релиз1.21.6 · 22 июня 2025 г.
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/
Комментарии
Загружаем…