
Hourglass is a Minecraft Forge mod that gives you control over the passage of time. It allows you to customize the length of the day-night cycle and alters the Minecraft sleep mechanic by accelerating the speed of time.
Features
This mod (optionally) replaces the vanilla sleep functionality with a smooth and natural transition to morning by accelerating the passage of time while you're in bed. In multiplayer, time will pass faster depending on the percentage of players who are currently sleeping. This removes the need for any sleep voting system or player threshold, as any number of players can have an impact on the duration of the night.
Hourglass allows for customization of the day-night cycle duration, and can control day and night speed independently. Rather than the vanilla duration of 20 minutes, you can slow down time to make a day in Minecraft last as long as a day in real life, or speed up the passage of nights for a more forgiving experience.
Hourglass also provides a number of time effects that may speed up the progression of various elements in Minecraft to match the current speed of time. Some examples include crop growth, grass growth, weather, potion effects, furnaces, hoppers, etc. Most of these time effects are disabled by default but can be enabled by setting their associated config options.
Compatibility
Supported mods and general compatibility notes can be found in the Compatibility section on GitHub.
Commands
/hourglass config <config-key> [<value>]
Modifies or displays the current value of the specified config option.
If the <value>
argument is omitted, this command will display the config option's current value.
Some configurations are not available through this command and need to be accessed via the config files.
/hourglass query timeSpeed
Displays the current speed at which time is elapsing.
/hourglass query sleeperCount
Displays the ratio of players sleeping in the current dimension.
Configuration
All configuration values can be changed at runtime without reloading the game.
While many of the configuration options are accessible through via the config command, some can only be accessed by visiting the mod's config files. Most of the options are located in the mod's server config file in both single-player worlds and multiplayer servers. A few client-specific options also exist in the client config file.
Modpack developers may customize the Hourglass server settings in their modpack by first tweaking the server settings in a test world and then moving the file to the ./defaultconfigs
folder of their modpack. Forge will move all files in the defaultconfigs folder into the serverconfig folder of all newly created worlds.
When customizing Hourglass, the speed of time is controlled using a multiplier. A value of 1 is equivalent to vanilla speed (20 minutes for a full day-night cycle). Setting daySpeed and nightSpeed to 0.5 will cut the speed of time in half, doubling the duration of a full day to 40 minutes. Likewise, doubling the configured speed to 2.0 will result in a shortened day lasting only 10 minutes from one morning to the next.
Warning: Setting daySpeed and nightSpeed to values higher than 3600 may be unsafe for people with photosensitive epilepsy.
More configuration details can be found in the default config files on GitHub.
I'm a little confused by the comment section in the config.. which values should I change if I want to alter how quickly night time passes while only 1 player is asleep?
Edit: reread and looked at the curve website, all makes sense now
I have changed the config, and it works perfectly fine in sp, but when I move the config to the server it doesn't seem to register the config changes that have been made. It works, but the configs I've changed such as the settings to activate time passing on furnaces and such it won't work on the server. Hopefully someone can help.
Are you placing the config in the
world/serverconfig
/ directory?In reply to DuckyCrayfish:
Is placed in the correct place yes. Any other ideas on what I may have done wrong?
Hello, is it possible to delete a time mods. For example remove the day completely or remove the night. Because I'm doing a server in space and I don't want the day to be honest.
Thanks for your answer ^^
You can do this in vanilla Minecraft! Set the doDaylightCycle game rule to false and set the game time to night!
https://minecraft.fandom.com/wiki/Commands/gamerule
In reply to DuckyCrayfish:
Hello ! Thank you for your answer. So I have already tried this solution and we would like to keep a moving sky. And a full day/night cycle. In the texture pack, we have from time to time comets and other stars that move in the sky.
Ahh I understand. The best thing I can recommend at the moment is using Hourglass to set the day speed to 13000, which would make all of daytime pass in a single tick.
Unfortunately one of Hourglass's features hinders you a bit here, as it smooths transitions out over around 20 milliseconds, so the transition from dusk to dawn will not be instantaneous, and the sky will briefly flash to daytime.
Either way, it may get you closer to the result you're looking for. Good luck!
In reply to DuckyCrayfish:
Thank you for everything! Thank you for your time and help! :)
Is this server side or does it need to be installed on both server and client?
At the moment, client installation is required.
Will this take effect to existing worlds or do I have to start a new world for it to work?
It will work for existing worlds after installation
In reply to DuckyCrayfish:
Nice, I am loving this mod. Question, do you happen to know a mod similar to this for minecraft version 12.2? I wish Hourglass was made during that time but I know there's no hope for that Only mod I've been using up til I found hourglass was this mod: https://www.curseforge.com/minecraft/mc-mods/time-speed-mod but I quit it for MC 16.5 when I found this mod because that B3M messes up the weather and I no longer like using it.
You could try the mod Somnia Awoken.
In reply to DuckyCrayfish:
Hm, not a fan of that somnia but thanks for the suggestion. Now I wish Hourglass could be for 12.2 T.T
Is possible to set a diferent day and night time duration like time control mod does? Example: Day 50 minutes, night 10 minutes. For those who love to explore, construct or do thinks with enough daylight or for adventurers that loves hunt mobs and levelup with longer nights.
In reply to reniel80:
Yes, day and night duration can be controlled by setting daySpeed and nightSpeed. Unfortunately if you have a specific duration in mind you have to use a bit of math because the speeds currently work via multipliers.
I'm going to add explicit duration settings in the future
Hourglass for 1.18.2 has just been uploaded!
In reply to DuckyCrayfish:
Is this still compatible with 1.18.1?