BedrioxDOCUMENTATION
API CLASS

WeatherChangeEvent

Cancellable, adjustable intent emitted before authoritative weather changes.

Bedriox\Api\Event\World\WeatherChangeEvent
classBedriox\Api\Event\World

Public methods

__construct(Bedriox\Api\World\World $world, Bedriox\Api\World\WeatherState $previous, Bedriox\Api\World\WeatherState $weather, Bedriox\Api\Event\World\WeatherChangeCause $cause)

Typed public method.

weather(): Bedriox\Api\World\WeatherState

Typed public method.

setWeather(Bedriox\Api\World\WeatherState $weather): void

Typed public method.

View exact source ↗