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