Class SpecialCraftingRecipe

java.lang.Object
net.minecraft.recipe.SpecialCraftingRecipe
All Implemented Interfaces:
CraftingRecipe, Recipe<CraftingRecipeInput>
Direct Known Subclasses:
ArmorDyeRecipe, BannerDuplicateRecipe, BookCloningRecipe, CraftingDecoratedPotRecipe, FireworkRocketRecipe, FireworkStarFadeRecipe, FireworkStarRecipe, MapCloningRecipe, RepairItemRecipe, ShieldDecorationRecipe, TippedArrowRecipe

public abstract class SpecialCraftingRecipe extends Object implements CraftingRecipe
Mappings:
Namespace Name
named net/minecraft/recipe/SpecialCraftingRecipe
intermediary net/minecraft/class_1852
official dbt
  • Field Details

    • category

      private final CraftingRecipeCategory category
      Mappings:
      Namespace Name Mixin selector
      named category Lnet/minecraft/recipe/SpecialCraftingRecipe;category:Lnet/minecraft/recipe/book/CraftingRecipeCategory;
      intermediary field_40255 Lnet/minecraft/class_1852;field_40255:Lnet/minecraft/class_7710;
      official c Ldbt;c:Ldbq;
  • Constructor Details

    • SpecialCraftingRecipe

      public SpecialCraftingRecipe(CraftingRecipeCategory category)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/recipe/SpecialCraftingRecipe;<init>(Lnet/minecraft/recipe/book/CraftingRecipeCategory;)V
      intermediary <init> Lnet/minecraft/class_1852;<init>(Lnet/minecraft/class_7710;)V
      official <init> Ldbt;<init>(Ldbq;)V
  • Method Details

    • isIgnoredInRecipeBook

      public boolean isIgnoredInRecipeBook()
      Returns whether this recipe is ignored by the recipe book. If a recipe is ignored by the recipe book, it will be never displayed. In addition, it won't be restricted by the doLimitedCrafting game rule.
      Specified by:
      isIgnoredInRecipeBook in interface Recipe<CraftingRecipeInput>
      Returns:
      whether this recipe is ignored by the recipe book
      Mappings:
      Namespace Name Mixin selector
      named isIgnoredInRecipeBook Lnet/minecraft/recipe/Recipe;isIgnoredInRecipeBook()Z
      intermediary method_8118 Lnet/minecraft/class_1860;method_8118()Z
      official aq_ Ldcd;aq_()Z
    • getCategory

      public CraftingRecipeCategory getCategory()
      Specified by:
      getCategory in interface CraftingRecipe
      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;
    • getIngredientPlacement

      public IngredientPlacement getIngredientPlacement()
      Specified by:
      getIngredientPlacement in interface Recipe<CraftingRecipeInput>
      Mappings:
      Namespace Name Mixin selector
      named getIngredientPlacement Lnet/minecraft/recipe/Recipe;getIngredientPlacement()Lnet/minecraft/recipe/IngredientPlacement;
      intermediary method_61671 Lnet/minecraft/class_1860;method_61671()Lnet/minecraft/class_9887;
      official ap_ Ldcd;ap_()Ldcc;
    • getSerializer

      public abstract RecipeSerializer<? extends SpecialCraftingRecipe> getSerializer()
      Returns the serializer associated with this recipe.
      Specified by:
      getSerializer in interface CraftingRecipe
      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;