Class PotionEvent.PotionApplicableEvent

java.lang.Object
net.minecraftforge.eventbus.api.Event
Enclosing class:
PotionEvent

public static class PotionEvent.PotionApplicableEvent extends PotionEvent
This Event is fired to check if a Potion can get applied to an Entity. This Event is not Cancelable This Event has a result Event.HasResult. ALLOW will apply this potion effect. DENY will not apply this potion effect. DEFAULT will run vanilla logic to determine if this potion isApplicable.