|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<CreatureType> org.bukkit.entity.CreatureType
@Deprecated public enum CreatureType
Represents a type of creature.
Enum Constant Summary | |
---|---|
BLAZE
Deprecated. |
|
CAVE_SPIDER
Deprecated. |
|
CHICKEN
Deprecated. |
|
COW
Deprecated. |
|
CREEPER
Deprecated. |
|
ENDER_DRAGON
Deprecated. |
|
ENDERMAN
Deprecated. |
|
GHAST
Deprecated. |
|
GIANT
Deprecated. |
|
MAGMA_CUBE
Deprecated. |
|
MUSHROOM_COW
Deprecated. |
|
PIG
Deprecated. |
|
PIG_ZOMBIE
Deprecated. |
|
SHEEP
Deprecated. |
|
SILVERFISH
Deprecated. |
|
SKELETON
Deprecated. |
|
SLIME
Deprecated. |
|
SNOWMAN
Deprecated. |
|
SPIDER
Deprecated. |
|
SQUID
Deprecated. |
|
VILLAGER
Deprecated. |
|
WOLF
Deprecated. |
|
ZOMBIE
Deprecated. |
Method Summary | |
---|---|
static CreatureType |
fromEntityType(EntityType creatureType)
Deprecated. |
static CreatureType |
fromId(int id)
Deprecated. |
static CreatureType |
fromName(String name)
Deprecated. |
Class<? extends Entity> |
getEntityClass()
Deprecated. |
String |
getName()
Deprecated. |
short |
getTypeId()
Deprecated. |
EntityType |
toEntityType()
Deprecated. |
static CreatureType |
valueOf(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're declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final CreatureType CREEPER
public static final CreatureType SKELETON
public static final CreatureType SPIDER
public static final CreatureType GIANT
public static final CreatureType ZOMBIE
public static final CreatureType SLIME
public static final CreatureType GHAST
public static final CreatureType PIG_ZOMBIE
public static final CreatureType ENDERMAN
public static final CreatureType CAVE_SPIDER
public static final CreatureType SILVERFISH
public static final CreatureType BLAZE
public static final CreatureType MAGMA_CUBE
public static final CreatureType ENDER_DRAGON
public static final CreatureType PIG
public static final CreatureType SHEEP
public static final CreatureType COW
public static final CreatureType CHICKEN
public static final CreatureType SQUID
public static final CreatureType WOLF
public static final CreatureType MUSHROOM_COW
public static final CreatureType SNOWMAN
public static final CreatureType VILLAGER
Method Detail |
---|
public static final CreatureType[] values()
for(CreatureType c : CreatureType.values()) System.out.println(c);
public static CreatureType valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified namepublic String getName()
public Class<? extends Entity> getEntityClass()
public short getTypeId()
public static CreatureType fromName(String name)
public static CreatureType fromId(int id)
@Deprecated public EntityType toEntityType()
public static CreatureType fromEntityType(EntityType creatureType)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |