Interface CraftingRecipe

All Superinterfaces:
Recipe<RecipeInputInventory>
All Known Implementing Classes:
ArmorDyeRecipe, BannerDuplicateRecipe, BookCloningRecipe, CraftingDecoratedPotRecipe, FireworkRocketRecipe, FireworkStarFadeRecipe, FireworkStarRecipe, MapCloningRecipe, MapExtendingRecipe, RepairItemRecipe, ShapedRecipe, ShapelessRecipe, ShieldDecorationRecipe, ShulkerBoxColoringRecipe, SpecialCraftingRecipe, SuspiciousStewRecipe, TippedArrowRecipe

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

    • getType

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

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

      Specified by:
      getType in interface Recipe<RecipeInputInventory>
      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 e Lcyw;e()Lczb;
    • 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 d Lcyn;d()Lcym;