Description
MOD HAS BEEN UPDATED TO MINECRAFT 1.16.5. OLDER VERSIONS WILL NOT BE SUPPORTED.
This CurseForge page is the only valid location of this mod. Do not download it from any other source.
Feel like 10 minute days go too quickly? I did. This very small mod allows you to extend the duration of day & night, respectively.
The best part? It works. Seriously. I was so sick of finding time control mods that don't work and break sleeping mechanics, so I made one myself. I have tested it on 1.16.4 & 1.16.5 without issues. Works on both Single Player and Multiplayer.
If you find an issue, submit it to the issue tracker and I will resolve it as quickly as I can.
How Minecraft Time Works
Minecraft runs at 20 ticks per second. While the "doDaylightCycle" gamerule is true, Minecraft increments the time by 1 each tick. Day & night are each 12,000 ticks long, making them 10 minutes each. Time does not rollover every 24,000 ticks. Instead, it continues to accumulate until the max of 2,147,483,647 ticks (29,826 hours). Each new night, the in-game moon changes phases. When a player sleeps, time is 'fast-forwarded' to the next morning.
For further detail, see the wiki page here.
How This Mod Works
Upon being enabled, it sets Minecraft's "doDaylightCycle" gamerule to false. This is mandatory, or else Minecraft & Time Flies would both be moving time forward.
It takes the normal Minecraft day & night duration and divides it by your day & night duration setting values. Then, the decimal value is accumulated and stored. When the accumulated value reaches a normal Minecraft tick increment, then time is incremented. For example; If you set day to 40 minutes, we divide Minecraft's day length of 10 minutes by 40 minutes, giving us .25. Each tick, our accumulated time will increment by .25. After 4 ticks, we will accumulate 1, at which Minecraft's time will increment by 1 tick. This effectively makes the day last 4x longer (40 minutes). This does work for unevenly divisible numbers. Fractional values are truncated and rounded to 4 decimal places. This means values like 337 minutes will work as desired. However, very long time lengths like that will cause time to seemingly increment in 'bursts'. Meaning you won't see the sun move for maybe 15 seconds, then it will slowly move for about 4 seconds. This is an unavoidable result of the way Minecraft handles sun and moon movement. However, if this effect is undesired, it can be prevented by using values which 10 is divisible by with no more than 4 decimal places. If you ask me, it's pretty much unnoticeable. I'm just trying to be completely transparent here. Moon phases do advance correctly.
Sleeping can be enabled or disabled. Sleeping works the same as default Minecraft(same time and thunderstorm restrictions). The one exception is that only 1 player is required to be sleeping for time to advance to morning. This is a feature desired by me. I may make it a "sleep voting" system in the future, but that is not planned at this time.
Commands
You must be server OP or in creative mode to use the commands. Valid commands are;
"/timeflies enable" - Enables Time Flies mod time and sleep control. Enabled by default.
"/timeflies disable" - Disables Time Flies mod time and sleep control.
"/timeflies sleep enable" - Enables player sleeping skipping to morning. Enabled by default.
"/timeflies sleep disable" - Disables player sleeping skipping to morning.
"/timeflies day X" - Set the duration of day in minutes. Substitute X with a value of 10 - 720. Set to 10 by default.
"/timeflies night X" - Set the duration of night in minutes. Substitute X with a value of 10 - 720. Set to 10 by default.
This mod is for Forge only. Mod compatibility has not been tested. However, as long as your other mods do not directly affect day cycle time, they should be fine.
DISCLOSURE: This mod was created with MCreator.
This mod can be used by anyone, as long as it is credited to this CurseForge page and not rebranded as another mod.
AD
Become Premium to remove Ads!
What means Verified?
-
Compatibility: The mod should be compatible with the latest version of Minecraft and be clearly labeled with its supported versions.
-
Functionality: The mod should work as advertised and not cause any game-breaking bugs or crashes.
-
Security: The mod should not contain any malicious code or attempts to steal personal information.
-
Performance: The mod should not cause a significant decrease in the game's performance, such as by causing lag or reducing frame rates.
-
Originality: The mod should be original and not a copy of someone else's work.
-
Up-to-date: The mod should be regularly updated to fix bugs, improve performance, and maintain compatibility with the latest version of Minecraft.
-
Support: The mod should have an active developer who provides support and troubleshooting assistance to users.
-
License: The mod should be released under a clear and open source license that allows others to use, modify, and redistribute the code.
-
Documentation: The mod should come with clear and detailed documentation on how to install and use it.
AD
Become Premium to remove Ads!
How to Install
Download Forge & Java
Download Forge from the offical Site or here. If you dont have Java installed then install it now from here. After Downloading Forge you can run the file with Java.
Prepare
Lounch Minecraft and select your Forge istallation as Version this will create a Folder called Mods.
Add Mods
Type Win+R and type %appdata% and open the .minecraft Folder. There will you find your Folder called Mods. Place all Mods you want to play in this Folder
Enjoy
You are now Ready. Re-start your Game and start Playing.