public enum EntityEffect extends Enum<EntityEffect>
| Enum Constant and Description | 
|---|
| DEATHWhen a mob dies. | 
| FIREWORK_EXPLODEWhen a firework explodes. | 
| HURTWhen mobs get hurt. | 
| IRON_GOLEM_ROSEWhen an Iron Golem gives a rose. | 
| SHEEP_EATWhen a sheep eats a LONG_GRASS block. | 
| VILLAGER_ANGRYWhen a villager is angry. | 
| VILLAGER_HAPPYHappy particles from a villager. | 
| VILLAGER_HEARTHearts from a villager. | 
| WITCH_MAGICMagic particles from a witch. | 
| WOLF_HEARTSThe hearts when taming a wolf succeeds. | 
| WOLF_SHAKEWhen a wolf shakes (after being wet). | 
| WOLF_SMOKEThe smoke when taming a wolf fails. | 
| ZOMBIE_TRANSFORMWhen a zombie transforms into a villager by shaking violently. | 
| Modifier and Type | Method and Description | 
|---|---|
| static EntityEffect | getByData(byte data)Deprecated. 
 Magic value | 
| byte | getData()Deprecated. 
 Magic value | 
| static EntityEffect | valueOf(String name)Returns the enum constant of this type with the specified name. | 
| static EntityEffect[] | values()Returns an array containing the constants of this enum type, in
the order they are declared. | 
public static final EntityEffect HURT
public static final EntityEffect DEATH
This will cause client-glitches!
public static final EntityEffect WOLF_SMOKE
Without client-mods this will be ignored if the entity is not a wolf.
public static final EntityEffect WOLF_HEARTS
Without client-mods this will be ignored if the entity is not a wolf.
public static final EntityEffect WOLF_SHAKE
Without client-mods this will be ignored if the entity is not a wolf.
public static final EntityEffect SHEEP_EAT
public static final EntityEffect IRON_GOLEM_ROSE
This will not play an effect if the entity is not an iron golem.
public static final EntityEffect VILLAGER_HEART
This will not play an effect if the entity is not a villager.
public static final EntityEffect VILLAGER_ANGRY
This will not play an effect if the entity is not a villager.
public static final EntityEffect VILLAGER_HAPPY
This will not play an effect if the entity is not a villager.
public static final EntityEffect WITCH_MAGIC
This will not play an effect if the entity is not a witch.
public static final EntityEffect ZOMBIE_TRANSFORM
This will not play an effect if the entity is not a zombie.
public static final EntityEffect FIREWORK_EXPLODE
This will not play an effect if the entity is not a firework.
public static EntityEffect[] values()
for (EntityEffect c : EntityEffect.values()) System.out.println(c);
public static EntityEffect 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@Deprecated public byte getData()
@Deprecated public static EntityEffect getByData(byte data)
data - Data value to fetchEntityEffect representing the given value, or null
     if it doesn't existCopyright © 2015. All rights reserved.