public static class PotionEvent.PotionAddedEvent extends PotionEvent
Cancelable
 This Event does not have a Result.PotionEvent.PotionAddedEvent, PotionEvent.PotionApplicableEvent, PotionEvent.PotionExpiryEvent, PotionEvent.PotionRemoveEventLivingEvent.LivingJumpEvent, LivingEvent.LivingUpdateEventEntityEvent.CanUpdate, EntityEvent.EnteringChunk, EntityEvent.EntityConstructingEvent.HasResult, Event.Resulteffect| Constructor and Description | 
|---|
PotionAddedEvent(EntityLivingBase living,
                PotionEffect oldEffect,
                PotionEffect newEffect)  | 
| Modifier and Type | Method and Description | 
|---|---|
PotionEffect | 
getOldPotionEffect()  | 
PotionEffect | 
getPotionEffect()
Retuns the PotionEffect. 
 | 
getEntityLivinggetEntitygetListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult, setuppublic PotionAddedEvent(EntityLivingBase living, PotionEffect oldEffect, PotionEffect newEffect)
public PotionEffect getPotionEffect()
PotionEventgetPotionEffect in class PotionEventpublic PotionEffect getOldPotionEffect()