Package net.minecraft.recipe
Interface SmithingRecipe
- All Superinterfaces:
Recipe<SmithingRecipeInput>
- All Known Implementing Classes:
SmithingTransformRecipe,SmithingTrimRecipe
- Mappings:
Namespace Name named net/minecraft/recipe/SmithingRecipeintermediary net/minecraft/class_8059official dct
-
Field Summary
Fields inherited from interface net.minecraft.recipe.Recipe
CODEC, PACKET_CODEC -
Method Summary
Modifier and TypeMethodDescriptionRecipeSerializer<? 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.default RecipeBookGroupMethods inherited from interface net.minecraft.recipe.Recipe
craft, getGroup, getIngredientPlacement, isIgnoredInRecipeBook, method_64664, showNotification
-
Method Details
-
getType
Returns the type of this recipe.The
typein the recipe JSON format is the serializer instead.- Specified by:
getTypein interfaceRecipe<SmithingRecipeInput>- Returns:
- the type of this recipe
- Mappings:
Namespace Name Mixin selector named getTypeLnet/minecraft/recipe/Recipe;getType()Lnet/minecraft/recipe/RecipeType;intermediary method_17716Lnet/minecraft/class_1860;method_17716()Lnet/minecraft/class_3956;official bLdbz;b()Ldcj;
-
getSerializer
RecipeSerializer<? extends SmithingRecipe> getSerializer()Returns the serializer associated with this recipe.- Specified by:
getSerializerin interfaceRecipe<SmithingRecipeInput>- Returns:
- the serializer associated with this recipe
- Mappings:
Namespace Name Mixin selector named getSerializerLnet/minecraft/recipe/Recipe;getSerializer()Lnet/minecraft/recipe/RecipeSerializer;intermediary method_8119Lnet/minecraft/class_1860;method_8119()Lnet/minecraft/class_1865;official aLdbz;a()Ldci;
-
matches
Description 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 interfaceRecipe<SmithingRecipeInput>- Parameters:
world- the input world- Returns:
- whether this recipe matches the contents inside the
inventoryin the givenworld - Mappings:
Namespace Name Mixin selector named matchesLnet/minecraft/recipe/SmithingRecipe;matches(Lnet/minecraft/recipe/input/SmithingRecipeInput;Lnet/minecraft/world/World;)Zintermediary method_61702Lnet/minecraft/class_8059;method_61702(Lnet/minecraft/class_9697;Lnet/minecraft/class_1937;)Zofficial aLdct;a(Ldcu;Ldha;)Z
-
method_64722
Optional<Ingredient> method_64722()- Mappings:
Namespace Name Mixin selector named method_64722Lnet/minecraft/recipe/SmithingRecipe;method_64722()Ljava/util/Optional;intermediary method_64722Lnet/minecraft/class_8059;method_64722()Ljava/util/Optional;official cLdct;c()Ljava/util/Optional;
-
method_64723
Optional<Ingredient> method_64723()- Mappings:
Namespace Name Mixin selector named method_64723Lnet/minecraft/recipe/SmithingRecipe;method_64723()Ljava/util/Optional;intermediary method_64723Lnet/minecraft/class_8059;method_64723()Ljava/util/Optional;official fLdct;f()Ljava/util/Optional;
-
method_64724
Optional<Ingredient> method_64724()- Mappings:
Namespace Name Mixin selector named method_64724Lnet/minecraft/recipe/SmithingRecipe;method_64724()Ljava/util/Optional;intermediary method_64724Lnet/minecraft/class_8059;method_64724()Ljava/util/Optional;official kLdct;k()Ljava/util/Optional;
-
method_64668
- Specified by:
method_64668in interfaceRecipe<SmithingRecipeInput>- Mappings:
Namespace Name Mixin selector named method_64668Lnet/minecraft/recipe/Recipe;method_64668()Lnet/minecraft/client/recipebook/RecipeBookGroup;intermediary method_64668Lnet/minecraft/class_1860;method_64668()Lnet/minecraft/class_314;official hLdbz;h()Ldbi;
-