|— Notch on thunderstorms|
Thunderstorms are a somewhat common and dangerous weather condition.
Thunderstorms are a semi-common temporary, global occurrence that can happen randomly at any time, within the Overworld. The exact type of precipitation during a thunderstorm will vary depending on the temperature of the current biome, and the current altitude, too.
Thunderstorms may occur randomly, as rain or snow storms worsen. The average storm lasts 0.5 – 1 Minecraft day, and there is a 0.5 to 7.5 day delay between thunderstorms. They can be skipped entirely with the use of a bed.
As with rain and snow, the sky is darkened and the sun, moon, and stars are no longer visible. Thunderstorms darken the world, causing light from the sky to decrease to a level of 10 in full daylight (however, brightness is closer to a level 11.5 and is tinted blue). The clouds darken from white to a dark gray, although clouds themselves do not precipitate or create lightning. While the sun is not visible during rain, the glow associated with sunrise and sunset is still visible.
Unlike during regular rainstorms or snowstorms, the light level from the sky is treated as if it were 5 for the purposes of hostile mob spawning, which allows hostile mobs to spawn at any time of the day.
Lightning is a lethal element to thunderstorms. Lightning momentarily increases the sky light's brightness to slightly greater than full daylight.
Lightning strikes randomly and creates fires where it strikes. Such fires act normally, igniting all flammable materials, detonating TNT, and even activating nether portals. The lightning itself however, is not destructive and will not destroy blocks. While most fires are extinguished by the rain, areas that block rain can allow the fire to spread, and any netherrack lit by lightning will not be extinguished by the rain.
Most entities struck by lightning are dealt 5 () damage, and are set on fire, which may cause additional damage. If lightning strikes a pig, it turns into a zombie pigman. If lightning strikes a creeper, it becomes charged. If lightning strikes a villager, it transforms into a witch. If lightning strikes a red mooshroom it will change into a brown mooshroom and vice versa [upcoming: JE 1.14].
Lightning may randomly spawn a "skeleton trap" horse, with a chance of 0.75–1.5% chance on Easy, 1.5–4% on Normal, and 2.8125–6.75% on Hard, depending on the regional difficulty. The trap horse despawns after 15 minutes if no player approaches within 10 blocks.
If the player is killed by a lightning strike, the death message will read "[player] was struck by lightning." However, this message will not display if the player was killed by the fire created by a lightning bolt.
For each loaded chunk, every tick there is a 1⁄100,000 chance of an attempted lightning strike during a thunderstorm.
When lightning is to strike, random X and Z coordinates within the chunk are chosen, and the block just above the highest block that is liquid or blocks movement is chosen for the lightning strike. Then if there are any living entities that can see the sky in a 3×3×h region from 3 below the target block up to the world height, one such entity is selected at random and the lightning target is moved to the block the entity is standing in.
The target block is checked again for the following conditions:
- Target block can see sky.
- Rain (not snow) is falling in the target block.
- Thus, lightning does not naturally strike within cold biomes, or biomes where it does not rain (except in the Console Edition).
If these conditions pass, lightning strikes.
When lightning strikes, all entities within a 6×6×12 region horizontally centered on the northwest corner of the target block with the bottom edge 3 below the target block are struck by lightning. Multiple passes are made over this region, so items dropped during an earlier pass may be destroyed during a subsequent pass; damage immunity usually prevents struck mobs from taking more than 5 () damage. Non-solid blocks (such as redstone, torches, and snow layers) are not directly affected by lightning.
Thunder is a sound event that occurs every time lightning strikes. Every player in the same world where lightning struck will hear the thunder at the same time, regardless of distance from the strike.
The ability to hear thunder affects multiplayer, as it is possible to hear lightning strike at someone else's base or use a modded Minecraft client to determine the direction of every strike in the world the player is in. Using the direction of strikes, it is possible to triangulate the coordinates of lightning strikes. Some of the lightning strikes may be in permanently loaded chunks rather than chunks loaded by a player, but many will be in chunks loaded by players, and it is likely that those players will be close to their base. This means it is possible to use thunder to find other players (and their bases) over any distance.
|Java Edition Beta|
|1.5||Added thunderstorms and lightning.|
|Added the ability for lightning to charge creepers and transform pigs into zombie pigmen.|
|1.7.2||?||The rendering brightness is now decreased during thunderstorms. Previously, the sky would darken, but the ground wouldn't appear to get darker, even though monsters could spawn.|
|The clouds and the sky now appear much darker during thunderstorms.|
|1.8||14w03a||Lightning will now transform villagers into witches.|
|14w30a||Lightning can now be manually summoned with the |
|14w32a||Lightning now damages Nether mobs and mobs with the Fire Resistance status effect.|
|1.9||15w38a||There is a chance (depending on regional difficulty) that a lightning strike will spawn a "skeleton trap" skeletal horse.|
|1.11||16w32a||The entity ID is changed from |
|1.13||18w07a||If a player throws a trident enchanted with Channeling at a mob, a lightning bolt will be summoned and will strike that mob. This is the first and only way that a player can manually summon lightning without commands.|
|1.14||19w08a||If lightning strikes near a red mooshroom it will turn into a brown mooshroom and vice versa.|
|Pocket Edition Alpha|
|0.12.1||build 1||Added thunderstorms.|
|0.14.0||build 1||Lightning will now transform villagers into witches.|
|0.16.0||build 1||There is a chance (depending on regional difficulty) that a lightning strike will spawn a "skeleton trap" skeletal horse.|
|Lightning can now be manually summoned with the |
|1.1.0||alpha 184.108.40.206||The entity ID is changed from |
|1.4.0||?||If a player throws a trident enchanted with Channeling at a mob, a lightning bolt will be summoned and will strike that mob.|
|Legacy Console Edition|
|TU1||CU1||1.00||Patch 1||Added thunderstorms.|
- In Bedrock Edition, If the player leaves the world during a thunderstorm and rejoins, it would only be raining.
- Lightning, unlike other weather effects, does not have an image file associated with it. Thus, it is coded directly into the game engine, allowing for dynamic, realistic lightning.
- In Bedrock Edition, lightning strikes closer to the player more often than in Java Edition and Legacy Console Edition, due to spawn distance limits.
- If multiple lightning bolts strike a single villager at the same time, the number of witches spawned as a result is equal to the number of lightning bolts, making it possible, but ridiculously unlikely, to get multiple witches from one villager. This also works with pig-to-pigman transformations, but not creeper-to-charged transformations as the latter is just a change of state rather than a new entity creation.
- The player cannot see mobs, water, glass, etc., through lightning.
- In Legacy Console Edition, If the player leaves the world with Weather Cycle on during a thunderstorm and rejoins, it would look like it's only raining, even if it is technically still a thunderstorm.