Class CustomRecipe
java.lang.Object
net.minecraft.world.item.crafting.CustomRecipe
- All Implemented Interfaces:
CraftingRecipe
,Recipe<CraftingContainer>
- Direct Known Subclasses:
ArmorDyeRecipe
,BannerDuplicateRecipe
,BookCloningRecipe
,FireworkRocketRecipe
,FireworkStarFadeRecipe
,FireworkStarRecipe
,MapCloningRecipe
,RepairItemRecipe
,ShieldDecorationRecipe
,ShulkerBoxColoring
,SuspiciousStewRecipe
,TippedArrowRecipe
-
Field Summary
Modifier and TypeFieldDescriptionprivate final CraftingBookCategory
private final ResourceLocation
-
Constructor Summary
-
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.world.item.crafting.CraftingRecipe
getType
Methods inherited from interface net.minecraft.world.item.crafting.Recipe
assemble, canCraftInDimensions, getGroup, getIngredients, getRemainingItems, getSerializer, getToastSymbol, isIncomplete, matches
-
Field Details
-
id
-
category
-
-
Constructor Details
-
CustomRecipe
-
-
Method Details
-
getId
- Specified by:
getId
in interfaceRecipe<CraftingContainer>
-
isSpecial
public boolean isSpecial()- Specified by:
isSpecial
in interfaceRecipe<CraftingContainer>
-
getResultItem
- Specified by:
getResultItem
in interfaceRecipe<CraftingContainer>
-
category
- Specified by:
category
in interfaceCraftingRecipe
-