Package | Description |
---|---|
org.bukkit.event.entity |
Modifier and Type | Method and Description |
---|---|
@NotNull EntityPotionEffectEvent.Cause |
EntityPotionEffectEvent.getCause()
Gets the cause why the effect has changed.
|
static EntityPotionEffectEvent.Cause |
EntityPotionEffectEvent.Cause.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EntityPotionEffectEvent.Cause[] |
EntityPotionEffectEvent.Cause.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Constructor and Description |
---|
EntityPotionEffectEvent(@NotNull LivingEntity livingEntity,
@Nullable PotionEffect oldEffect,
@Nullable PotionEffect newEffect,
@NotNull EntityPotionEffectEvent.Cause cause,
@NotNull EntityPotionEffectEvent.Action action,
boolean override) |
Copyright © 2021. All rights reserved.