|
||||||||||
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. Magic value |
static CreatureType |
fromName(String name)
Deprecated. |
Class<? extends Entity> |
getEntityClass()
Deprecated. |
String |
getName()
Deprecated. |
short |
getTypeId()
Deprecated. Magic value |
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 are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
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 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 name
NullPointerException
- if the argument is nullpublic String getName()
public Class<? extends Entity> getEntityClass()
@Deprecated public short getTypeId()
public static CreatureType fromName(String name)
@Deprecated 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 |