Package | Description |
---|---|
org.bukkit.event.weather |
Events relating to weather. |
Modifier and Type | Method and Description |
---|---|
@NotNull WeatherChangeEvent.Cause |
WeatherChangeEvent.getCause()
Gets the cause of the weather change.
|
static WeatherChangeEvent.Cause |
WeatherChangeEvent.Cause.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static WeatherChangeEvent.Cause[] |
WeatherChangeEvent.Cause.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Constructor and Description |
---|
WeatherChangeEvent(@NotNull World world,
boolean to,
@NotNull WeatherChangeEvent.Cause cause) |
Copyright © 2022. All rights reserved.