Class BrewingRecipe
java.lang.Object
net.neoforged.neoforge.common.brewing.BrewingRecipe
- All Implemented Interfaces:
IBrewingRecipe
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Ingredientprivate final Ingredientprivate final ItemStack -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetInput()Returns the output when the passed input is brewed with the passed ingredient.booleanisIngredient(ItemStack ingredient) Returns true if the passed ItemStack is an ingredient for this recipe.booleanReturns true is the passed ItemStack is an input for this recipe.
-
Field Details
-
input
-
ingredient
-
output
-
-
Constructor Details
-
BrewingRecipe
-
-
Method Details
-
isInput
Description copied from interface:IBrewingRecipeReturns true is the passed ItemStack is an input for this recipe. "Input" being the item that goes in one of the three bottom slots of the brewing stand (e.g: water bottle)- Specified by:
isInputin interfaceIBrewingRecipe
-
getOutput
Description copied from interface:IBrewingRecipeReturns the output when the passed input is brewed with the passed ingredient. Empty if invalid input or ingredient.- Specified by:
getOutputin interfaceIBrewingRecipe
-
getInput
-
getIngredient
-
getOutput
-
isIngredient
Description copied from interface:IBrewingRecipeReturns true if the passed ItemStack is an ingredient for this recipe. "Ingredient" being the item that goes in the top slot of the brewing stand (e.g: nether wart)- Specified by:
isIngredientin interfaceIBrewingRecipe
-