Enum Class Conditional.Value

java.lang.Object
java.lang.Enum<Conditional.Value>
dev.foxikle.customnpcs.actions.conditions.Conditional.Value
All Implemented Interfaces:
Serializable, Comparable<Conditional.Value>, Constable
Enclosing interface:
Conditional

public static enum Conditional.Value extends Enum<Conditional.Value>
A list of values the plugin can compare
  • Enum Constant Details

    • EXP_LEVELS

      public static final Conditional.Value EXP_LEVELS
      Represents the player's experience levels
    • EXP_POINTS

      public static final Conditional.Value EXP_POINTS
      Represents the player's experience points
    • HEALTH

      public static final Conditional.Value HEALTH
      Represents the player's health
    • ABSORBTION

      public static final Conditional.Value ABSORBTION
      Represents the player's absorbtion
    • Y_COORD

      public static final Conditional.Value Y_COORD
      Represents the player's Y coordinate
    • X_COORD

      public static final Conditional.Value X_COORD
      Represents the player's X coordinate
    • Z_COORD

      public static final Conditional.Value Z_COORD
      Represents the player's Z coordinate
    • HAS_EFFECT

      public static final Conditional.Value HAS_EFFECT
      Represents if the player has an effect
    • HAS_PERMISSION

      public static final Conditional.Value HAS_PERMISSION
      Represents if the player has a permission node
    • GAMEMODE

      public static final Conditional.Value GAMEMODE
      Represents if the player is in the gamemode
    • IS_FLYING

      public static final Conditional.Value IS_FLYING
      Represents if the player is flying
    • IS_SPRINTING

      public static final Conditional.Value IS_SPRINTING
      Represents if the player is sprinting
    • IS_SNEAKING

      public static final Conditional.Value IS_SNEAKING
      Represents if the player is sneaking
    • IS_FROZEN

      public static final Conditional.Value IS_FROZEN
      Represents if the player is frozen
    • IS_GLIDING

      public static final Conditional.Value IS_GLIDING
      Represents if the player is gliding
  • Method Details

    • values

      public static Conditional.Value[] 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

      public static Conditional.Value valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • isLogical

      public boolean isLogical()
      Determines if the value is considdered 'logical'
      Returns:
      if the value is logical