Uses of Enum Class
org.bukkit.event.entity.EntityPotionEffectEvent.Cause
Package
Description
-
Uses of EntityPotionEffectEvent.Cause in org.bukkit.event.entity
Modifier and TypeMethodDescriptionEntityPotionEffectEvent.getCause()
Gets the cause why the effect has changed.Returns the enum constant of this class with the specified name.static EntityPotionEffectEvent.Cause[]
EntityPotionEffectEvent.Cause.values()
Returns an array containing the constants of this enum class, in the order they are declared.ModifierConstructorDescriptionEntityPotionEffectEvent(@NotNull LivingEntity livingEntity, @Nullable PotionEffect oldEffect, @Nullable PotionEffect newEffect, @NotNull EntityPotionEffectEvent.Cause cause, @NotNull EntityPotionEffectEvent.Action action, boolean override)