Package | Description |
---|---|
org.bukkit |
More generalized classes in the API.
|
Modifier and Type | Method and Description |
---|---|
static Warning.WarningState |
Bukkit.getWarningState()
Gets the current warning state for the server.
|
Warning.WarningState |
Server.getWarningState()
Gets the current warning state for the server.
|
static Warning.WarningState |
Warning.WarningState.value(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 © 2021. All rights reserved.