Enum Class Conditional.Value
- All Implemented Interfaces:
Serializable
,Comparable<Conditional.Value>
,Constable
- Enclosing interface:
Conditional
A list of values the plugin can compare
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionRepresents the player's absorbtionRepresents the player's experience levelsRepresents the player's experience pointsRepresents if the player is in the gamemodeRepresents if the player has an effectRepresents if the player has a permission nodeRepresents the player's healthRepresents if the player is flyingRepresents if the player is frozenRepresents if the player is glidingRepresents if the player is sneakingRepresents if the player is sprintingRepresents the player's X coordinateRepresents the player's Y coordinateRepresents the player's Z coordinate -
Method Summary
Modifier and TypeMethodDescriptionboolean
Determines if the value is considdered 'logical'static Conditional.Value
Returns the enum constant of this class with the specified name.static Conditional.Value[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
EXP_LEVELS
Represents the player's experience levels -
EXP_POINTS
Represents the player's experience points -
HEALTH
Represents the player's health -
ABSORBTION
Represents the player's absorbtion -
Y_COORD
Represents the player's Y coordinate -
X_COORD
Represents the player's X coordinate -
Z_COORD
Represents the player's Z coordinate -
HAS_EFFECT
Represents if the player has an effect -
HAS_PERMISSION
Represents if the player has a permission node -
GAMEMODE
Represents if the player is in the gamemode -
IS_FLYING
Represents if the player is flying -
IS_SPRINTING
Represents if the player is sprinting -
IS_SNEAKING
Represents if the player is sneaking -
IS_FROZEN
Represents if the player is frozen -
IS_GLIDING
Represents if the player is gliding
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
isLogical
public boolean isLogical()Determines if the value is considdered 'logical'- Returns:
- if the value is logical
-