@Deprecated public enum CreatureType extends Enum<CreatureType>
Enum Constant and Description |
---|
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.
|
Modifier and Type | Method and Description |
---|---|
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.
|
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
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 nameNullPointerException
- if the argument is nullpublic String getName()
@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)
Copyright © 2014. All rights reserved.