类 MobEffectEvent.Remove
java.lang.Object
net.minecraftforge.eventbus.api.Event
net.minecraftforge.event.entity.EntityEvent
net.minecraftforge.event.entity.living.LivingEvent
net.minecraftforge.event.entity.living.MobEffectEvent
net.minecraftforge.event.entity.living.MobEffectEvent.Remove
- 封闭类:
MobEffectEvent
This Event is fired when a
MobEffect
is about to get removed from an Entity.
This Event is Cancelable
. If canceled, the effect will not be removed.
This Event does not have a result.-
嵌套类概要
从类继承的嵌套类/接口 net.minecraftforge.event.entity.living.MobEffectEvent
MobEffectEvent.Added, MobEffectEvent.Applicable, MobEffectEvent.Expired, MobEffectEvent.Remove
从类继承的嵌套类/接口 net.minecraftforge.event.entity.living.LivingEvent
LivingEvent.LivingJumpEvent, LivingEvent.LivingTickEvent, LivingEvent.LivingVisibilityEvent
从类继承的嵌套类/接口 net.minecraftforge.event.entity.EntityEvent
EntityEvent.EnteringSection, EntityEvent.EntityConstructing
从类继承的嵌套类/接口 net.minecraftforge.eventbus.api.Event
net.minecraftforge.eventbus.api.Event.HasResult, net.minecraftforge.eventbus.api.Event.Result
-
字段概要
字段从类继承的字段 net.minecraftforge.event.entity.living.MobEffectEvent
effectInstance
-
构造器概要
构造器构造器说明Remove
(LivingEntity living, MobEffect effect) Remove
(LivingEntity living, MobEffectInstance effectInstance) -
方法概要
从类继承的方法 net.minecraftforge.event.entity.living.LivingEvent
getEntity
从类继承的方法 net.minecraftforge.eventbus.api.Event
getListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult
-
字段详细资料
-
effect
-
-
构造器详细资料
-
Remove
-
Remove
-
-
方法详细资料
-
getEffect
- 返回:
- the
MobEffectEvent
which is being removed from the entity
-
getEffectInstance
- 覆盖:
getEffectInstance
在类中MobEffectEvent
- 返回:
- the
MobEffectInstance
. In the remove event, this can be null if the entity does not have aMobEffect
of the right type active.
-