Class BrewingRecipe
java.lang.Object
net.minecraft.world.item.crafting.BrewingRecipe
- All Implemented Interfaces:
Recipe<BrewingInput>
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface Recipe
Recipe.BookInfo<CategoryType>, Recipe.CommonInfo -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final PotionIngredientstatic final com.mojang.serialization.MapCodec<BrewingRecipe> private final ItemStackTemplateprivate final PotionIngredientstatic final RecipeSerializer<BrewingRecipe> static final StreamCodec<RegistryFriendlyByteBuf, BrewingRecipe> Fields inherited from interface Recipe
CODEC, DIRECT_CODEC, KEY_CODEC, LIST_CODEC -
Constructor Summary
ConstructorsConstructorDescriptionBrewingRecipe(PotionIngredient input, PotionIngredient reagent, ItemStackTemplate output) -
Method Summary
Modifier and TypeMethodDescriptionassemble(BrewingInput input) getInput()getType()group()booleanbooleanmatches(BrewingInput brewingInput) booleanmatches(BrewingInput brewingInput, Level level) boolean
-
Field Details
-
MAP_CODEC
-
STREAM_CODEC
-
SERIALIZER
-
input
-
reagent
-
output
-
-
Constructor Details
-
BrewingRecipe
-
-
Method Details
-
getInput
-
getReagent
-
getOutput
-
matches
- Specified by:
matchesin interfaceRecipe<BrewingInput>
-
matches
-
assemble
- Specified by:
assemblein interfaceRecipe<BrewingInput>
-
getType
- Specified by:
getTypein interfaceRecipe<BrewingInput>
-
placementInfo
- Specified by:
placementInfoin interfaceRecipe<BrewingInput>
-
isSpecial
public boolean isSpecial()- Specified by:
isSpecialin interfaceRecipe<BrewingInput>
-
showNotification
public boolean showNotification()- Specified by:
showNotificationin interfaceRecipe<BrewingInput>
-
group
- Specified by:
groupin interfaceRecipe<BrewingInput>
-
recipeBookCategory
- Specified by:
recipeBookCategoryin interfaceRecipe<BrewingInput>
-
getSerializer
- Specified by:
getSerializerin interfaceRecipe<BrewingInput>
-