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/CraftingRecipeintermediary net/minecraft/class_3955official deq
-
Field Summary
Fields inherited from interface net.minecraft.recipe.Recipe
CODEC, KEY_CODEC, PACKET_CODEC -
Method Summary
Modifier and TypeMethodDescriptionstatic DefaultedList<ItemStack> default RecipeBookCategorydefault 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
typein the recipe JSON format is the serializer instead.- Specified by:
getTypein interfaceRecipe<CraftingRecipeInput>- 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 bLdfb;b()Ldfm;
-
getSerializer
RecipeSerializer<? extends CraftingRecipe> getSerializer()Returns the serializer associated with this recipe.- Specified by:
getSerializerin interfaceRecipe<CraftingRecipeInput>- 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 aLdfb;a()Ldfl;
-
getCategory
CraftingRecipeCategory getCategory()- Mappings:
Namespace Name Mixin selector named getCategoryLnet/minecraft/recipe/CraftingRecipe;getCategory()Lnet/minecraft/recipe/book/CraftingRecipeCategory;intermediary method_45441Lnet/minecraft/class_3955;method_45441()Lnet/minecraft/class_7710;official cLdeq;c()Ldeo;
-
getRecipeRemainders
- Mappings:
Namespace Name Mixin selector named getRecipeRemaindersLnet/minecraft/recipe/CraftingRecipe;getRecipeRemainders(Lnet/minecraft/recipe/input/CraftingRecipeInput;)Lnet/minecraft/util/collection/DefaultedList;intermediary method_17704Lnet/minecraft/class_3955;method_17704(Lnet/minecraft/class_9694;)Lnet/minecraft/class_2371;official aLdeq;a(Ldep;)Ljp;
-
collectRecipeRemainders
- Mappings:
Namespace Name Mixin selector named collectRecipeRemaindersLnet/minecraft/recipe/CraftingRecipe;collectRecipeRemainders(Lnet/minecraft/recipe/input/CraftingRecipeInput;)Lnet/minecraft/util/collection/DefaultedList;intermediary method_64671Lnet/minecraft/class_3955;method_64671(Lnet/minecraft/class_9694;)Lnet/minecraft/class_2371;official bLdeq;b(Ldep;)Ljp;
-
getRecipeBookCategory
- Specified by:
getRecipeBookCategoryin interfaceRecipe<CraftingRecipeInput>- Mappings:
Namespace Name Mixin selector named getRecipeBookCategoryLnet/minecraft/recipe/Recipe;getRecipeBookCategory()Lnet/minecraft/recipe/book/RecipeBookCategory;intermediary method_64668Lnet/minecraft/class_1860;method_64668()Lnet/minecraft/class_10355;official hLdfb;h()Ldfe;
-