Enum Class RabbitType

java.lang.Object
java.lang.Enum<RabbitType>
lol.pyr.znpcsplus.util.RabbitType
All Implemented Interfaces:
Serializable, Comparable<RabbitType>, Constable

public enum RabbitType extends Enum<RabbitType>
  • Enum Constant Details

    • BROWN

      public static final RabbitType BROWN
    • WHITE

      public static final RabbitType WHITE
    • BLACK

      public static final RabbitType BLACK
    • BLACK_AND_WHITE

      public static final RabbitType BLACK_AND_WHITE
    • GOLD

      public static final RabbitType GOLD
    • SALT_AND_PEPPER

      public static final RabbitType SALT_AND_PEPPER
    • THE_KILLER_BUNNY

      public static final RabbitType THE_KILLER_BUNNY
    • TOAST

      public static final RabbitType TOAST
  • Method Details

    • values

      public static RabbitType[] 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 RabbitType 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
    • getId

      public int getId()