Class BrewingRecipeRegisterEvent

java.lang.Object
net.minecraftforge.eventbus.api.Event
net.minecraftforge.event.brewing.BrewingRecipeRegisterEvent

public class BrewingRecipeRegisterEvent extends net.minecraftforge.eventbus.api.Event
  • Field Details

  • Constructor Details

  • Method Details

    • getBuilder

      public PotionBrewing.Builder getBuilder()
    • getFeatures

      public FeatureFlagSet getFeatures()
    • addRecipe

      public void addRecipe(Ingredient input, Ingredient ingredient, ItemStack output)
      Adds a recipe to the registry. Due to the nature of the brewing stand inputs that stack (a.k.a max stack size > 1) are not allowed.
      Parameters:
      input - The Ingredient that goes in same slots as the water bottles would.
      ingredient - The Ingredient that goes in the same slot as nether wart would.
      output - The ItemStack that will replace the input once the brewing is done.
    • addRecipe

      public void addRecipe(IBrewingRecipe recipe)
      Adds a recipe to the registry. Due to the nature of the brewing stand inputs that stack (a.k.a max stack size > 1) are not allowed.