Weather Event
Trigger entries when the weather changes
Felder
| Feld | Typ | Standard | Beschreibung |
|---|---|---|---|
world | Var<String> | — | The world to listen for weather changes in. If empty, triggers for all worlds. |
condition | WeatherCondition? | — | The weather condition triggering the event (RAIN or CLEAR). If null, triggers on any change. |
Gemeinsame TypeWriter-Felder (triggers)
| Feld | Typ | Standard | Beschreibung |
|---|---|---|---|
triggers | List<Ref<TriggerableEntry>> | empty | — |
How to use it
world limits the event to one world by its name (empty means every world). condition is RAIN or CLEAR; leave it empty to react to every change. The triggers run for every player who is in that world when the weather changes.