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
official cpt
intermediary net/minecraft/class_3955
named net/minecraft/recipe/CraftingRecipe
  • 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
      official e Lcqc;e()Lcqh;
      intermediary method_17716 Lnet/minecraft/class_1860;method_17716()Lnet/minecraft/class_3956;
      named getType Lnet/minecraft/recipe/Recipe;getType()Lnet/minecraft/recipe/RecipeType;
    • getCategory

      CraftingRecipeCategory getCategory()
      Mappings:
      Namespace Name Mixin selector
      official d Lcpt;d()Lcps;
      intermediary method_45441 Lnet/minecraft/class_3955;method_45441()Lnet/minecraft/class_7710;
      named getCategory Lnet/minecraft/recipe/CraftingRecipe;getCategory()Lnet/minecraft/recipe/book/CraftingRecipeCategory;