Package | Description |
---|---|
org.bukkit |
The root package of the Bukkit API, contains generalized API classes.
|
Modifier and Type | Method | Description |
---|---|---|
static @NotNull Warning.WarningState |
Bukkit.getWarningState() |
Gets the current warning state for the server.
|
@NotNull Warning.WarningState |
Server.getWarningState() |
Gets the current warning state for the server.
|
static @NotNull Warning.WarningState |
Warning.WarningState.value(@Nullable String value) |
This method returns the corresponding warning state for the given
string value.
|
static Warning.WarningState |
Warning.WarningState.valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static Warning.WarningState[] |
Warning.WarningState.values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Copyright © 2020. All rights reserved.