Enum Class HookEntity.HookState

java.lang.Object
java.lang.Enum<HookEntity.HookState>
com.pixelmonmod.pixelmon.entities.projectiles.HookEntity.HookState
All Implemented Interfaces:
Serializable, Comparable<HookEntity.HookState>, Constable
Enclosing class:
HookEntity

public static enum HookEntity.HookState extends Enum<HookEntity.HookState>
State of a hook. -1 -> nothing. 0 -> in water, nothing caught. 1 -> common entity caught 2 -> uncommon entity caught 3 -> rare entity caught
  • Enum Constant Details

  • Method Details

    • values

      public static HookEntity.HookState[] 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 HookEntity.HookState 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