public static class PotionEvent.PotionRemoveEvent extends PotionEvent
Cancelable
.
This Event does not have a result.PotionEvent.PotionAddedEvent, PotionEvent.PotionApplicableEvent, PotionEvent.PotionExpiryEvent, PotionEvent.PotionRemoveEvent
LivingEvent.LivingJumpEvent, LivingEvent.LivingUpdateEvent
EntityEvent.CanUpdate, EntityEvent.EnteringChunk, EntityEvent.EntityConstructing, EntityEvent.EyeHeight
Event.HasResult, Event.Result
effect
コンストラクタと説明 |
---|
PotionRemoveEvent(LivingEntity living,
Effect potion) |
PotionRemoveEvent(LivingEntity living,
EffectInstance effect) |
修飾子とタイプ | メソッドと説明 |
---|---|
Effect |
getPotion() |
EffectInstance |
getPotionEffect()
Retuns the PotionEffect.
|
getEntityLiving
getEntity
getListenerList, getParentListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult, setup
public PotionRemoveEvent(LivingEntity living, Effect potion)
public PotionRemoveEvent(LivingEntity living, EffectInstance effect)
public Effect getPotion()
@Nullable public EffectInstance getPotionEffect()
PotionEvent
getPotionEffect
クラス内 PotionEvent
Potion
of the right type active.