Enum Dorfbewohner.Type

java.lang.Object
java.lang.Enum<Dorfbewohner.Type>
de.eimmer.wesen.Dorfbewohner.Type
All Implemented Interfaces:
Geschluesselt, Serializable, Comparable<Dorfbewohner.Type>, java.lang.constant.Constable
Enclosing interface:
Dorfbewohner

public static enum Dorfbewohner.Type extends Enum<Dorfbewohner.Type> implements Geschluesselt
Represents Dorfbewohner type, usually corresponding to what biome they spawn in.
  • Enum Constant Details

  • Method Details

    • values

      public static Dorfbewohner.Type[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static Dorfbewohner.Type valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
      NullPointerException - if the argument is null
    • getKey

      @NotNull public NamensraumbezogenerSchluessel getKey()
      Description copied from interface: Geschluesselt
      Return the namespaced identifier for this object.
      Specified by:
      getKey in interface Geschluesselt
      Returns:
      this object's key