Simple Day Length Extender
No reviews yet
A simple, highly-compatible mod to extend the length of day and/or night. Special support for TFC.
Includes quality of life improvements and small tweaks to enhance and customize gameplay.
Forge is a popular mod loader for versions 1.1+ of Minecraft.
Neoforge is a fork of the Minecraft Forge available for versions 1.20.1+ of Minecraft. Many Forge mods are compatible with Neoforge and vice versa.
Fabric is a mod loader for versions 1.14+ of Minecraft, particularly popular for client side and optimization mods.
Community voices
Reviews
Click once to include, again to exclude, again to clear
No reviews yet. Be the first to review this project!
Get it on
Available Platforms
About
Project Details
For authors
Embed Badge
If you're the author of this project, you can embed a live badge anywhere that supports HTML or Markdown. It updates automatically whenever ratings change.
Use HTML for any page that supports it, or Markdown for README files and Markdown-based descriptions.
Identifiers
Platform IDs
About
Description
⏱️ About
A simple, very-compatible mod to extend the day and/or night length in Minecraft. Unlike some other similar mods, it works by internally switching the doDaylightCycle rule on/off which is more compatible, along with special support for TerrafirmaCraft. (Note: TFC 3.x and older only. TFC 4.x for 1.21.1 now has its own setting for day length, so this mod is not relevent in that case).
💡 1.2.0 is finally released which fixes the desync (judder/stutter), has ports for more MC versions, and adds support for variable day/night length ratio based on Calendar in TerraFirmaCraft 3.x and below (thanks to alekiponi for working on this).
📜 Changelogs (Update history)
1.2.2
- Fix beds not working reliably when Sleeping Overhaul 2 wasn't installed. Yet another ooops.- Update 'latest' branch to 1.21.10
1.2.1
- Fix regression: time extension for when day and night multipliers are different (oops again, sorry xD) - thanks to sl-einert for reporting.1.2.0
- Fixed the desync (judder or stutter) of time. This was caused by the incorrect assumption that Minecraft would synchronize with clients.- Added feature to automatically adjust day/night length depending on the calendar/season (time of year) for mods. Currently only supports TerraFirmaCraft calendar, I don't know of any other calendars that would need it (let me know if you found one). Thanks to alekiponi for working on this feature.
- [Forge] Config is moved to common file under the normal config folder instead of being per-world, and is now the same for all worlds. This was required for desync fix.
- Changed default multipliers to 2.0x since that seems most common
1.1.1
- Fix time extension for when day and night multipliers are different (oops). Thanks to Sub2I1 for reporting!1.1.0
- Add "delayTimeCycleUntilFirstJoin" config option- Add "disableTimeCycleWhenServerEmpty" config option
- Improve TFC compatibility (prevent log spam about Calendar stuff)
- [Fabric] Add dependency on Forge Config API Port in metadata
1.0.0
- Initial release⭐ Highlights
- Works with TFC (TerraFirmaCraft) and probably all other mods (please report if not);
- NEW: Supports variable day/night ratio based on the season or time of year used by other mods. Currently supported mods: TerraFirmaCraft... that's all for now. Serene Seasons next perhaps?
- Multiply the day and night length separately;
- Can use arbitrary fractions, e.g. 1.5 or 50.25;
- Required on both Server and Client side (to prevent judder/desync);
🏷️ Usage & Config
After installing the mod, simply start Minecraft to let the config generate. Jump into any world if you're happy with the default config of 2x for both day and night, you will see something like this in the log:
Using a multiplier of x2.0 for Day time
- Phase starts at 0 and will advance daylight cycle by 1 ticks over 2 game ticks on average.
Using a multiplier of x2.0 for Night time
- Phase starts at 13000 and will advance daylight cycle by 1 ticks over 2 game ticks on average.
Refer to the config details below for complete usage.
simpledaylengthextender-common.toml:
[general]
dayLengthMultiplier:
- Multiply the day length by this number. Fractions are supported, but must be above 1.0 (cannot shorten).
- Default is 2.0, range is 1.0 to 100.0
delayTimeCycleUntilFirstJoin
- If true (default), the daylight cycle will not start until the first player joins the world. Handy for multiplayer and/or heavy modpacks.
dayStartInTicks:
- Start time in ticks to use the day multiplier.
- Default value of 0 represents a standard Minecraft day start of 06:00. Must be less than nightStartInTicks.
disableTimeCycleWhenServerEmpty:
- If true (NOT default), doDaylightCycle will be forced to false when the server/world is empty. Might be useful for multiplayer.
nightLengthMultiplier:
- Multiply the night length by this number. Fractions supported, but must be above 1.0 (cannot shorten).
nightStartInTicks:
- Start time in ticks to use the night multiplier.
- Default value of 13000 represents a standard Minecraft night start of 19:00.
overrideGameRuleSleepCheck:
- If true (default), the 'doDaylightCycle' gamerule check during sleep is forced to always be true. This allows sleeping to work properly. You *might* need to disable this for compatibility with some sleeping mods, but probably not.
autoCalendarAdjustments:
- If true (default), some mod-added calendars/seasons will dynamically adjust day/night ratio.
- Note that day/night length will effectively be 1.5x more than the multipliers dictate for math reasons. For example if the multipliers are set to 2.0x then the day length could be about x2.91 and night length about x1.59 depending on time of year. Keeping showDetailsToLog enabled will let you check final multipliers.
- Also note that if the night start time is configured with the default 13000 it will be corrected to 12000 so that the day and night length difference makes sense.
- Currently supported mods: TerraFirmaCraft 3.x and below, nothing else yet (please share your requests back to me - I don't know of any other mods that have variable day/night lengths).
showDetailsToLog:
- If true (default), details of day/night length will be logged to console. Setting to false might be useful to reduce log spam, especially if autoCalendarAdjustments are in effect since it would make semi-regular log entries whenever calendar adjustments occur throughout the year/seasons.
✔️ Compatibility and Known Issues
TerraFirmaCraft
- Works 100%. Note that this mods "disableTimeCycleWhenServerEmpty" setting will be auto-set to true if TFC's time stop setting is also true.
Please report any and all issues not mentioned so I can improve the mod :D
🛎️ Support
Hopefully, the mod is simple enough to use, but you are encouraged to:
- Report any bugs you find;
- Report any incompatibilities with other mods;
- Request any features you want to see
...so I can keep improving the mod 😊 be sure to mention your loader (e.g. Forge, Fabric) and Minecraft version too!
⁉️ FAQ / Troubleshooting
Q. Can I use this in my modpack?
A. Of course! As long as you consider reporting any mod compatibility issues, and feature/config requests too 😁
Q. Does this mod cause lag, or cause extra network traffic in multiplayer?
A. Nope! Because the mod is required on both client and server-side, the gamerule is changed on both sides using the same deterministic algorithm. As usual, make sure client and server have identical config though otherwise the client will have strange rubber-banding.
Q. I have another question...
A. ...ask away in the comments :)
🕹️ CosmicDan's Mods
Sleeping Overhaul 2
Replaces skip-to-day on sleep with a time lapse, and more!
Simple Day Length Extender
A simple, highly-compatible mod to extend the length of day and/or night.
Temperature Bands
Modifies world generation to place biomes into repeating temperature bands. Compatible with most worldgen mods.
Screenshots
Gallery
Versions
Files
Relations
Project Relations
More like this
Similar Mods
Suggestions use data such as tags, dependencies, dependents, descriptions, titles, and more to rank how much they overlap with this mod.
On ModDex
Community snapshot
By the numbers
Statistics
Want to reach Minecraft players?
We're looking for a server hosting partner to feature here and other parts of the site. Interested? Send us a message!
Get in touchGet it on
Available Platforms
On ModDex
Community snapshot
By the numbers