Class BrewingBuilder

java.lang.Object
net.ixdarklord.coolcatcore.api.brewing.BrewingBuilder

public final class BrewingBuilder extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    addContainer(@NotNull net.minecraft.world.item.Item container)
    Lets potions in container be brewed.
    void
    addContainerRecipe(@NotNull net.minecraft.world.item.Item input, @NotNull net.minecraft.world.item.Item reagent, @NotNull net.minecraft.world.item.Item result)
    Brewing reagent into a potion held in input turns its container into result.
    void
    addMix(@NotNull net.minecraft.world.item.alchemy.Potion input, @NotNull net.minecraft.world.item.Item reagent, @NotNull net.minecraft.world.item.alchemy.Potion result)
    Brewing reagent into an input potion gives a result potion.
    void
    addRecipe(@NotNull IBrewingRecipe recipe)
     
    void
    addRecipe(@NotNull net.minecraft.world.item.crafting.Ingredient input, @NotNull net.minecraft.world.item.crafting.Ingredient ingredient, @NotNull net.minecraft.world.item.ItemStack output)
     
    void
    addStartMix(@NotNull net.minecraft.world.item.Item reagent, @NotNull net.minecraft.world.item.alchemy.Potion result)
    Brewing reagent into an awkward potion gives result (and into water, a mundane potion).
    The custom recipes added so far, as a registry to query.
     

    Methods inherited from class java.lang.Object

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

    • BrewingBuilder

      public BrewingBuilder()
  • Method Details

    • addRecipe

      public void addRecipe(@NotNull @NotNull net.minecraft.world.item.crafting.Ingredient input, @NotNull @NotNull net.minecraft.world.item.crafting.Ingredient ingredient, @NotNull @NotNull net.minecraft.world.item.ItemStack output)
    • addRecipe

      public void addRecipe(@NotNull @NotNull IBrewingRecipe recipe)
    • addContainerRecipe

      public void addContainerRecipe(@NotNull @NotNull net.minecraft.world.item.Item input, @NotNull @NotNull net.minecraft.world.item.Item reagent, @NotNull @NotNull net.minecraft.world.item.Item result)
      Brewing reagent into a potion held in input turns its container into result.
    • addContainer

      public void addContainer(@NotNull @NotNull net.minecraft.world.item.Item container)
      Lets potions in container be brewed.
    • addMix

      public void addMix(@NotNull @NotNull net.minecraft.world.item.alchemy.Potion input, @NotNull @NotNull net.minecraft.world.item.Item reagent, @NotNull @NotNull net.minecraft.world.item.alchemy.Potion result)
      Brewing reagent into an input potion gives a result potion.
    • addStartMix

      public void addStartMix(@NotNull @NotNull net.minecraft.world.item.Item reagent, @NotNull @NotNull net.minecraft.world.item.alchemy.Potion result)
      Brewing reagent into an awkward potion gives result (and into water, a mundane potion).
    • build

      @NotNull public @NotNull BrewingRecipeRegistry build()
      The custom recipes added so far, as a registry to query.
    • getBrewingRecipes

      public List<IBrewingRecipe> getBrewingRecipes()