Package net.minecraft.recipe
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
- Mappings:
Namespace Name named net/minecraft/recipe/SpecialCraftingRecipeintermediary net/minecraft/class_1852official dbt
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classA serializer for hardcoded recipes. -
Field Summary
FieldsFields inherited from interface net.minecraft.recipe.Recipe
CODEC, PACKET_CODEC -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract RecipeSerializer<? extends SpecialCraftingRecipe> Returns the serializer associated with this recipe.booleanReturns whether this recipe is ignored by the recipe book.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.recipe.CraftingRecipe
getRecipeBookCategory, getRecipeRemainders, getTypeMethods inherited from interface net.minecraft.recipe.Recipe
craft, getDisplays, getGroup, matches, showNotification
-
Field Details
-
category
- Mappings:
Namespace Name Mixin selector named categoryLnet/minecraft/recipe/SpecialCraftingRecipe;category:Lnet/minecraft/recipe/book/CraftingRecipeCategory;intermediary field_40255Lnet/minecraft/class_1852;field_40255:Lnet/minecraft/class_7710;official cLdbt;c:Ldbq;
-
-
Constructor Details
-
SpecialCraftingRecipe
- Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/recipe/SpecialCraftingRecipe;<init>(Lnet/minecraft/recipe/book/CraftingRecipeCategory;)Vintermediary <init>Lnet/minecraft/class_1852;<init>(Lnet/minecraft/class_7710;)Vofficial <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 thedoLimitedCraftinggame rule.- Specified by:
isIgnoredInRecipeBookin interfaceRecipe<CraftingRecipeInput>- Returns:
- whether this recipe is ignored by the recipe book
- Mappings:
Namespace Name Mixin selector named isIgnoredInRecipeBookLnet/minecraft/recipe/Recipe;isIgnoredInRecipeBook()Zintermediary method_8118Lnet/minecraft/class_1860;method_8118()Zofficial aq_Ldcd;aq_()Z
-
getCategory
- Specified by:
getCategoryin interfaceCraftingRecipe- Mappings:
Namespace Name Mixin selector named getCategoryLnet/minecraft/recipe/CraftingRecipe;getCategory()Lnet/minecraft/recipe/book/CraftingRecipeCategory;intermediary method_45441Lnet/minecraft/class_3955;method_45441()Lnet/minecraft/class_7710;official cLdbs;c()Ldbq;
-
getIngredientPlacement
- Specified by:
getIngredientPlacementin interfaceRecipe<CraftingRecipeInput>- Mappings:
Namespace Name Mixin selector named getIngredientPlacementLnet/minecraft/recipe/Recipe;getIngredientPlacement()Lnet/minecraft/recipe/IngredientPlacement;intermediary method_61671Lnet/minecraft/class_1860;method_61671()Lnet/minecraft/class_9887;official ap_Ldcd;ap_()Ldcc;
-
getSerializer
Returns the serializer associated with this recipe.- Specified by:
getSerializerin interfaceCraftingRecipe- Specified by:
getSerializerin interfaceRecipe<CraftingRecipeInput>- Returns:
- the serializer associated with this recipe
- Mappings:
Namespace Name Mixin selector named getSerializerLnet/minecraft/recipe/Recipe;getSerializer()Lnet/minecraft/recipe/RecipeSerializer;intermediary method_8119Lnet/minecraft/class_1860;method_8119()Lnet/minecraft/class_1865;official aLdcd;a()Ldcn;
-