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