Class DecoratedPotRecipe
java.lang.Object
net.minecraft.world.item.crafting.CustomRecipe
net.minecraft.world.item.crafting.DecoratedPotRecipe
- All Implemented Interfaces:
CraftingRecipe, Recipe<CraftingInput>
-
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 TypeFieldDescriptionprivate final Ingredientprivate final Ingredientprivate final Ingredientstatic final com.mojang.serialization.MapCodec<DecoratedPotRecipe> private final ItemStackTemplateprivate final Ingredientstatic final RecipeSerializer<DecoratedPotRecipe> static final StreamCodec<RegistryFriendlyByteBuf, DecoratedPotRecipe> Fields inherited from interface Recipe
CODEC, CONDITIONAL_CODEC, KEY_CODEC -
Constructor Summary
ConstructorsConstructorDescriptionDecoratedPotRecipe(Ingredient backPattern, Ingredient leftPattern, Ingredient rightPattern, Ingredient frontPattern, ItemStackTemplate result) DecoratedPotRecipe(Ingredient wallPattern, ItemStackTemplate result) -
Method Summary
Modifier and TypeMethodDescriptionassemble(CraftingInput input) private static ItemStackback(CraftingInput input) private static ItemStackfront(CraftingInput input) private static ItemStackleft(CraftingInput input) booleanmatches(CraftingInput input, Level level) private static ItemStackright(CraftingInput input) Methods inherited from class CustomRecipe
category, group, isSpecial, placementInfo, showNotificationMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface CraftingRecipe
getRemainingItems, getType, recipeBookCategory
-
Field Details
-
MAP_CODEC
-
STREAM_CODEC
-
SERIALIZER
-
backPattern
-
leftPattern
-
rightPattern
-
frontPattern
-
result
-
-
Constructor Details
-
DecoratedPotRecipe
-
DecoratedPotRecipe
public DecoratedPotRecipe(Ingredient backPattern, Ingredient leftPattern, Ingredient rightPattern, Ingredient frontPattern, ItemStackTemplate result)
-
-
Method Details
-
back
-
left
-
right
-
front
-
matches
-
assemble
-
getSerializer
- Specified by:
getSerializerin interfaceCraftingRecipe- Specified by:
getSerializerin interfaceRecipe<CraftingInput>- Specified by:
getSerializerin classCustomRecipe
-