Class PotionEvent

java.lang.Object
net.minecraftforge.eventbus.api.Event
Direct Known Subclasses:
PotionEvent.PotionAddedEvent, PotionEvent.PotionApplicableEvent, PotionEvent.PotionExpiryEvent, PotionEvent.PotionRemoveEvent

public class PotionEvent extends LivingEvent
This Event and its subevents gets fired from EntityLivingBase on the MinecraftForge.EVENT_BUS.
  • Field Details

  • Constructor Details

  • Method Details

    • getPotionEffect

      @Nullable public EffectInstance getPotionEffect()
      Retuns the PotionEffect.