- **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.jar` and configured `JAVA_HOME` to 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 `dayTime` when 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 `customDayLength` and `realTimeSync` (migrated to config).
**Full Changelog**: https://github.com/yigit-guven/Day-Length/compare/4.0.0...3.0.0
Developer information
Projects on Modrinth are automatically available through a Maven repository for use with JVM build tools such as Gradle.
maven { name = "Modrinth"; url = "https://api.modrinth.com/maven" }