Enum Class EntityPotionEffectEvent.Cause

java.lang.Object
java.lang.Enum<EntityPotionEffectEvent.Cause>
org.bukkit.event.entity.EntityPotionEffectEvent.Cause
All Implemented Interfaces:
Serializable, Comparable<EntityPotionEffectEvent.Cause>, Constable
Enclosing class:
EntityPotionEffectEvent

public static enum EntityPotionEffectEvent.Cause extends Enum<EntityPotionEffectEvent.Cause>
An enum to specify the cause why an effect was changed.
  • Nested Class Summary

    Nested classes/interfaces inherited from class java.lang.Enum

    Enum.EnumDesc<E extends Enum<E>>
  • Enum Constant Summary

    Enum Constants
    Enum Constant
    Description
    When the entity stands inside an area effect cloud.
    When the entity is hit by an spectral or tipped arrow.
    When the entity is inflicted with a potion effect due to an entity attack (e.g.
    When an entity gets the effect from an axolotl.
    When beacon effects get applied due to the entity being nearby.
    When a potion effect is changed due to the /effect command.
    When the entity gets the effect from a conduit.
    When a conversion from a villager zombie to a villager is started or finished.
    When all effects are removed due to death.
    When the entity gets the effect from a dolphin.
    When the effect was removed due to expiration.
    When an effect is inflicted due to food (e.g.
    When an illusion illager makes himself disappear.
    When all effects are removed due to a bucket of milk.
    When a player gets bad omen after killing a patrol captain.
    When a potion effect is modified through the plugin methods.
    When the entity drinks a potion.
    When the entity is inflicted with an effect due to a splash potion.
    When a spider gets effects when spawning on hard difficulty.
    When the entity gets effects from a totem item saving it's life.
    When the entity gets water breathing by wearing a turtle helmet.
    When the Cause is missing.
    When a villager gets regeneration after a trade.
    When an entity gets the effect from a warden.
    When an entity comes in contact with a wither rose.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the enum constant of this class with the specified name.
    Returns an array containing the constants of this enum class, in the order they are declared.

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait