Package net.minecraft.recipe
Class SpecialCraftingRecipe
java.lang.Object
net.minecraft.recipe.SpecialCraftingRecipe
- All Implemented Interfaces:
CraftingRecipe,Recipe<CraftingInventory>
- Direct Known Subclasses:
ArmorDyeRecipe,BannerDuplicateRecipe,BookCloningRecipe,FireworkRocketRecipe,FireworkStarFadeRecipe,FireworkStarRecipe,MapCloningRecipe,RepairItemRecipe,ShieldDecorationRecipe,ShulkerBoxColoringRecipe,SuspiciousStewRecipe,TippedArrowRecipe
- Mappings:
Namespace Name official cclintermediary net/minecraft/class_1852named net/minecraft/recipe/SpecialCraftingRecipe
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetId()Returns the ID of this recipe.Returns a preview of the recipe's output.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
getTypeMethods inherited from interface net.minecraft.recipe.Recipe
craft, createIcon, fits, getGroup, getIngredients, getRemainder, getSerializer, isEmpty, matches
-
Field Details
-
id
- Mappings:
Namespace Name Mixin selector official aLccl;a:Laaj;intermediary field_9009Lnet/minecraft/class_1852;field_9009:Lnet/minecraft/class_2960;named idLnet/minecraft/recipe/SpecialCraftingRecipe;id:Lnet/minecraft/util/Identifier;
-
-
Constructor Details
-
SpecialCraftingRecipe
- Mappings:
Namespace Name Mixin selector official <init>Lccl;<init>(Laaj;)Vintermediary <init>Lnet/minecraft/class_1852;<init>(Lnet/minecraft/class_2960;)Vnamed <init>Lnet/minecraft/recipe/SpecialCraftingRecipe;<init>(Lnet/minecraft/util/Identifier;)V
-
-
Method Details
-
getId
Returns the ID of this recipe.- Specified by:
getIdin interfaceRecipe<CraftingInventory>- Returns:
- the ID of this recipe
- Mappings:
Namespace Name Mixin selector official fLccs;f()Laaj;intermediary method_8114Lnet/minecraft/class_1860;method_8114()Lnet/minecraft/class_2960;named getIdLnet/minecraft/recipe/Recipe;getId()Lnet/minecraft/util/Identifier;
-
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<CraftingInventory>- Returns:
- whether this recipe is ignored by the recipe book
- Mappings:
Namespace Name Mixin selector official U_Lccs;U_()Zintermediary method_8118Lnet/minecraft/class_1860;method_8118()Znamed isIgnoredInRecipeBookLnet/minecraft/recipe/Recipe;isIgnoredInRecipeBook()Z
-
getOutput
Returns a preview of the recipe's output.The returned stack should not be modified. To obtain the actual output, call
Recipe.craft(Inventory).- Specified by:
getOutputin interfaceRecipe<CraftingInventory>- Returns:
- a preview of the recipe's output
- Mappings:
Namespace Name Mixin selector official cLccs;c()Lcaa;intermediary method_8110Lnet/minecraft/class_1860;method_8110()Lnet/minecraft/class_1799;named getOutputLnet/minecraft/recipe/Recipe;getOutput()Lnet/minecraft/item/ItemStack;
-