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 official clwintermediary net/minecraft/class_1852named net/minecraft/recipe/SpecialCraftingRecipe
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetOutput(DynamicRegistryManager registryManager) 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, showNotification
-
Field Details
-
category
- Mappings:
Namespace Name Mixin selector official aLclw;a:Lclt;intermediary field_40255Lnet/minecraft/class_1852;field_40255:Lnet/minecraft/class_7710;named categoryLnet/minecraft/recipe/SpecialCraftingRecipe;category:Lnet/minecraft/recipe/book/CraftingRecipeCategory;
-
-
Constructor Details
-
SpecialCraftingRecipe
-
-
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<RecipeInputInventory>- Returns:
- whether this recipe is ignored by the recipe book
- Mappings:
Namespace Name Mixin selector official ah_Lcme;ah_()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, DynamicRegistryManager).- Specified by:
getOutputin interfaceRecipe<RecipeInputInventory>- Returns:
- a preview of the recipe's output
- Mappings:
Namespace Name Mixin selector official aLcme;a(Lhu;)Lcja;intermediary method_8110Lnet/minecraft/class_1860;method_8110(Lnet/minecraft/class_5455;)Lnet/minecraft/class_1799;named getOutputLnet/minecraft/recipe/Recipe;getOutput(Lnet/minecraft/registry/DynamicRegistryManager;)Lnet/minecraft/item/ItemStack;
-
getCategory
- Specified by:
getCategoryin interfaceCraftingRecipe- Mappings:
Namespace Name Mixin selector official dLclu;d()Lclt;intermediary method_45441Lnet/minecraft/class_3955;method_45441()Lnet/minecraft/class_7710;named getCategoryLnet/minecraft/recipe/CraftingRecipe;getCategory()Lnet/minecraft/recipe/book/CraftingRecipeCategory;
-