![]() |
VOOZH | about |
The daylight cycle is a 20-minute-long cycle between two main light settings: day and night.
During the daylight cycle, the sun and moon appear to rotate around the player, appearing directly overhead at midday and midnight, respectively. The sun and moon always remain in the same position relative to the stars, and to each other. Solar eclipses are therefore impossible, and technically the moon would constantly be eclipsed by the world, even though it exhibits phases depending on the number of nights elapsed.
The daylight cycle pauses when the game is paused in the game menu. In multiplayer, time proceeds normally as long as the server is running.
The daylight cycle continues while the player is in the Nether or The End, although the world itself does not change until the Overworld is loaded again. A village created in another dimension observes a normal village schedule.
In Minecraft, time is 72 times faster than normal time. This can be easily calculated as the proportion 1440โ20 = 72, since there are 1440 minutes (86400 seconds) in a real day (3600sec ร 24hr) and 20 minutes (1200 seconds) in a full Minecraft day, assuming the tick speed is maintained at 20 ticks/second. A collection of time unit conversions is listed below:
| Minecraft time | Minecraft ticks | Real time |
|---|---|---|
| 1 second | 0.27 | 0.0138 seconds |
| 1 minute | 16.6 | 0.83 seconds |
| 1 hour | 1,000 | 50 seconds |
| 1 day | 24,000 | 20 minutes |
| 1 week (7 days) | 168,000 | 2.3 hours (2h 20min) |
| 1 Minecraft lunar cycle (8 days) | 192,000 | 2.6 hours (2h 40min) |
The approximation of real time to Minecraft time:
| Real time | Minecraft time |
|---|---|
| 1 tick | 3.6 seconds |
| 1 second | 1 minute and 12 seconds (72 seconds) |
| 10 seconds | 12 minutes (720 seconds) |
| 50 seconds | 1 hour (60 minutes, 3600 seconds) |
| 1 minute | 1 hour and 12 minutes (72 minutes, 4320 seconds) |
| 20 minutes | 1 day |
| 1 hour | 3 days |
| 1 day | 72 days |
| 1 month | 2,160 days |
| 1 year (365.24 Days) | 26,297 days (To the nearest day) |
In Minecraft, the sun, moon and stars do not move at a linear speed. Given , the number of ticks passed since dawn between 0 and 24000, the sky angle can be calculated as follows:
Vibrant Visuals effects that change with the time of day are calculated through with an offsetted version of the formula above:
| Image | Minecraft time of day |
Minecraft ticks |
Real time | Event | |
|---|---|---|---|---|---|
| Minutes | Seconds | ||||
| 06:00:00.0 | 0 (24000) |
0:00 (20:00) |
0 1200 |
Beginning of the Minecraft day. Players and villagers awaken from their beds. Villagers begin their workday.โ[BE only] | |
| 06:10:01.2 | 167 | 0:08.35 | 8.35 | The moon disappears on the horizon, and slowly disappears entirely.โ[BE only] | |
| 07:00:00.0 | 1000 | 0:50 | 50 | Time when using the /time set day command.
| |
| 08:00:00.0 | 2000 | 1:40 | 100 | Villagers begin their workday.โ[JE only] Nitwits awaken from their beds.โ[BE only] | |
| 11:43:22.8 | 5723 | 4:46.15 | 286.15 | The clock starts showing exactly midday. | |
| 12:00:00.0 | 6000 | 5:00 | 300 | Noon; the sun is at its peak. | |
Time when using the /time set noon command.
| |||||
| 14:00:00.0 | 8000 | 400 | Villagers begin socializing.โ[BE only] | ||
| 15:00:00.0 | 9000 | 7:30 | 450 | Villagers end their workday and begin socializing.โ[JE only] | |
| 16:00:00.0 | 10000 | 500 | Villagers end socializing and start working again.โ[BE only] | ||
| 17:50:02.4 | 11834 | 9:41.7 | 591.7 | The moon appears on the horizon. | |
| 18:00:00.0 | 12000 | 10:00 | 600 | Beginning of the Minecraft sunset.
Time when using the | |
| 18:00:36.0 | 12010 | 10:00.5 | 600.5 | In rainy weather, beds can be used at this point.
In rainy weather, the internal sky-light level begins to decrease. In rainy weather, creakings start to spawn. | |
| 18:02:24.0 | 12040 | 10:02 | 602 | In sunny weather, the internal sky-light level begins to decrease. | |
| 18:32:31.2 | 12542 | 10:27.1 | 627.1 | In clear weather, beds can be used at this point. In clear weather, bees enter the nest/hive for the night. In clear weather, undead mobs no longer burn. In clear weather, creakings start to spawn. | |
| 18:36:00.0 | 12600 | 10:30 | 630 | Eyeblossoms start opening. | |
| 18:36:36.0 | 12610 | 10:30.5 | 630.5 | The clock shows exactly dusk (day to night). | |
| 18:47:09.6 | 12786 | 10:39.3 | 639.3 | The solar zenith angle is 0. Horizon stops getting darker. | |
| 18:58:08.4 | 12969 | 10:48.45 | 648.45 | First tick when monsters spawn outdoors in rainy weather.[note 1] | |
| 19:00:00.0 | 13000 | 10:50 | 650 | Beginning of the Minecraft night.
Time when using the | |
| 19:11:16.8 | 13188 | 10:59.4 | 659.4 | First tick when monsters spawn outdoors in clear weather.[note 1] | |
| 19:40:12.0 | 13670 | 11:23.5 | 683.5 | The internal sky-light level reaches 4, the minimum at night. | |
| 19:42:07.2 | 13702 | 11:25.1 | 685.1 | The sun disappears on the horizon. | |
| 23:50:34.8 | 17843 | 14:52.7 | 892.15 | The clock starts showing exactly midnight. | |
| 00:00:00.0 | 18000 | 15:00 | 900 | Midnight; the moon is at its peak. | |
Time when using the /time set midnight command.
| |||||
| 04:18:00.0 | 22300 | 18:35 | 1115 | The sun appears on the horizon. | |
| 04:19:51.8 | 22331 | 18:36.55 | 1116.55 | The internal sky-light level begins to increase. | |
| 04:48:43.2 | 22812โ[Java Edition only] | 19:00.6 | 1140.6 | Last tick when monsters spawn outdoors in clear weather.[note 1] | |
| 04:48:46.8 | 22813โ[Bedrock Edition only] | 19:00.65 | 1140.65 | ||
| 05:00:00.0 | 23000 | 19:10 | 1150 | Beginning of the Minecraft sunrise. | |
| 05:01:51.6 | 23031 | 19:11.55 | 1151.55 | Last tick when monsters spawn outdoors in rainy weather.[note 1] | |
| 05:02:27.6 | 23041 | 19:12.1 | 1152.05 | The clock starts showing exactly dawn. | |
| 05:12:57.6 | 23216 | 19:20.8 | 1160.8 | The solar zenith angle is 0. | |
| 05:24:03.6 | 23401 | 19:30.5 | 1170.5 | Eyeblossoms start closing. | |
| 05:27:36.0 | 23460 | 19:33 | 1173 | In clear weather, beds can no longer be used. In clear weather, bees leave the nest/hive. In clear weather, undead mobs begin to burn. In clear weather, creakings begin to despawn. | |
| 05:57:39.6 | 23961 | 19:58.1 | 1198.05 | In sunny weather, the internal sky-light level reaches 15, the maximum. Horizon stops getting brighter. | |
| 05:59:31.2 | 23992 | 19:59.6 | 1199.6 | In rainy weather, beds can no longer be used.
In rainy weather, the internal sky-light level reaches 12, the maximum. In rainy weather, creakings begin to despawn. | |
Daytime, not including sunset and sunrise, is 10 minutes long.
When a player first spawns in singleplayer, the daylight cycle always starts at the beginning of the daytime (0:00). New worlds on multiplayer servers also start at the beginning of the daytime, but the daylight cycle continues regardless of any new players joining.
During the daytime, the sun rises up to its peak in a light blue sky. The exact color of the sky and fog during clear weather depends on the current biome; for example, desert skies are a lighter shade of blue than plains skies. The moon is not visible below the world during daytime in Bedrock Edition.
With Vibrant Visuals, biomes have more unique sky, fog, and cloud colors and sunlight is also colored depending on the biome; scattering and lighting effects are constantly changing during the daylight cycle. This is calculated through linear interpolation between set key frames, with keys using a 0-1 range for the daylight cycle: 0 is noon, 0.25 is sunset, 0.5 midnight, 0.75 sunrise, and 1 is the next noon (see conversion formula). For detailed information about graphical effects changing with the daylight cycle, see Vibrant Visuals/Configurations.
All blocks that are in direct vertical view of the sky receive sunlight at the internal sky light level 15, which is the maximum. Sunlight provides ample light for the growth of saplings and grass blocks. Most undead mobs (including zombies and skeletons) exposed to direct sunlight (and are not in shade, in water, or wearing helmets) are set on fire. Additionally, sunlight renders spiders neutral, unless they are currently chasing a player, and any endermen exposed to sunlight teleport randomly when near the player and randomly become neutral if having been aggressive for at least 30 seconds. For more details see Light ยง Effects of light.
Sunset is the period between daytime and nighttime, and always lasts 50 seconds.
During sunset, the sun descends on the western horizon, and the moon rises on the eastern horizon. The fog near the setting sun turns into a vibrant orange-red, which is a set region of the sky in Java Edition, or the whole horizon while the camera is facing near the sun in Bedrock Edition. Ambient lighting and clouds also turn orange during sunset in Bedrock Edition. With Vibrant Visuals, more different sky and lighting colors are applied depending on the biome. The internal sky light level decreases. Eventually, undead mobs exposed to direct sunlight are set not to burn.
Between dusk and dawn, players may sleep in a bed. In singleplayer mode, doing so advances the daylight cycle to dawn and sets the weather to clear. This also occurs in multiplayer as long as every player online is in a bed simultaneously. Time does not pass for other aspects of the world, however; for example, crops do not grow and furnaces do not cook or smelt as they would when players are awake.
Nighttime lasts 8 minutes and 20 seconds.
During the night, the moon rises to its peak in a pure black sky dotted with small white stars, while the sun isn't visible below the world in Bedrock Edition. The stars appear to move with the moon and can be first seen toward the end of the sunset. Clouds are black and more transparent, and the fog is colored dark blue. Night Vision can increase the brightness and the fog color.
During the nighttime, the world is covered in darkness; the internal sky light level falls to a minimum of 4, which allows hostile mobs to spawn on the surface. The exact duration for which hostile mobs are able to spawn in exposed areas is 13188 ticks.[note 1]
Regardless of the low internal sky light level, crops continue to grow during the night as long as they have sufficient clientโ[JE only] or internalโ[BE only] light level, and at least one player is not sleeping to avoid skipping the night.[note 2]
Sunrise is the period between nighttime and daytime, and is the last part of the daylight cycle. It always lasts 50 seconds.
During sunrise, the moon sets on the western horizon and the sun rises on the eastern horizon. The same graphical effects are applied to the sky as with sunset, but in reverse.
The internal sky light level increases. Eventually, the effects of sunlight return, dissipating the threat of most hostile mobs.
A clock allows players to determine Minecraft time. A clock is useful while underground where the current day/night cycle is not visible, as they can help the player avoid mistakenly surfacing at night and falling prey to night-spawned mobs on the surface.
Clocks spin randomly in the Nether and the End, because there is no daylight cycle in those dimensions.
If commands are enabled, then it is possible to change the current time with the /time commands, as detailed below. To enable or disable the daylight cycle, use the following command: /gamerule advance_timeโ[JE only]/gamerule dodaylightcycleโ[BE only] true|false.
Specific times can be set with the /time set command.
/time set <number|minecraft:day|minecraft:noon|minecraft:night|minecraft:midnight>โ[Java Edition only]
/time set <number|day|noon|sunset|night|midnight|sunrise>โ[Bedrock Edition only]
Examples:
/time set 0 โ Sets the time to the beginning of the Minecraft day./time set day โ Sets the time to 1000./time set 12000 โ Sets the time to dusk/sunset./time set sunriseโ[Bedrock Edition only] - Sets the time to 23000./time set noon - Sets the time to 6000.Each day that progresses adds 24000 ticks to the time counter. While each day looks the same, the moon appears in one of eight different phases each night. The phase of the moon can also alter some events in game.
| Icon | Achievement | In-game description | Actual requirements (if different) | Gamerscore earned | Trophy type (PS) | ||
|---|---|---|---|---|---|---|---|
| PS4 | Other | ||||||
| ๐ Image | ๐ Image | Passing the Time | Play for 100 days. | Play for 100 Minecraft days, which is roughly equivalent to 33 hours in real time (if the player has not slept). | 20 | Bronze | |
| ๐ Image | ๐ Image | Castaway | Eat nothing but dried kelp for three in-game days | Eat dried kelp once; in the following three in-game days, eat nothing but dried kelp. | 20 | Bronze | |
| ๐ Image | ๐ Image | Sleep with the Fishes | Spend a day underwater. | Spend 20 minutes underwater without any air. Can be done with a conduit, water breathing potions, bubble columns, nautiluses, or zombie nautiluses. | 30 | Silver | |
| Java Edition Indev | |||||||
|---|---|---|---|---|---|---|---|
| 20100211-2327 | Added the daylight cycle, as well as the sun and the moon. | ||||||
| Currently, each cycle lasts about 15 minutes, with day and night each lasting 7.5 minutes. | |||||||
| 20100212-1210 | Daylight cycle now lasts 20 minutes. | ||||||
| Stars now appear in the night sky. | |||||||
| Java Edition Infdev | |||||||
| 20100227-1414 | Removed the daylight cycle. | ||||||
| 20100313 | Reimplemented the daylight cycle, however with a 16 minute duration instead of 20. | ||||||
| 20100316 | The daylight cycle is now again 20 minutes. | ||||||
| Java Edition Beta | |||||||
| 1.3 | Added the /time command, which allows changing the time of day. | ||||||
| 1.5 | The stars at night are now darker. | ||||||
| 1.8 | Pre-release | In the leaked 1.8 pre-release version, the player can manipulate the time by pressing to reverse time and to advance time. | |||||
| Daylight cycles no longer require chunk updates and are now a smooth transition. | |||||||
| Java Edition | |||||||
| 1.0.0 | Beta 1.9 Prerelease 4 | Notch mentioned on his Twitter that the Sun actually rose in the north in Minecraft.[1] This was a bug and was fixed in Beta 1.9 Prerelease 4, so the Sun and Moon now both rise in the east;[2] this also changed the South-West rule to the South-East rule. | |||||
| Added lunar phases.[3][4] | |||||||
| 1.3.1 | 12w21a | The stars that appear at night were updated to be slightly smaller. | |||||
| 1.5 | 13w01a | Daylight sensors determine what time of day it is by outputting a redstone signal. | |||||
| 1.6.1 | 13w24a | Added the game rule doDaylightCycle, which turns the daylight cycle on or off. | |||||
| Pocket Edition Alpha | |||||||
|---|---|---|---|---|---|---|---|
| v0.2.0 | Added the daylight cycle. | ||||||
| v0.4.0 | Increased the length of the daylight cycle from 14,400 ticks (12 minutes) to 19,200 ticks (16 minutes). | ||||||
| v0.5.0 | The Nether reactor core sets the time to night. | ||||||
| v0.7.3 | Added sunrises, sunsets, the Sun, the Moon, and stars. | ||||||
| v0.10.0 | build 1 | Added the daylight cycle to creative mode. | |||||
| The time of day is now more accurately synced in multiplayer. | |||||||
| Daylight cycles no longer require chunk updates and are now a smooth transition. | |||||||
| v0.11.0 | build 1 | Added option to disable daylight cycle, in creative mode only. | |||||
| v0.12.1 | build 1 | Increased the length of the daylight cycle to 24,000 ticks. | |||||
| Pocket Edition | |||||||
| 1.1.0 | alpha 1.1.0.0 | The sun and moon now rise in the east and set in the west. (Previously they rose in the north and set in the south.) | |||||
Added the game rule doDaylightCycle, which turns the daylight cycle on or off. | |||||||
| Bedrock Edition | |||||||
| 1.21.80 Experiment | Preview 1.21.80.25 | Added unique graphical effects for the daylight cycle with Vibrant Visuals. | |||||
| 1.21.90 | Preview 1.21.90.26 | Added biome configurations for graphical effects for the daylight cycle with Vibrant Visuals. | |||||
| Legacy Console Edition | |||||||
|---|---|---|---|---|---|---|---|
| Xbox 360 | Xbox One | PS3 | PS4 | PS Vita | Wii U | Switch | |
| TU1 | CU1 | 1.00 | 1.00 | 1.00 | Patch 1 | 1.0.1 | Added the daylight cycle, as well as the sun and the moon. |
| TU7 | Sun and moon now rise in the east instead of the north.[is this the correct version?] | ||||||
| TU19 | CU7 | 1.12 | 1.12 | 1.12 | Daylight sensors determine what time of day it is by outputting a redstone signal. | ||
| Added a host option do enable or disable the daylight cycle. | |||||||
| TU25 | CU14 | 1.17 | 1.17 | 1.17 | Added host options for setting the time of day to day or night. | ||
Issues relating to "Daylight cycle" are maintained on the bug tracker. Issues should be reported and viewed there.
/time set command is 2,147,483,647 (231โ1; the 32-bit integer limit). This is equivalent to 89478 days and 11647 ticks. A real-time equivalent counting from January 1, 1 CE[note 3] would be December 25, 1581 CE at 11:28:58.8 (or January 1, 1582 CE at 17:28:58.8 if leap years are ignored).| Environment | |||||||
|---|---|---|---|---|---|---|---|
| Geography | |||||||
| Weather | |||||||
| Dimensions | |||||||
| World types |
| ||||||
| Player constructions |
| ||||||
| Matter | |||||||
| Sound | |||||||
| Joke |
| ||||||
| Bugs |
| ||||||
| Removed |
| ||||||