Interface SmithingRecipe
- All Superinterfaces:
Recipe<SmithingRecipeInput>
- All Known Implementing Classes:
SmithingTransformRecipe
,SmithingTrimRecipe
-
Field Summary
Fields inherited from interface net.minecraft.world.item.crafting.Recipe
CODEC, CONDITIONAL_CODEC, KEY_CODEC, STREAM_CODEC
-
Method Summary
Modifier and TypeMethodDescriptionRecipeSerializer
<? extends SmithingRecipe> default RecipeType
<SmithingRecipe> getType()
default boolean
matches
(SmithingRecipeInput p_362233_, Level p_361570_) default RecipeBookCategory
Methods inherited from interface net.minecraft.world.item.crafting.Recipe
assemble, display, group, isSpecial, placementInfo, showNotification
-
Method Details
-
getType
- Specified by:
getType
in interfaceRecipe<SmithingRecipeInput>
-
getSerializer
RecipeSerializer<? extends SmithingRecipe> getSerializer()- Specified by:
getSerializer
in interfaceRecipe<SmithingRecipeInput>
-
matches
- Specified by:
matches
in interfaceRecipe<SmithingRecipeInput>
-
templateIngredient
Optional<Ingredient> templateIngredient() -
baseIngredient
Ingredient baseIngredient() -
additionIngredient
Optional<Ingredient> additionIngredient() -
recipeBookCategory
- Specified by:
recipeBookCategory
in interfaceRecipe<SmithingRecipeInput>
-