minecraft.wiki-mirror/wiki_backup/daylight.txt

104 lines
5.7 KiB
Text

{{See also|Moon}}
[[File:Sun.png|thumb|upright|The sun.]]
The '''sun''' is a celestial body that provides [[light]] for the [[Overworld]].
== Daytime ==
{{Main|Daylight cycle}}
[[File:Sunrise.png|thumb|right|Example of the sun rising on the horizon.]]
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 ==
[[File:Mob_burning.png|200px|thumb|right|Screenshot of a skeleton burning in 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 themselves do not cast shadows; however, 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 [[rain]]y weather by covering them with glass.
For more information on how light affects the world, see [[Effects of light|Light § Effects of light]].
== History ==
[[File:Sun of 1.9.png|thumb|right|Example of sunset with a “round” sun before Beta 1.9 pre-release 6.]]
[[File:Redwood Sunset.png|alt=A picture of a sunset over a redwood forest in modern minecraft.|thumb|The modern sunset]]
{{HistoryTable
|{{HistoryLine|java indev}}
|{{HistoryLine||20100211|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.<ref>{{tweet|notch|88155424880201728|yes :(|July 5, 2011}}</ref> This was a bug, but was left in the game for quite a while.<ref>{{tweet|notch|115331778968944640|It's actually a bug.. ;) We just left it in.|September 18, 2011}}</ref>}}
|{{HistoryLine|java alpha}}
|{{HistoryLine||v1.2.0|dev=?|Foreglow and afterglow now occur at sunrise and sunset.}}
|{{HistoryLine|java}}
|{{HistoryLine||1.0.0|dev=Beta 1.9 Prerelease 4|The sun now rises in the east, and sets in the west.<ref>{{tweet|notch|124414532847284224|Aaaand now the sun rises in the east. #breakallthesunrises|October 13, 2011}}</ref>
|The sun was changed from being square to have a more rounded look to it.<ref>{{tweet|notch|124398932376817664|I'm making the moon and the sun round. I am very sorry.|October 13, 2011}}</ref>}}
|{{HistoryLine|||dev=Beta 1.9 Prerelease 6|The sun is now square-shaped again.}}
|{{HistoryLine||1.5|dev=13w02a|Previously, the sun textures used to be in /terrain in the minecraft.jar. They are now contained in /environment.}}
|{{HistoryLine|pocket alpha}}
|{{HistoryLine||v0.7.3|Added the sun.}}
|{{HistoryLine||v0.8.0|dev=build 1|Entities and shadows are affected by the position of the sun.}}
|{{HistoryLine||v0.10.0|dev=build 1|The sun is now larger.|The sun now sets in creative mode.|Sunrises and sunsets no longer require chunk updates.}}
|{{HistoryLine|||dev=build 7|The clouds and the terrain are now tinted red during sunset.}}
|{{HistoryLine|pocket}}
|{{HistoryLine||1.1.0|dev=?|The sun and moon now rise in the east and set in the west.}}
|{{HistoryLine|console}}
|{{HistoryLine||xbox=TU1|xbone=CU1|ps3=1.00|psvita=1.00|ps4=1.00|wiiu=Patch 1|Added the sun.}}
|{{HistoryLine||xbox=TU5|Improved sunrise and sunset.}}
}}
== Issues ==
{{Issue list}}
== Trivia ==
*The sun is visibly larger during sunrise and sunset.
*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.
== Gallery ==
=== Screenshots ===
<gallery>
Sunset In Jungle.png|Example sunset seen from the top of a [[jungle]] [[tree]].
Sun in space.png|The sun viewed from high up, making it seem like the player is in space.
Mcpelookingsun.png|{{IN|be}}, 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.)
Mcpelookingsunafter.png|The sun would look like this, if the player looks away or if the world is heading into the night.
MCPE Sunlight 1.jpg|Sunlight influences shadows on entities in Bedrock Edition.
MCPE Sunlight 2.jpg|The previous screenshot from the opposite angle.
Sun (texture).png|The texture of the sun from the default resource pack.
Sunsetriver.png|River running between [[forest]] and [[windswept hills]] biome with sunset in the background.
SunsetOverMountain.png|The sun sets over a rising windswept hills in the background.
Desertsunset.png|Sunset over a desert and forest. A village can be seen on a hill on the left side.
Sunset over Minecraft.png|Savanna and desert biomes in sunset.
Desertsunsetvillage.png|Sunset over a desert with a village.
Sunrise over a jungle.png|Sunrise over a jungle.
Sun visible at the bottom of the sea.png|Looking down (in this case from Y:203) at night time, it's possible to see the sun under the sea, because the sun and the moon are on opposite sides of each other and due to the distance, the bottom of the sea despawns, leaving a gap where it can be seen.
</gallery>
===Official screenshots===
<gallery>
Round or Square.jpg|The old round and square sun and moon textures.
First Day of Summer.jpg|Players relaxing beneath the sun.
</gallery>
== References ==
{{reflist}}
== Navigation ==
{{Navbox environment}}
[[cs:Slunce]]
[[de:Sonne]]
[[es:Sol]]
[[fr:Soleil]]
[[hu:Nap]]
[[ja:太陽]]
[[ko:태양]]
[[lzh:日]]
[[nl:Zon]]
[[pl:Słońce]]
[[pt:Sol]]
[[ru:Солнце]]
[[th:ดวงอาทิตย์]]
[[uk:Сонце]]
[[zh:太阳]]