Weather



Weather in Minecraft consists of occasional precipitation and storms that are temporary but global.

Behavior


The type of weather that occurs depends on several variable factors, including the temperature of the current biome, and the altitude in which it occurs.

The initial occurrence of inclement weather is predetermined per seed. For example, if the first storm occurs during the second day in one world, and another world is created with the same seed, a storm will also occur during the second day. The average storm lasts 0.5 – 1 day, and there is a 0.5 - 7.5 day delay between storms. Storms can be skipped entirely with the use of a bed.

Players who have cheats enabled can change the current weather if they wish, by entering one of the following commands:  or, and  to clear the inclement weather. Note that  is the number of seconds that the weather will take place. will also switch to inclement weather, or vice versa.

Effects
Inclement weather will reduce the sky light level, depending on the severity of the storm. Because of this, villagers will return to their homes until the storm passes.

The sky itself will darken, to the point where celestial bodies (including the sun, moon, and stars) are no longer visible. The clouds will darken depending on the severity of the weather; note that the clouds themselves do not precipitate. Although the sun is not visible during rain, the glow associated with sunrise and sunset is still visible.

Rain
Rain will only occur in biomes with a temperature of 0.15-0.95. Rainstorms reduce the light level to 12 in full daylight.

Rain will put out fires (including flaming arrows ). However, it will not put out fires on netherrack, and it will not solidify lava. Mobs that are on fire will be put out on contact with rain; this prevents skeletons and zombies from burning during the day. On the contrary, endermen and snowmen may die due to their weakness to water. Endermen will teleport randomly until they find a place which is dry. Blazes that are brought into the Overworld will die on contact with rain as well.



Other interesting effects caused by rain:


 * Fish are more abundant during rain.
 * Wolves shake themselves dry if they are not moving (certain versions only).
 * Farmland becomes hydrated if it isn't already.
 * Rain fills up cauldrons with water, albeit slowly.

Rain particles make noise when they hit a block, and this noise can be heard at any point within 16 blocks. These particles (along with the associated sound) can be disabled by setting Particles to "Minimal" in the Video Settings menu.

Snow


Snowfall will only occurs only in biomes with a temperature less than 0.15, or above a sufficient altitude. Like rainstorms, snowstorms will reduce the light level to 12 in full daylight.

As it snows, snow layers regenerates over all non-transparent blocks. In Pocket Edition, these snow layers will accumulate and grow over time. Snow will not cover transparent blocks.

Note that any entities on fire will not be put out on contact with snow.



Thunderstorm
Thunderstorms may occur in any biome. They will darken the land even further than the above storms, reducing the light level to 10; however, the light level from the sky is treated as if it were 5, allowing hostile mobs to spawn at any time of the day.

Lightning
Lightning occurs frequently during thunderstorms. It strikes randomly, creating fires where it strikes, igniting any nearby flammable materials, but the rain usually puts the fire out before it can spread. Note that lightning can only strike blocks that are exposed to the rain.

Lightning deals damage to entities on normal difficulty, not including the damage done by the fire it causes. It will turn creepers into charged creepers, villagers into witches and pigs into zombie pigmen.

Lightning may randomly spawn a "skeleton trap" skeletal horse, with a chance of 3.75–7.5% on Easy, 7.5–20% on Normal, and 11.25–33.75% on Hard, depending on the regional difficulty.

Thunder is a sound that occurs every time lightning strikes. It can be heard by the player up to 160,000 blocks away from the position of the lightning strike. Thunder is heard instantly, regardless the player's distance from the lightning strike itself.

Lightning may be manually summoned with the command. While it is summoned as an entity, it cannot be referred to by commands or selectors.

Trivia



 * Rain and snow will still fall above the clouds. Notch's explanation is that the gray above the clouds during a storm is another layer of clouds and the origin of the rain.
 * Rain and snow are both considered the same weather effect by the game.
 * This explains why there is no command.
 * Rain and snow actually fall one block into the void (Layer -1). This can be seen in Creative Mode by floating in the Void. Note that no particles are emitted from the rain, due to the absence of a block below it.
 * Lightning does not have an image file associated with it. Thus, it is coded directly into the game engine, allowing for dynamic, realistic lightning.
 * In Pocket Edition, the sky darkens during rain, but the sun is still visible.