Brewing
Importing the class
If you need to reference this type directly, like when casting an Array, or as a parameter, you will need to import it. Simply add the import at the top of the file.
Description
Members
addRecipe(output as IItemStack, reagent as IIngredient, input as IIngredient)
Adds a new brewing recipe to the Brewing Stand.
Parameters:
reagent: IIngredient
Type: IIngredient
- The reagent that is put in the top slot of the Brewing Stand. input: IIngredient
Type: IIngredient
- The Ingredient that get brewed into the output. E.G. a Water bottle getting brewed into a Thick Potion. removeRecipe(output as Potion, reagent as IItemStack, input as Potion)
Removes a Potion to Potion recipe from the Brewing Stand. These are mainly the default vanilla recipes.
Parameters:
reagent: IItemStack
Type: IItemStack
- The reagent that is put in the top slot of the Brewing Stand. removeRecipe(output as IItemStack, reagent as IItemStack, input as IItemStack)
Removes an ItemStack to ItemStack recipe from the Brewing Stand. These are mainly potions added by mods.
Parameters:
reagent: IItemStack
Type: IItemStack
- The reagent that is put in the top slot of the Brewing Stand. input: IItemStack
Type: IItemStack
- The Ingredient that get brewed into the output. E.G. a Water bottle getting brewed into a Thick Potion. removeRecipeByInput(input as IItemStack)
Removes recipes from the Brewing Stand based on their Input (The ItemStack that goes in the bottom 3 slots). E.G. A water bottle in Vanilla brewing recipes
Parameters:
removeRecipeByInputPotion(input as Potion)
removeRecipeByReagent(reagent as IItemStack)
Removes recipes from the Brewing Stand based on their Reagent (The item in the top slot).
Parameters: