public enum EntityStatus extends Enum<EntityStatus>
PacketPlayOutEntityStatus
Enum Constant and Description |
---|
ANIMAL_LOVE
Animals like each other
|
ANIMAL_TAMED
A wolf that has been tamed
|
ANIMAL_TAMING
A wolf is being tamed
|
EATING_ACCEPTED
Occurs after food is consumed
|
ENTITY_DEAD
Entity has died
|
ENTITY_HURT
Entity has been hurt
|
FIREWORK_EXPLODE
When a firework destroys itself and effects follow
|
GOLEM_HANDLING
An Iron Golem picks an entity up
|
GOLEM_MASH
An Iron Golem smashes an (unfortunate) mob
|
SHEEP_EAT
Sheep bends down to eat grass
|
VILLAGER_ANGRY
A villager is displeased by something
|
VILLAGER_HAPPY
The villager is pleased by something
|
VILLAGER_MATING
A villager mates
|
WITCH_ANIMATION
Something the witch does
|
WOLF_SHAKING
A wolf that is shaking water off
|
ZOMBIE_SHAKE
When a villager-zombie is cured and turns back into a villager
|
Modifier and Type | Method and Description |
---|---|
byte |
asByte()
Gets the ID value representing the status
|
static EntityStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EntityStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EntityStatus ENTITY_HURT
public static final EntityStatus ENTITY_DEAD
public static final EntityStatus GOLEM_MASH
public static final EntityStatus ANIMAL_TAMING
public static final EntityStatus ANIMAL_TAMED
public static final EntityStatus WOLF_SHAKING
public static final EntityStatus EATING_ACCEPTED
public static final EntityStatus SHEEP_EAT
public static final EntityStatus GOLEM_HANDLING
public static final EntityStatus VILLAGER_MATING
public static final EntityStatus VILLAGER_ANGRY
public static final EntityStatus VILLAGER_HAPPY
public static final EntityStatus WITCH_ANIMATION
public static final EntityStatus ZOMBIE_SHAKE
public static final EntityStatus FIREWORK_EXPLODE
public static final EntityStatus ANIMAL_LOVE
public static EntityStatus[] values()
for (EntityStatus c : EntityStatus.values()) System.out.println(c);
public static EntityStatus 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 byte asByte()
byte
ID valueCopyright © 2016. All rights reserved.