Sun
The sun is a celestial body that provides light for the Overworld.
The sun and moon rise in the east and set in the west.
When the player creates a new world, the time is set to dawn and the sun starts on the horizon. As time passes, it slowly moves across the sky. As the sun sets, the moon rises. Overall, daytime lasts 10 minutes (in real-time).


The sun is a celestial body that provides light for the Overworld.
Daytime
The sun and moon rise in the east and set in the west.
When the player creates a new world, the time is set to dawn and the sun starts on the horizon. As time passes, it slowly moves across the sky. As the sun sets, the moon rises. Overall, daytime lasts 10 minutes (in real-time).
Sunlight

Sunlight is the light cast from the sky that burns various undead mobs during daytime. Mobs can shelter from the sunlight by staying underneath any block that does not fully let light through, like glass does, therefore creating a shadow. Clouds can hide the sun, but do not technically block any light and let mobs still burn. During inclement weather, the sky darkens and reduces the amount of light in the world.
Strictly speaking, sunlight can be considered as the presence of both an internal sky light level of at least 12 and a sky light level of 15. Due to this, it is possible to burn undead mobs during rainy weather by covering them with glass.
For more information on how light affects the world, see Light § Effects of light.
The sun itself isn't visible when "Beautiful Skies" are turned off, or during precipitation (even in dry biomes in Java Edition). When the camera faces the sun in Bedrock Edition, the environment darkens and the sun grows slightly bigger. Furthermore, in Bedrock Edition, the sun is noticably bigger during sunset, and disappears at night, while it is still visible below the void in Java Edition. The sun has a pixelated glow texture, which brightens during sunset and sunrise.[BE only]

With Vibrant Visuals, the sun is considered a global directional light source, which creates pixelated shadows from blocks, entities, and clouds on all objects. Water bodies exposed to sunlight create specular highlights on the surface, and project water caustics underwater. With direct diffuse, sunlight illuminates directly exposed surfaces and clouds with an illuminance of 100 lumen, faded during sunrise and sunset. Most cold biomes have brighter sunlight at dusk and dawn, dark forests are limited at 70 lumen, ice spikes at 50, and pale gardens at 5. Diffuse illumination is colored bright orange, fading slightly darker near sunrise and sunset, different shades of purple in mushroom fields,
195, 216, 255 in pale gardens, and
215, 224, 255 in ice spikes.
During sunrise and sunset, the sun creates glowing mie scattering in the atmospherics. Sunlight also creates volumetric fog and light shafts. Depending on the biome, this creates a glow around the sun and scattering effects in its direction, also visible underwater. Through cave openings, the directional lighting can also illuminate areas with lower sky light levels. Light bloom is also visible aorund the sun.
History

Java Edition
| Java Edition Indev | |||||||
|---|---|---|---|---|---|---|---|
| 20100211-2327 | Added day/night cycle with the addition of the sun and the moon. | ||||||
| The sun used to rise in the north, not in the east, and it was used to set in the south, not in the west.[1] This was a bug, but was left in the game for quite a while.[2] | |||||||
| Java Edition Alpha | |||||||
| v1.2.0 | ? | Foreglow and afterglow now occur at sunrise and sunset. | |||||
| Java Edition | |||||||
| 1.0.0 | Beta 1.9 Prerelease 4 | The sun now rises in the east, and sets in the west.[3] | |||||
| The sun was changed from being square to have a more rounded look to it.[4] | |||||||
| Beta 1.9 Prerelease 6 | The sun is now square-shaped again. | ||||||
| 1.5 | 13w02a | Previously, the sun textures used to be in /terrain in the minecraft.jar. They are now contained in /environment. | |||||
| 1.21.11 | 25w41a | Previously, the sun textures used to be in /environment in the minecraft.jar. They are now contained in /environment/celestial. | |||||
Bedrock Edition
| Pocket Edition Alpha | |||||||
|---|---|---|---|---|---|---|---|
| v0.7.3 | Added the sun. | ||||||
| v0.8.0 | build 1 | Entities and shadows are affected by the position of the sun. | |||||
| v0.10.0 | build 1 | The sun is now larger. | |||||
| The sun now sets in creative mode. | |||||||
| Sunrises and sunsets no longer require chunk updates. | |||||||
| build 7 | The clouds and the terrain are now tinted red during sunset. | ||||||
| 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 rise in the north and set in the south.) | |||||
| Bedrock Edition | |||||||
| 1.21.80 Experiment | Preview 1.21.80.25 | The sun is now a directional light source with Vibrant Visuals and creates various graphical effects. | |||||
| Added a unique texture for the sun with Vibrant Visuals. | |||||||
| The sun no longer has a sunlight texture around it due to addition of Vibrant Visuals. | |||||||
| Preview 1.21.90.26 | Added biome configurations for sunlight with Vibrant Visuals. | ||||||
| 1.21.111 | ? | The sun once again has a sunlight texture in Simple and Fancy graphics. | |||||
Legacy Console Edition
| 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 sun. |
| TU5 | Improved sunrise and sunset. | ||||||
Issues
Issues relating to "Sun" are maintained on the bug tracker. Issues should be reported and viewed there.
Trivia
- If the player is underwater or underground and looks at the sun, it appears the same as the sun at sunset. This is due to the way the sun is rendered when exposed to the sky.
- The sun's trajectory forms a perfect vertical circle perpendicular to the ground plane, passing directly through the zenith at noon. This occurs because the rendering logic does not apply any Z-axis rotation or offset to simulate axial tilt or latitude. As a result, the sun does not bias towards the south as it would in the Earth's Northern Hemisphere.
- A custom orbital offset can be applied with Vibrant Visuals resource packs.
Gallery
Textures
-
Default sun texture
-
Vibrant Visuals sun texture
Screenshots
-
The setting sun in Bedrock Edition
-
Volumetric fog and mie scattering around a sunrise with Vibrant Visuals
-
The bloom around the sun with volumetric fog disabled
-
The sun viewed from high up, making it seem like the player is in space
-
Light beams falling into a cave
-
Dense fog makes the sun appear much less bright.
-
In Bedrock Edition, when looking at the sun, the sky gets slightly darker and the sun slightly larger.
-
The sun would look like this, if the player looks away or if the world is heading into the night.
-
Looking down from a large height at night time, it's possible to see the sun under the sea beyond the render distance in Java Edition.
Mojang screenshots
-
The old round and square sun and moon textures
References
- ↑ "yes :(" – @notch (Markus Persson) on X (formerly Twitter), July 5, 2011
- ↑ "It's actually a bug.. ;) We just left it in." – @notch (Markus Persson) on X (formerly Twitter), September 18, 2011
- ↑ "Aaaand now the sun rises in the east. #breakallthesunrises" – @notch (Markus Persson) on X (formerly Twitter), October 13, 2011
- ↑ "I'm making the moon and the sun round. I am very sorry." – @notch (Markus Persson) on X (formerly Twitter), October 13, 2011
Navigation
| Effects | |||||
|---|---|---|---|---|---|
| Environmental |
| ||||
| Settings |
| ||||
| Things | |||||
| Other | |||||
| Removed | |||||
| Joke | |||||

