@Environment(value=CLIENT) public static enum IllagerEntity.State extends Enum<IllagerEntity.State>
Enum Constant and Description |
---|
ATTACKING |
BOW_AND_ARROW |
CELEBRATING |
CROSSBOW_CHARGE |
CROSSBOW_HOLD |
CROSSED |
NEUTRAL |
SPELLCASTING |
Modifier and Type | Method and Description |
---|---|
static IllagerEntity.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static IllagerEntity.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IllagerEntity.State CROSSED
public static final IllagerEntity.State ATTACKING
public static final IllagerEntity.State SPELLCASTING
public static final IllagerEntity.State BOW_AND_ARROW
public static final IllagerEntity.State CROSSBOW_HOLD
public static final IllagerEntity.State CROSSBOW_CHARGE
public static final IllagerEntity.State CELEBRATING
public static final IllagerEntity.State NEUTRAL
public static IllagerEntity.State[] values()
for (IllagerEntity.State c : IllagerEntity.State.values()) System.out.println(c);
public static IllagerEntity.State 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 null