Uses of Enum Class
org.bukkit.WeatherType
Package
Description
The root package of the Bukkit API, contains generalized API classes.
Interfaces for non-voxel objects that can exist in a
world
, including all players, monsters, projectiles, etc.-
Uses of WeatherType in org.bukkit
Modifier and TypeMethodDescriptionstatic WeatherType
Returns the enum constant of this class with the specified name.static WeatherType[]
WeatherType.values()
Returns an array containing the constants of this enum class, in the order they are declared. -
Uses of WeatherType in org.bukkit.entity
Modifier and TypeMethodDescriptionPlayer.getPlayerWeather()
Returns the type of weather the player is currently experiencing.Modifier and TypeMethodDescriptionvoid
Player.setPlayerWeather
(@NotNull WeatherType type) Sets the type of weather the player will see.