Enum Class EntitySubType

java.lang.Object
java.lang.Enum<EntitySubType>
be.seeseemelk.mockbukkit.entity.data.EntitySubType
All Implemented Interfaces:
Serializable, Comparable<EntitySubType>, Constable

public enum EntitySubType extends Enum<EntitySubType>
A type of a entity, it still has the same EntityType.
  • Enum Constant Details

    • DEFAULT

      public static final EntitySubType DEFAULT
      The default subtype (adult or ageless)
    • BABY

      public static final EntitySubType BABY
      Baby
    • BIG

      public static final EntitySubType BIG
      Big slime/magma cube
    • MEDIUM

      public static final EntitySubType MEDIUM
      Medium slime/magma cube
    • SMALL

      public static final EntitySubType SMALL
      Small slime/magma cube
  • Method Details

    • values

      public static EntitySubType[] 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 EntitySubType 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
    • getName

      public String getName()
      Returns:
      The key this property is assigned to