Class PotionBrewing.Builder

java.lang.Object
net.minecraft.world.item.alchemy.PotionBrewing.Builder
Enclosing class:
PotionBrewing

public static class PotionBrewing.Builder extends Object
  • Field Details

  • Constructor Details

  • Method Details

    • expectPotion

      private static void expectPotion(Item p_341194_)
    • addContainerRecipe

      public void addContainerRecipe(Item p_341264_, Item p_340992_, Item p_341160_)
    • addContainer

      public void addContainer(Item p_340911_)
    • addMix

      public void addMix(Holder<Potion> p_341151_, Item p_341216_, Holder<Potion> p_340841_)
    • addStartMix

      public void addStartMix(Item p_341103_, Holder<Potion> p_341346_)
    • addRecipe

      public void addRecipe(Ingredient input, Ingredient ingredient, ItemStack output)
      Adds a new simple brewing recipe.
      Parameters:
      input - the ingredient that goes in the same slot as water bottles would
      ingredient - the ingredient that goes in the same slot as nether wart would
      output - the item stack that will replace the input once brewing is done
    • addRecipe

      public void addRecipe(IBrewingRecipe recipe)
      Adds a new brewing recipe with custom logic.
    • build

      public PotionBrewing build()