package org.bukkit; import java.util.Map; import com.google.common.collect.Maps; /** * A list of all Effects that can happen to entities. */ public enum EntityEffect { /** * When mobs get hurt. */ HURT(2), /** * When a mob dies. *
* This will cause client-glitches! */ DEATH(3), /** * The smoke when taming a wolf fails. * * Without client-mods this will be ignored if the entity is not a wolf. */ WOLF_SMOKE(6), /** * The hearts when taming a wolf succeeds. * * Without client-mods this will be ignored if the entity is not a wolf. */ WOLF_HEARTS(7), /** * When a wolf shakes (after being wet). * * Without client-mods this will be ignored if the entity is not a wolf. */ WOLF_SHAKE(8), /** * When a sheep eats a LONG_GRASS block. */ SHEEP_EAT(10); private final byte data; private final static Map