Package | Description |
---|---|
org.bukkit |
The root package of the Bukkit API, contains generalized API classes.
|
org.bukkit.entity |
Interfaces for non-voxel objects that can exist in a
world , including all players, monsters, projectiles, etc. |
Modifier and Type | Method and Description |
---|---|
static WeatherType |
WeatherType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static WeatherType[] |
WeatherType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
@Nullable WeatherType |
Player.getPlayerWeather()
Returns the type of weather the player is currently experiencing.
|
Modifier and Type | Method and Description |
---|---|
void |
Player.setPlayerWeather(@NotNull WeatherType type)
Sets the type of weather the player will see.
|
Copyright © 2021. All rights reserved.