Package | Description |
---|---|
org.bukkit.event.entity |
Modifier and Type | Method and Description |
---|---|
@NotNull EntityPotionEffectEvent.Action |
EntityPotionEffectEvent.getAction()
Gets the action which will be performed on the potion effect type.
|
static EntityPotionEffectEvent.Action |
EntityPotionEffectEvent.Action.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EntityPotionEffectEvent.Action[] |
EntityPotionEffectEvent.Action.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.