Package | Description |
---|---|
org.bukkit.event.entity |
Modifier and Type | Method | 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 | Description |
---|---|
EntityPotionEffectEvent(@NotNull LivingEntity livingEntity,
@Nullable PotionEffect oldEffect,
@Nullable PotionEffect newEffect,
@NotNull EntityPotionEffectEvent.Cause cause,
@NotNull EntityPotionEffectEvent.Action action,
boolean override) |
Copyright © 2020. All rights reserved.