public interface ChangeEntityPotionEffectEvent extends TargetEntityEvent, Cancellable
| Modifier and Type | Interface and Description | 
|---|---|
static interface  | 
ChangeEntityPotionEffectEvent.Expire
An event where the  
PotionEffect is forcibly expiring. | 
static interface  | 
ChangeEntityPotionEffectEvent.Gain
An event where the  
PotionEffect is being added. | 
static interface  | 
ChangeEntityPotionEffectEvent.Remove
An event where the  
PotionEffect is being removed. | 
| Modifier and Type | Method and Description | 
|---|---|
List<PotionEffect> | 
getCurrentEffects()
Gets a copy of all current effects applied on the entity. 
 | 
PotionEffect | 
getPotionEffect()
Gets the potion effect involved in this event. 
 | 
getTargetEntitygetCause, getContext, getSourceisCancelled, setCancelledList<PotionEffect> getCurrentEffects()
PotionEffect getPotionEffect()