forked from nisovin/MagicSpells
-
Notifications
You must be signed in to change notification settings - Fork 72
WeatherSpell
JasperLorelai edited this page Jun 28, 2026
·
1 revision
spell-class: ".instant.WeatherSpell"Important
Introduced in 4.0 Beta 19.
| Value | Supported |
|---|---|
entity |
true |
location |
true |
entity_from_location |
false |
Modifies the world or player weather.
Since 4.0 Beta 13 these options support dynamic values through numeric or string expressions.
| Option | Description | Type | Default |
|---|---|---|---|
rain |
Enables or disables rain as the current weather in the world. | Boolean | Unset |
thunder |
Enables or disables thunder as the current weather in the world. | Boolean | Unset |
duration-clear, duration-weather, duration-thunder
|
Overrides the default randomised weather timers caused by weather changes. These timers determine how long the current state will last before it gets toggled back (See Minecraft Wiki). | Integer server ticks | |
player-weather |
Ignores all other options because it affects only the player weather. Requires a player targert (or caster). |
clear, downfall or reset
|
short-rain:
spell-class: ".instant.WeatherSpell"
always-granted: true
rain: true
duration-weather: 100