Package net.minecraft.recipe
Class SpecialCraftingRecipe
java.lang.Object
net.minecraft.recipe.SpecialCraftingRecipe
- All Implemented Interfaces:
CraftingRecipe
,Recipe<RecipeInputInventory>
- Direct Known Subclasses:
ArmorDyeRecipe
,BannerDuplicateRecipe
,BookCloningRecipe
,CraftingDecoratedPotRecipe
,FireworkRocketRecipe
,FireworkStarFadeRecipe
,FireworkStarRecipe
,MapCloningRecipe
,RepairItemRecipe
,ShieldDecorationRecipe
,ShulkerBoxColoringRecipe
,SuspiciousStewRecipe
,TippedArrowRecipe
- Mappings:
Namespace Name named net/minecraft/recipe/SpecialCraftingRecipe
intermediary net/minecraft/class_1852
official cyo
-
Field Summary
Fields inherited from interface net.minecraft.recipe.Recipe
CODEC, PACKET_CODEC
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetResult
(RegistryWrapper.WrapperLookup registriesLookup) Returns a preview of the recipe's output.boolean
Returns 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, wait
Methods inherited from interface net.minecraft.recipe.CraftingRecipe
getType
Methods inherited from interface net.minecraft.recipe.Recipe
craft, createIcon, fits, getGroup, getIngredients, getRemainder, getSerializer, isEmpty, matches, showNotification
-
Field Details
-
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 a
Lcyo;a:Lcym;
-
-
Constructor Details
-
SpecialCraftingRecipe
- 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>
Lcyo;<init>(Lcym;)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 thedoLimitedCrafting
game rule.- Specified by:
isIgnoredInRecipeBook
in interfaceRecipe<RecipeInputInventory>
- 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 an_
Lcyw;an_()Z
-
getResult
Returns a preview of the recipe's output.The returned stack should not be modified. To obtain the actual output, call
Recipe.craft(Inventory, DynamicRegistryManager)
.- Specified by:
getResult
in interfaceRecipe<RecipeInputInventory>
- Returns:
- a preview of the recipe's output
- Mappings:
Namespace Name Mixin selector named getResult
Lnet/minecraft/recipe/Recipe;getResult(Lnet/minecraft/registry/RegistryWrapper$WrapperLookup;)Lnet/minecraft/item/ItemStack;
intermediary method_8110
Lnet/minecraft/class_1860;method_8110(Lnet/minecraft/class_7225$class_7874;)Lnet/minecraft/class_1799;
official a
Lcyw;a(Ljk$a;)Lcuq;
-
getCategory
- Specified by:
getCategory
in interfaceCraftingRecipe
- 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;
-