Class PotionEvent.PotionExpiryEvent
- java.lang.Object
-
- net.minecraftforge.eventbus.api.Event
-
- net.minecraftforge.event.entity.EntityEvent
-
- net.minecraftforge.event.entity.living.LivingEvent
-
- net.minecraftforge.event.entity.living.PotionEvent
-
- net.minecraftforge.event.entity.living.PotionEvent.PotionExpiryEvent
-
- Enclosing class:
- PotionEvent
public static class PotionEvent.PotionExpiryEvent extends PotionEvent
This Event is fired when a Potion effect expires on an Entity. This Event is notCancelable
This Event does not have a Result.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class net.minecraftforge.event.entity.living.PotionEvent
PotionEvent.PotionAddedEvent, PotionEvent.PotionApplicableEvent, PotionEvent.PotionExpiryEvent, PotionEvent.PotionRemoveEvent
-
Nested classes/interfaces inherited from class net.minecraftforge.event.entity.living.LivingEvent
LivingEvent.LivingJumpEvent, LivingEvent.LivingUpdateEvent, LivingEvent.LivingVisibilityEvent
-
Nested classes/interfaces inherited from class net.minecraftforge.event.entity.EntityEvent
EntityEvent.CanUpdate, EntityEvent.EnteringChunk, EntityEvent.EntityConstructing, EntityEvent.Size
-
-
Field Summary
-
Fields inherited from class net.minecraftforge.event.entity.living.PotionEvent
effect
-
-
Constructor Summary
Constructors Constructor Description PotionExpiryEvent(LivingEntity living, EffectInstance effect)
-
Method Summary
-
Methods inherited from class net.minecraftforge.event.entity.living.PotionEvent
getPotionEffect
-
Methods inherited from class net.minecraftforge.event.entity.living.LivingEvent
getEntityLiving
-
Methods inherited from class net.minecraftforge.event.entity.EntityEvent
getEntity
-
-
-
-
Constructor Detail
-
PotionExpiryEvent
public PotionExpiryEvent(LivingEntity living, EffectInstance effect)
-
-