Class MobEffectEvent
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
- Direct Known Subclasses:
- MobEffectEvent.Added,- MobEffectEvent.Applicable,- MobEffectEvent.Expired,- MobEffectEvent.Remove
This event is fired when an interaction between a 
LivingEntity and MobEffectInstance happens.
 
 All children of this event are fired on the MinecraftForge.EVENT_BUS.
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic classThis event is fired when a newMobEffectInstanceis added to an entity.static classThis event is fired to check if aMobEffectInstancecan be applied to an entity.static classThis event is fired when aMobEffectInstanceexpires on an entity.static classThis Event is fired when aMobEffectis about to get removed from an Entity.Nested classes/interfaces inherited from class net.minecraftforge.event.entity.living.LivingEventLivingEvent.LivingJumpEvent, LivingEvent.LivingTickEvent, LivingEvent.LivingVisibilityEventNested classes/interfaces inherited from class net.minecraftforge.event.entity.EntityEventEntityEvent.EnteringSection, EntityEvent.EntityConstructingNested classes/interfaces inherited from class net.minecraftforge.eventbus.api.Eventnet.minecraftforge.eventbus.api.Event.HasResult, net.minecraftforge.eventbus.api.Event.Result
- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryMethods inherited from class net.minecraftforge.event.entity.living.LivingEventgetEntityMethods inherited from class net.minecraftforge.eventbus.api.EventgetListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult
- 
Field Details- 
effectInstance
 
- 
- 
Constructor Details- 
MobEffectEvent
 
- 
- 
Method Details- 
getEffectInstance
 
-