Weather Event
Trigger entries when the weather changes
Fields
| Field | Type | Default | Description |
|---|---|---|---|
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. |
Common TypeWriter fields (triggers)
| Field | Type | Default | Description |
|---|---|---|---|
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.