Enum CreatureType

java.lang.Object
java.lang.Enum<CreatureType>
org.bukkit.entity.CreatureType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<CreatureType>, java.lang.constant.Constable

@Deprecated
public enum CreatureType
extends java.lang.Enum<CreatureType>
Deprecated.
Use EntityType instead.
Represents a type of creature.
  • Nested Class Summary

    Nested classes/interfaces inherited from class java.lang.Enum

    java.lang.Enum.EnumDesc<E extends java.lang.Enum<E>>
  • Enum Constant Summary

    Enum Constants 
    Enum Constant Description
    BLAZE
    Deprecated.
     
    CAVE_SPIDER
    Deprecated.
     
    CHICKEN
    Deprecated.
     
    COW
    Deprecated.
     
    CREEPER
    Deprecated.
     
    ENDER_DRAGON
    Deprecated.
     
    ENDERMAN
    Deprecated.
     
    ENDERMITE
    Deprecated.
     
    GHAST
    Deprecated.
     
    GIANT
    Deprecated.
     
    GUARDIAN
    Deprecated.
     
    MAGMA_CUBE
    Deprecated.
     
    MUSHROOM_COW
    Deprecated.
     
    PIG
    Deprecated.
     
    PIG_ZOMBIE
    Deprecated.
     
    RABBIT
    Deprecated.
     
    SHEEP
    Deprecated.
     
    SILVERFISH
    Deprecated.
     
    SKELETON
    Deprecated.
     
    SLIME
    Deprecated.
     
    SNOWMAN
    Deprecated.
     
    SPIDER
    Deprecated.
     
    SQUID
    Deprecated.
     
    VILLAGER
    Deprecated.
     
    WOLF
    Deprecated.
     
    ZOMBIE
    Deprecated.
     
  • Method Summary

    Modifier and Type Method Description
    static CreatureType fromEntityType​(EntityType creatureType)
    Deprecated.
     
    static CreatureType fromId​(int id)
    Deprecated.
    Magic value
    static CreatureType fromName​(java.lang.String name)
    Deprecated.
     
    java.lang.Class<? extends Entity> getEntityClass()
    Deprecated.
     
    java.lang.String getName()
    Deprecated.
     
    short getTypeId()
    Deprecated.
    Magic value
    EntityType toEntityType()
    Deprecated.
    static CreatureType valueOf​(java.lang.String name)
    Deprecated.
    Returns the enum constant of this type with the specified name.
    static CreatureType[] values()
    Deprecated.
    Returns an array containing the constants of this enum type, in the order they are declared.

    Methods inherited from class java.lang.Enum

    clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait