World / Server paper/world_weather

World Weather

Gets or sets the weather of a world.

Inputs

NameTypeOptionalDescription
exec exec Incoming execution.
world any World object or world name string.

Outputs

NameTypeDescription
exec exec Continues after the operation.
isRaining boolean True if it is currently raining.
isThundering boolean True if it is thundering.

Properties

KeyTypeDefaultDescription
op select "GET" Operation
rain boolean false Rain (for SET)
thunder boolean false Thunder (for SET)
duration number 6000 Duration in ticks (for SET)