The Sun is a sprite appearing in every version of Minecraft (except Classic) that lights up all top-most blocks while it is in the sky. When the player creates a new world the sun starts on the eastern horizon at dawn. As time passes, it will slowly move westward across the sky and over the western horizon while the moon rises on the eastern horizon. Daytime lasts 10 minutes (in real time). Grass blocks will spread quickest when exposed to sunlight, which is at the high-point of the day, at about time 4300. The deeper underground the player is, the less sunlight will illuminate the ground, and ultimately there will be no sunlight at all. A gap or a vertical shaft in the ceiling of a cavern will allow sunlight to filter in.
In Pocket Edition, shadows on entities are influenced by the sun's position.
Sunlight[edit | edit source]
Sunlight, in game, is the name given to the light which illuminates all blocks which do not have a shadow cast over them by a non-transparent block positioned vertically above them in the sky, or if it's raining. Clouds do not cast shadows, and shadows are not affected by the position of the sun in the sky. However, during inclement weather (rain and snow), clouds affect the amount of sunlight in the world. During these storms the ambient light value during the day will be reduced to 12 from the usual 15, and in thunderstorms the light level will be reduced to 7, allowing hostile mobs to spawn.
Hostile mobs[edit | edit source]
Hostile mobs will not spawn in sunlight, although existing mobs are affected in different ways by the light. Skeletons and zombies will be set on fire upon entering an area illuminated by sunlight; however, the mobs will try to avoid contact, and will not burn if the mob is in water or in rain. These mobs will also be safe from the sun if they are under shade. Spiders turn neutral while in direct sunlight, until attacked by the player. Endermen will teleport away from players in sunlight. All other hostile mobs, such as creepers, slimes, and silverfish are completely unaffected by sunlight.
Certain Nether mobs will burn, but otherwise all are also unaffected due to their immunity to fire. Some Nether mobs such as zombie pigmen and magma cubes can spawn in all light conditions. In addition, boss mobs do not take damage from sunlight.
History[edit | edit source]
|?||During the beta period, the Minecraft sun used to rise in the north, not in the east. This was a bug, but was left in the game.|
|1.0.0||Beta 1.9-pre4||The sun and moon now both rise in the east.|
|Both the sun and the moon were changed from being square to having a more rounded look to them.|
|Beta 1.9-pre6||The sun and moon are now square-shaped again.|
|Previously, the Sun and Moon graphics used to be in /terrain in the minecraft.jar. However /terrain isn't used anymore and now the Sun and Moon graphics are in /environment.|
|Pocket Edition Alpha|
|0.7.3||Added the sun.|
|0.8.0||Entities and shadows are affected by the position of the sun.|
|0.10.0||build 1||The sun is now larger.|
|The sun will now set in creative mode.|
|Sunrises and sunsets no longer require chunk updates.|
|build 7||The clouds and the terrain are now tinted red during sunset.|
|TU1||CU1||1.0||Added the sun.|
|TU5||Improved sunrise and sunset.|
Trivia[edit | edit source]
- When the sun rises and sets, the blocks change their light level depending on what angle the sun is at (giving the effect of gradually getting lighter at dawn and gradually getting darker at dusk).
- The sun is larger during sunrise and sunset.
- The position of the sun in the sky does not affect lighting and shadows, so a device such as a sundial would be impossible. However, sun-induced shadows are in Pocket Edition, making this sort of thing possible.
- At a height above the terrain of approximately 1.4 times the render distance, the moon will appear opposite the sun, or, at night, the sun becomes visible opposite the moon, making it seem almost as if the player is in space. Features closer than 1.4 render distance can still partially obscure the otherwise visible sun/moon. At very low render distances this can be achieved by pillaring up, otherwise flying in creative is required.
- If the player is underwater and looks at the sun, it looks the same as the sun at sunset.
Gallery[edit | edit source]
Example of sunset with a “round” sun in Beta 1.9 pre-release 5.
In Pocket Edition, when looking toward the sun. The sky gets slightly darker and the sun slightly larger. (You may need to click the image to see it better.)