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

public interface CraftingRecipe extends Recipe<CraftingRecipeInput>
Mappings:
Namespace Name
named net/minecraft/recipe/CraftingRecipe
intermediary net/minecraft/class_3955
official dbs
  • Method Details

    • getType

      default RecipeType<CraftingRecipe> getType()
      Returns the type of this recipe.

      The type in the recipe JSON format is the serializer instead.

      Specified by:
      getType in interface Recipe<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 interface Recipe<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

      default DefaultedList<ItemStack> getRecipeRemainders(CraftingRecipeInput input)
      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

      static DefaultedList<ItemStack> collectRecipeRemainders(CraftingRecipeInput input)
      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

      default RecipeBookCategory getRecipeBookCategory()
      Specified by:
      getRecipeBookCategory in interface Recipe<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;