Class PotionEvent
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
- Direct Known Subclasses:
PotionEvent.PotionAddedEvent,PotionEvent.PotionApplicableEvent,PotionEvent.PotionExpiryEvent,PotionEvent.PotionRemoveEvent
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classThis Event is fired when a new Potion is added to the Entity.static classThis Event is fired to check if a Potion can get applied to an Entity.static classThis Event is fired when a Potion effect expires on an Entity.static classThis Event is fired when a Potion is about to get removed from an Entity.Nested classes/interfaces inherited from class net.minecraftforge.event.entity.living.LivingEvent
LivingEvent.LivingJumpEvent, LivingEvent.LivingUpdateEvent, LivingEvent.LivingVisibilityEventNested classes/interfaces inherited from class net.minecraftforge.event.entity.EntityEvent
EntityEvent.CanUpdate, EntityEvent.EnteringSection, EntityEvent.EntityConstructing, EntityEvent.SizeNested classes/interfaces inherited from class net.minecraftforge.eventbus.api.Event
net.minecraftforge.eventbus.api.Event.HasResult, net.minecraftforge.eventbus.api.Event.Result -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class net.minecraftforge.event.entity.living.LivingEvent
getEntityLivingMethods inherited from class net.minecraftforge.event.entity.EntityEvent
getEntityMethods inherited from class net.minecraftforge.eventbus.api.Event
getListenerList, getParentListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult, setup
-
Field Details
-
effect
-
-
Constructor Details
-
PotionEvent
-
-
Method Details
-
getPotionEffect
Retuns the PotionEffect.
-