public static class PotionEvent.PotionRemoveEvent 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 |
|---|
PotionRemoveEvent(EntityLivingBase living,
Potion potion) |
PotionRemoveEvent(EntityLivingBase living,
PotionEffect effect) |
| Modifier and Type | Method and Description |
|---|---|
Potion |
getPotion() |
PotionEffect |
getPotionEffect()
Retuns the PotionEffect.
|
getEntityLivinggetEntitygetListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult, setuppublic PotionRemoveEvent(EntityLivingBase living, Potion potion)
public PotionRemoveEvent(EntityLivingBase living, PotionEffect effect)
public Potion getPotion()
public PotionEffect getPotionEffect()
PotionEventgetPotionEffect in class PotionEventPotion of the right type active.