Package net.minecraft.recipe
Interface SmithingRecipe
- All Superinterfaces:
- Recipe<SmithingRecipeInput>
- All Known Implementing Classes:
- SmithingTransformRecipe,- SmithingTrimRecipe
- Mappings:
- Namespace - Name - named - net/minecraft/recipe/SmithingRecipe- intermediary - net/minecraft/class_8059- official - dca
- 
Field SummaryFields inherited from interface net.minecraft.recipe.RecipeCODEC, PACKET_CODEC
- 
Method SummaryModifier and TypeMethodDescriptionaddition()base()default RecipeBookCategoryRecipeSerializer<? extends SmithingRecipe> Returns the serializer associated with this recipe.default RecipeType<SmithingRecipe> getType()Returns the type of this recipe.default booleanmatches(SmithingRecipeInput smithingRecipeInput, World world) Returns whether this recipe matches the contents inside theinventoryin the givenworld.template()Methods inherited from interface net.minecraft.recipe.Recipecraft, getDisplays, getGroup, getIngredientPlacement, isIgnoredInRecipeBook, showNotification
- 
Method Details- 
getTypeReturns the type of this recipe.The typein the recipe JSON format is the serializer instead.- Specified by:
- getTypein interface- Recipe<SmithingRecipeInput>
- Returns:
- the type of this recipe
- Mappings:
- Namespace - Name - Mixin selector - named - getType- Lnet/minecraft/recipe/Recipe;getType()Lnet/minecraft/recipe/RecipeType;- intermediary - method_17716- Lnet/minecraft/class_1860;method_17716()Lnet/minecraft/class_3956;- official - b- Ldbf;b()Ldbq;
 
- 
getSerializerRecipeSerializer<? extends SmithingRecipe> getSerializer()Returns the serializer associated with this recipe.- Specified by:
- getSerializerin interface- Recipe<SmithingRecipeInput>
- Returns:
- the serializer associated with this recipe
- Mappings:
- Namespace - Name - Mixin selector - named - getSerializer- Lnet/minecraft/recipe/Recipe;getSerializer()Lnet/minecraft/recipe/RecipeSerializer;- intermediary - method_8119- Lnet/minecraft/class_1860;method_8119()Lnet/minecraft/class_1865;- official - a- Ldbf;a()Ldbp;
 
- 
matchesDescription copied from interface:RecipeReturns whether this recipe matches the contents inside theinventoryin the givenworld.The worldcurrently is only used by the map cloning recipe to prevent duplication of explorer maps.- Specified by:
- matchesin interface- Recipe<SmithingRecipeInput>
- Parameters:
- world- the input world
- Returns:
- whether this recipe matches the contents inside the
 inventoryin the givenworld
- Mappings:
- Namespace - Name - Mixin selector - named - matches- Lnet/minecraft/recipe/SmithingRecipe;matches(Lnet/minecraft/recipe/input/SmithingRecipeInput;Lnet/minecraft/world/World;)Z- intermediary - method_61702- Lnet/minecraft/class_8059;method_61702(Lnet/minecraft/class_9697;Lnet/minecraft/class_1937;)Z- official - a- Ldca;a(Ldcb;Ldgj;)Z
 
- 
templateOptional<Ingredient> template()- Mappings:
- Namespace - Name - Mixin selector - named - template- Lnet/minecraft/recipe/SmithingRecipe;template()Ljava/util/Optional;- intermediary - method_64722- Lnet/minecraft/class_8059;method_64722()Ljava/util/Optional;- official - c- Ldca;c()Ljava/util/Optional;
 
- 
baseOptional<Ingredient> base()- Mappings:
- Namespace - Name - Mixin selector - named - base- Lnet/minecraft/recipe/SmithingRecipe;base()Ljava/util/Optional;- intermediary - method_64723- Lnet/minecraft/class_8059;method_64723()Ljava/util/Optional;- official - f- Ldca;f()Ljava/util/Optional;
 
- 
additionOptional<Ingredient> addition()- Mappings:
- Namespace - Name - Mixin selector - named - addition- Lnet/minecraft/recipe/SmithingRecipe;addition()Ljava/util/Optional;- intermediary - method_64724- Lnet/minecraft/class_8059;method_64724()Ljava/util/Optional;- official - k- Ldca;k()Ljava/util/Optional;
 
- 
getRecipeBookCategory- Specified by:
- getRecipeBookCategoryin interface- Recipe<SmithingRecipeInput>
- Mappings:
- Namespace - Name - Mixin selector - named - getRecipeBookCategory- Lnet/minecraft/recipe/Recipe;getRecipeBookCategory()Lnet/minecraft/recipe/book/RecipeBookCategory;- intermediary - method_64668- Lnet/minecraft/class_1860;method_64668()Lnet/minecraft/class_10355;- official - h- Ldbf;h()Ldbi;
 
 
-