Interface CraftingRecipe

All Superinterfaces:
Recipe<CraftingRecipeInput>
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<CraftingRecipeInput>
Mappings:
Namespace Name
named net/minecraft/recipe/CraftingRecipe
intermediary net/minecraft/class_3955
official cya
  • 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<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 e Lcyj;e()Lcyp;
    • 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 Lcya;d()Lcxy;