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.EntityConstructing, EntityEvent.EyeHeightEvent.HasResult, Event.Resulteffect| コンストラクタと説明 |
|---|
PotionRemoveEvent(LivingEntity living,
Effect potion) |
PotionRemoveEvent(LivingEntity living,
EffectInstance effect) |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
Effect |
getPotion() |
EffectInstance |
getPotionEffect()
Retuns the PotionEffect.
|
getEntityLivinggetEntitygetListenerList, getParentListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult, setuppublic PotionRemoveEvent(LivingEntity living, Effect potion)
public PotionRemoveEvent(LivingEntity living, EffectInstance effect)
public Effect getPotion()
@Nullable public EffectInstance getPotionEffect()
PotionEventgetPotionEffect クラス内 PotionEventPotion of the right type active.