Weather, rain and lightning
Overview
Section titled “Overview”Weather draws rain, thunderstorms, wind, wet ground, puddles, lens drops, and lightning in the viewport. The values you set in the Weather window on the viewport bar are saved in the world file as the world’s base weather, and you can change them over time with the Weather and Lightning row keys in the Sequencer. While a Sequencer weather key exists, that key takes priority over the world weather. Use it to set the mood of a cutscene or to render a rainy scene as video.
Rain streaks, splashes, lightning bolts, and flashes show in every view mode. Wet ground, puddles, puddle reflections, ripples, and lens drops show in the game view (F6) and path tracing (F7) (Game view and shader pack).
Basic use
Section titled “Basic use”-
Click the cloud button on the left bar of the viewport (tooltip “Weather: rain · storm · wind · wetness · puddles · lens drops · lightning (…)”). The window “Weather (world — sequencer weather keys take priority)” opens.
-
Click Rain among the preset buttons at the top. Rain streaks fall in the viewport and the fields change to the rain preset values. Presets change only the weather and leave Sky time (-1 = view setting) as it is.
-
Press F6 to switch to the game view. While it rains, the ground gets gradually wet and darker, and puddles form. The bottom line of the window shows the current values as “Now: … · wetness … · puddles …”. In views other than F6 and F7, the end of this line gets ” — wetness and puddles show in F6 game view · F7 path tracing”.
-
Drag the Wind slider to the right. The rain streaks lean (1 = about 40°). Wind direction is the direction the wind blows toward (0 = +Z south · 90 = +X east).
-
Click Strike lightning. One bolt strikes, the sky and scene flash, and thunder sounds. If a sequence is selected in the Sequencer, it adds a lightning key at that sequence’s playhead instead of flashing (undoable).
-
To change it over time, select a sequence in the Sequencer and double-click the master track’s Weather row. A weather key appears at that time (initial values = the world weather), and the key row below shows the fields Presets… · Rain · Wind · Direction · Clouds · Darkness · Wetness · Puddles · Lens · Lightning and the interpolation. Between keys the values change according to the interpolation.
-
Double-click the Lightning row to add a lightning key at that time. Set Shape (same value = same bolt), Strength (flash multiplier), Distance (blocks from the camera to the bolt, default 48), Direction (-1 = from the shape value), and Thunder.
-
Play the sequence with ▶. Rain comes and goes along the weather key curve, and lightning strikes at the lightning key times. The same time always gives the same picture, so it carries over into video renders as is.
Tips and tricks
Section titled “Tips and tricks”- Undo the world weather: undo changes made in the window with Ctrl+Z. Continuing to drag the same slider counts as one step.
- Automatic wetness and puddles: with Wetness (-1 auto) and Puddles (-1 auto) at -1, the ground gets wet for as long as it has rained (half-life about 15 seconds), and puddles fill up later, following the wetness. With 0 to 1, the value is fixed. In a sequence, automatic wetness starts as if the first key’s value had lasted a long time, so a scene that begins in rain is wet from the start.
- Sky time: Sky time (-1 = view setting) is world data (0 to 24 hours). At -1 it follows the time-of-day slider in the sun window. Once set, F6, F7, the Sequencer preview, and video renders draw the sky at that time, and when you export to a Minecraft world it becomes the
level.dattime. - Distant lightning: bolts are drawn only within about 96 blocks of the camera (same as the Minecraft default). A farther bolt gives only the flash and thunder, with no bolt. Thunder sounds at the same moment as the bolt (no distance delay, unlike vanilla).
- Lens drops per cut: turn on Restart lens drops at every camera cut and drops form again on a clean lens each time the camera cut changes.
- When it is heavy: reduce the number of rain streak and splash particles with the Particles: low · Particles: medium · Particles: high list.
- Sound: turn on Preview rain · thunder sound to hear rain and thunder. Like vanilla, rain sounds only come from the ground around the camera, and you cannot hear them when you are more than 11 blocks above the ground. Rain sound radius (3 to 10 blocks) matches the game’s graphics setting (default 10 blocks · fast 5 blocks). With Thunder: installed Minecraft sound on, it only reads the thunder sound of the Minecraft installed on this PC and plays it (synthesized thunder if there is none). Both values are the same as the fields of the same name in Edit > Editor Preferences… > General. When you pause or stop the sequence, the weather sounds stop too.
- Add a lightning key quickly: move the playhead in the Sequencer, then click Strike lightning in the Weather window to add a lightning key at that time.
Reference
Section titled “Reference”Weather window
Section titled “Weather window”| Field | Range | Meaning |
|---|---|---|
| Preset buttons | Clear · Overcast · Drizzle · Rain · Heavy rain · Thunderstorm | Change the weather values at once (the sky time stays). |
| Rain | 0 to 1 | 0 = none · 1 = downpour (streak count, sound, how fast it gets wet) |
| Wind | 0 to 1 | Rain streak slant (1 = about 40°) |
| Wind direction | 0 to 359 | The direction the wind blows toward (0 = +Z south · 90 = +X east) |
| Clouds | 0 to 1 | Cloud cover — dims the sky and sun |
| Darkness | 0 to 1 | The dark sky of a thunderstorm |
| Wetness (-1 auto) | -1 · 0 to 1 | -1 = builds up with rain time · 0 to 1 = fixed |
| Puddles (-1 auto) | -1 · 0 to 1 | -1 = fills up later, following wetness · 0 to 1 = fixed |
| Splashes · ripples | 0 to 1 | Raindrop splashes and puddle ripples |
| Lens drops | 0 to 1 | Drops that form on the screen (lens) (0 = off) |
| Sky time (-1 = view setting) | -1 · 0 to 24 | The world’s sky time (hours) |
| Auto lightning /min | 0 to 30 | Bolts per minute (0 = lightning keys only) |
| Particles: low · Particles: medium · Particles: high | — | Rain particle budget (6 thousand · 16 thousand · 40 thousand streaks) |
| Puddle reflections | 0 to 1 | Puddle reflection strength (F6 · F7) |
| Restart lens drops at every camera cut | On/off | When the cut changes, clear the lens drops and let them form again |
| Preview rain · thunder sound | On/off | Weather sound |
| Rain sound radius | 3 to 10 blocks | The radius around you where rain sounds play |
| Thunder: installed Minecraft sound | On/off | Preview with the installed thunder sound (video renders use only synthesized thunder) |
| Strike lightning | — | One flash now (if a sequence is selected in the Sequencer, a lightning key at the playhead) |
Sequencer weather keys and lightning keys
Section titled “Sequencer weather keys and lightning keys”| Row | Field | Meaning |
|---|---|---|
| Weather | Presets… | Replace this key with the chosen preset’s values |
| Rain · Wind · Direction · Clouds · Darkness | Same values as the window above | |
| Wetness · Puddles | -1 = auto · 0 to 1 = fixed | |
| Lens | Lens drop strength | |
| Lightning | Automatic lightning frequency (per minute) | |
| Interpolation | From this key to the next (linear · step · smooth …) | |
| Lightning | Shape | Bolt shape and flicker seed (same value = same bolt) |
| Strength | Flash multiplier (0 to 3) | |
| Distance | From the camera to the bolt (4 to 2000 blocks) | |
| Direction | The bolt’s side (0 = +Z south · 90 = +X east, -1 = from the shape value) | |
| Thunder | Thunder sound (at the same moment as the bolt) |
In the game
Section titled “In the game”The world weather in the editor’s Weather window does not change the rain in the game world. In the game, match it as follows.
| What | In the game |
|---|---|
| World weather (rain · thunderstorm) | In the World logic action Set world, change the property weather to clear, rain, or thunder. The condition Weather checks the current weather (clear · rain · thunder). |
| Sequence weather keys · lightning keys | While the server NPBridge 2.1.0 or later plays a cutscene (Play sequence), it sends the rain strength, sky darkness, and lightning at the same times to the viewers only, and returns to the original weather when it ends. |
| Sky time | During a cutscene, the viewers’ sky time needs NPBridge 2.2.1 or later. Outside a cutscene, it is the exported world time. |
| Wetness · puddles · lens drops · flash picture | The NP Lite shader pack draws them. Make shader pack bakes the cutscene sequence’s wind, lens drops, puddles, and flash values into the pack defaults (in the game it is one pack option, so it does not change per key). |
- The game is a vanilla client, so it cannot separately receive cloud cover, bolt shape, per-bolt strength, or turning thunder off. For a key whose clouds or darkness are larger than its rain strength, the game sky is less dark (an export warning).
- A bolt more than 64 blocks away horizontally from the camera strikes at the 60-block spot in the same direction under the default server settings. Change this with
scene.cinematic.weather-far-boltsandscene.cinematic.weather-flash-bolts(near·exact·skip) andscene.cinematic.weather-viewers-only(defaulttrue— cutscene lightning only for the viewers) in the serverconfig.yml. See Installing NPBridge.
Related pages
Section titled “Related pages”Not an official Minecraft product. Not approved by or associated with Mojang or Microsoft.