Class PotionBrewEvent

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  PotionBrewEvent.Post
      PotionBrewEvent.Post is fired when a potion is brewed in the brewing stand.
      static class  PotionBrewEvent.Pre
      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
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      ItemStack getItem​(int index)  
      int getLength()  
      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
    • Method Detail

      • getItem

        @Nonnull
        public ItemStack getItem​(int index)
      • setItem

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

        public int getLength()