Package net.minecraft.recipe
Interface CraftingRecipe
- All Superinterfaces:
Recipe<CraftingRecipeInput>
- All Known Implementing Classes:
ArmorDyeRecipe
,BannerDuplicateRecipe
,BookCloningRecipe
,CraftingDecoratedPotRecipe
,FireworkRocketRecipe
,FireworkStarFadeRecipe
,FireworkStarRecipe
,MapCloningRecipe
,MapExtendingRecipe
,RepairItemRecipe
,ShapedRecipe
,ShapelessRecipe
,ShieldDecorationRecipe
,SpecialCraftingRecipe
,TippedArrowRecipe
,TransmuteRecipe
- Mappings:
Namespace Name named net/minecraft/recipe/CraftingRecipe
intermediary net/minecraft/class_3955
official dbs
-
Field Summary
Fields inherited from interface net.minecraft.recipe.Recipe
CODEC, PACKET_CODEC
-
Method Summary
Modifier and TypeMethodDescriptionstatic DefaultedList
<ItemStack> default RecipeBookCategory
default DefaultedList
<ItemStack> RecipeSerializer
<? extends CraftingRecipe> Returns the serializer associated with this recipe.default RecipeType
<CraftingRecipe> getType()
Returns the type of this recipe.Methods inherited from interface net.minecraft.recipe.Recipe
craft, getDisplays, getGroup, getIngredientPlacement, isIgnoredInRecipeBook, matches, showNotification
-
Method Details
-
getType
Returns the type of this recipe.The
type
in the recipe JSON format is the serializer instead.- Specified by:
getType
in interfaceRecipe<CraftingRecipeInput>
- 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
Ldcd;b()Ldco;
-
getSerializer
RecipeSerializer<? extends CraftingRecipe> getSerializer()Returns the serializer associated with this recipe.- Specified by:
getSerializer
in interfaceRecipe<CraftingRecipeInput>
- 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
Ldcd;a()Ldcn;
-
getCategory
CraftingRecipeCategory getCategory()- Mappings:
Namespace Name Mixin selector named getCategory
Lnet/minecraft/recipe/CraftingRecipe;getCategory()Lnet/minecraft/recipe/book/CraftingRecipeCategory;
intermediary method_45441
Lnet/minecraft/class_3955;method_45441()Lnet/minecraft/class_7710;
official c
Ldbs;c()Ldbq;
-
getRecipeRemainders
- Mappings:
Namespace Name Mixin selector named getRecipeRemainders
Lnet/minecraft/recipe/CraftingRecipe;getRecipeRemainders(Lnet/minecraft/recipe/input/CraftingRecipeInput;)Lnet/minecraft/util/collection/DefaultedList;
intermediary method_17704
Lnet/minecraft/class_3955;method_17704(Lnet/minecraft/class_9694;)Lnet/minecraft/class_2371;
official a
Ldbs;a(Ldbr;)Ljz;
-
collectRecipeRemainders
- Mappings:
Namespace Name Mixin selector named collectRecipeRemainders
Lnet/minecraft/recipe/CraftingRecipe;collectRecipeRemainders(Lnet/minecraft/recipe/input/CraftingRecipeInput;)Lnet/minecraft/util/collection/DefaultedList;
intermediary method_64671
Lnet/minecraft/class_3955;method_64671(Lnet/minecraft/class_9694;)Lnet/minecraft/class_2371;
official b
Ldbs;b(Ldbr;)Ljz;
-
getRecipeBookCategory
- Specified by:
getRecipeBookCategory
in interfaceRecipe<CraftingRecipeInput>
- 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
Ldcd;h()Ldcg;
-