Earlier Versions
| Name | Size | Uploaded | Game Version | Downloads | |
| Time Flies 1.16.5 v3.1 release | 280.51 KB | Feb 20, 2021 | 1.16.5 | 1,791 | Download |
| Time Flies 1.16.5 v3.0 release | 280.45 KB | Jan 29, 2021 | 1.16.5 | 134 | Download |
Description
MOD HAS BEEN UPDATED TO MINECRAFT 1.16.5. OLDER VERSIONS WILL NOT BE SUPPORTED.
This MinecraftPatch 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 MinecraftPatch page and not rebranded as another mod.
Get 0.05 TON 💎
Download


Add a comment