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.EntityConstructing, EntityEvent.EyeHeightEvent.HasResult, Event.Resulteffect| コンストラクタと説明 |
|---|
PotionAddedEvent(LivingEntity living,
EffectInstance oldEffect,
EffectInstance newEffect) |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
EffectInstance |
getOldPotionEffect() |
EffectInstance |
getPotionEffect()
Retuns the PotionEffect.
|
getEntityLivinggetEntitygetListenerList, getParentListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult, setuppublic PotionAddedEvent(LivingEntity living, EffectInstance oldEffect, EffectInstance newEffect)
@Nonnull public EffectInstance getPotionEffect()
PotionEventgetPotionEffect クラス内 PotionEvent@Nullable public EffectInstance getOldPotionEffect()