Class PotionBrewEvent

java.lang.Object
net.minecraftforge.eventbus.api.Event
net.minecraftforge.event.brewing.PotionBrewEvent
Direct Known Subclasses:
PotionBrewEvent.Post, PotionBrewEvent.Pre

public class PotionBrewEvent extends net.minecraftforge.eventbus.api.Event
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static class 
    PotionBrewEvent.Post is fired when a potion is brewed in the brewing stand.
    static class 
    PotionBrewEvent.Pre is fired before vanilla brewing takes place.

    Nested 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
    Modifier and Type
    Field
    Description
     
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
     
  • Method Summary

    Modifier and Type
    Method
    Description
    getItem(int index)
     
    int
     
    void
    setItem(int index, ItemStack stack)
     

    Methods inherited from class net.minecraftforge.eventbus.api.Event

    getListenerList, getParentListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult, setup

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Constructor Details

  • Method Details

    • getItem

      @Nonnull public ItemStack getItem(int index)
    • setItem

      public void setItem(int index, @Nonnull ItemStack stack)
    • getLength

      public int getLength()