Interface BrewingRecipe
- All Superinterfaces:
DataPackSerializable, DefaultedRegistryValue<Recipe<?>>, Recipe<RecipeInput>
A brewing stand recipe, combining a container potion with a reagent.
Brewing became a data-driven recipe type in Minecraft 26.3; before that it was hard-coded in the brewing stand itself.
-
Method Summary
Modifier and TypeMethodDescriptioninput()Returns theIngredientaccepted in the three potion slots.reagent()Returns theIngredientaccepted in the reagent slot.RecipeType<? extends BrewingRecipe> type()Gets theRecipeTypeof this recipe.Methods inherited from interface DataPackSerializable
toDataPackMethods inherited from interface DefaultedRegistryValue
asDefaultedReference, findKey, keyMethods inherited from interface Recipe
exemplaryResult, isDynamic, isValid, remainingItems, result, result
-
Method Details
-
input
Ingredient input()Returns theIngredientaccepted in the three potion slots.- Returns:
- The container ingredient
-
reagent
Ingredient reagent()Returns theIngredientaccepted in the reagent slot.- Returns:
- The reagent ingredient
-
type
RecipeType<? extends BrewingRecipe> type()Description copied from interface:RecipeGets theRecipeTypeof this recipe.- Specified by:
typein interfaceRecipe<RecipeInput>- Returns:
- The recipe type.
-