Class CustomRecipe
java.lang.Object
net.minecraft.world.item.crafting.CustomRecipe
- All Implemented Interfaces:
CraftingRecipe, Recipe<CraftingInput>
- Direct Known Subclasses:
BannerDuplicateRecipe, BookCloningRecipe, DecoratedPotRecipe, FireworkRocketRecipe, FireworkStarFadeRecipe, FireworkStarRecipe, MapExtendingRecipe, RepairItemRecipe, ShieldDecorationRecipe
-
Nested Class Summary
Nested classes/interfaces inherited from interface CraftingRecipe
CraftingRecipe.CraftingBookInfoNested classes/interfaces inherited from interface Recipe
Recipe.BookInfo<CategoryType>, Recipe.CommonInfo -
Field Summary
Fields inherited from interface Recipe
CODEC, CONDITIONAL_CODEC, KEY_CODEC, STREAM_CODEC -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncategory()abstract RecipeSerializer<? extends CustomRecipe> group()booleanbooleanMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface CraftingRecipe
getRemainingItems, getType, recipeBookCategory
-
Constructor Details
-
CustomRecipe
public CustomRecipe()
-
-
Method Details
-
isSpecial
public boolean isSpecial()- Specified by:
isSpecialin interfaceRecipe<CraftingInput>
-
showNotification
public boolean showNotification()- Specified by:
showNotificationin interfaceRecipe<CraftingInput>
-
group
- Specified by:
groupin interfaceRecipe<CraftingInput>
-
category
- Specified by:
categoryin interfaceCraftingRecipe
-
placementInfo
- Specified by:
placementInfoin interfaceRecipe<CraftingInput>
-
getSerializer
- Specified by:
getSerializerin interfaceCraftingRecipe- Specified by:
getSerializerin interfaceRecipe<CraftingInput>
-