Class NormalCraftingRecipe
java.lang.Object
net.minecraft.world.item.crafting.NormalCraftingRecipe
- All Implemented Interfaces:
CraftingRecipe, Recipe<CraftingInput>
- Direct Known Subclasses:
DyeRecipe, ImbueRecipe, ShapedRecipe, ShapelessRecipe, TransmuteRecipe
-
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
FieldsModifier and TypeFieldDescriptionprotected final CraftingRecipe.CraftingBookInfoprotected final Recipe.CommonInfoprivate @Nullable PlacementInfoFields inherited from interface Recipe
CODEC, CONDITIONAL_CODEC, KEY_CODEC, STREAM_CODEC -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedNormalCraftingRecipe(Recipe.CommonInfo commonInfo, CraftingRecipe.CraftingBookInfo bookInfo) -
Method Summary
Modifier and TypeMethodDescriptionfinal CraftingBookCategorycategory()protected abstract PlacementInfoabstract RecipeSerializer<? extends NormalCraftingRecipe> final Stringgroup()final PlacementInfofinal booleanMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface CraftingRecipe
getRemainingItems, getType, recipeBookCategory
-
Field Details
-
commonInfo
-
bookInfo
-
placementInfo
-
-
Constructor Details
-
NormalCraftingRecipe
protected NormalCraftingRecipe(Recipe.CommonInfo commonInfo, CraftingRecipe.CraftingBookInfo bookInfo)
-
-
Method Details
-
getSerializer
- Specified by:
getSerializerin interfaceCraftingRecipe- Specified by:
getSerializerin interfaceRecipe<CraftingInput>
-
group
- Specified by:
groupin interfaceRecipe<CraftingInput>
-
category
- Specified by:
categoryin interfaceCraftingRecipe
-
showNotification
public final boolean showNotification()- Specified by:
showNotificationin interfaceRecipe<CraftingInput>
-
createPlacementInfo
-
placementInfo
- Specified by:
placementInfoin interfaceRecipe<CraftingInput>
-