Class CustomRecipe
java.lang.Object
net.minecraft.world.item.crafting.CustomRecipe
- All Implemented Interfaces:
CraftingRecipe
,Recipe<CraftingContainer>
- Direct Known Subclasses:
ArmorDyeRecipe
,BannerDuplicateRecipe
,BookCloningRecipe
,DecoratedPotRecipe
,FireworkRocketRecipe
,FireworkStarFadeRecipe
,FireworkStarRecipe
,MapCloningRecipe
,RepairItemRecipe
,ShieldDecorationRecipe
,ShulkerBoxColoring
,SuspiciousStewRecipe
,TippedArrowRecipe
-
Field Summary
Fields inherited from interface net.minecraft.world.item.crafting.Recipe
CODEC, CONDITIONAL_CODEC, STREAM_CODEC
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncategory()
getResultItem
(HolderLookup.Provider p_336187_) boolean
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, showNotification
-
Field Details
-
category
-
-
Constructor Details
-
CustomRecipe
-
-
Method Details
-
isSpecial
public boolean isSpecial()- Specified by:
isSpecial
in interfaceRecipe<CraftingContainer>
-
getResultItem
- Specified by:
getResultItem
in interfaceRecipe<CraftingContainer>
-
category
- Specified by:
category
in interfaceCraftingRecipe
-