Rain

Rain is an element in the game. Much like snowfall, it is a type of weather. It currently exists in Classic and Beta versions of the game.

Rain in Classic
Rain is a feature activated by pressing F5 in-game in Classic. Rain can also fall on Multiplayer, but cannot be seen by other players. It will only fall where the sky isn't blocked and has no effect on gameplay. Rain is a single moving sprite. When it falls on a block it makes a splashing effect. To improve frame rate, rain isn't replicated all throughout a map. It is instead one sprite on all sides of the player. When the player goes inside and far away from the falling rain it disappears but reappears when you move close to outside again. Water does not stop rain like a solid block. Instead, it falls through as if there was air. The same applies to lava and small plants.

Rain in Beta
Rain and falling snow were included in Beta 1.5. Rain looks identical to the rain in Classic, but also plays two different sound files.

Precipitation varies by biome. Rain never falls in deserts though the sky still darkens, and in winter biomes snow falls instead of rain. If you are between a biome that produces rain and another that produces snow, you can see both snow and rain.

Rain and snow

 * Rain and snowfall are temporary but global occurrences.
 * During rain and snow, thunderstorms become possible.
 * Rain and snowfalls decrease the light level by 3, to light level 12 in full daylight.

Rain

 * It does not solidify lava or put out torches, but it does put out fires except those on netherrack.
 * Rain prevents monsters from burning, unless the lighting is adequate and shelter from the rain is provided.
 * Fish are more abundant during rain.
 * Wolves get wet in the rain and farmland is hydrated if it isn't already.
 * Hostile mobs will spawn in rain if a thunderstorm is nearby.

History
In early Classic, rain was introduced to the game to test out this feature. It was purely for cosmetic purposes at that time. The mechanics were simple, only testing if there is a block above to shelter the rain. It could be toggled on and off in-game using the F5 key. This feature later vanished when Indev was introduced.

After Minecraft Beta 1.5's announcement, a preview video was uploaded onto the TeamMojang YouTube channel showing weather and other future updates. rain was then introduced the following week.

Bugs

 * When going down a ladder exposed to the sky, rain moves slower than it should, and moves at the same pace as if one were normally falling. This makes the rain appear to freeze and the player fall faster than it.
 * If you are in a cloud, the rain will let you "see" through the cloud.
 * When you open your inventory, the sun, moon and stars re-appear.
 * If you start to break glass with rain in front of it, the rain will disappear.
 * Rain doesn't pass through signs.
 * Rain does not extinguish burning mobs when they are standing in doorways.

Trivia

 * Rain is a single moving sprite.
 * The particles associated with rain hitting solid blocks does not show when the graphics setting is set to Fast.
 * Rain falls only in the two middle lines of a block, therefore it looks like it is not raining directly above you, but actually the "square" in the sky is shifted half a block in each direction.
 * In the code snow and rain are classified the same.
 * Although you cannot see the sun during rain, the glow associated with sunrise and sunset is still visible.
 * When the player uses a Bed, the rain stops when they wake up.