net.minecraft.recipe

public record BrewingIngredient

implements Predicate<ItemStack>

net.minecraft.world.item.crafting.PotionIngredient
net.minecraft.world.item.crafting.PotionIngredient
net.minecraft.class_1_1264
net.minecraft.recipe.BrewingIngredient

Field summary

Modifier and TypeField
private final Ingredient
ingredient
ingredient
comp_1_1305
ingredient
private final Optional<PotionContentsPredicate>
potions
potions
comp_1_1306
potions
public static final com.mojang.serialization.MapCodec<BrewingIngredient>
MAP_CODEC
MAP_CODEC
field_1_8659
CODEC
public static final PacketCodec<RegistryByteBuf, BrewingIngredient>
STREAM_CODEC
STREAM_CODEC
field_1_8660
PACKET_CODEC

Constructor summary

ModifierConstructor
public (Ingredient ingredient, Optional<PotionContentsPredicate> potions)

Method summary

Modifier and TypeMethod
public boolean
test(ItemStack input)
test(ItemStack input)
method_1_8015(class_1799 arg0)
test(ItemStack arg0)
public static BrewingIngredient
of(Item item, PotionsPredicate potions)
of(Item item, PotionsPredicate potions)
method_1_8014(class_1792 arg0, class_9359 arg1)
of(Item item, PotionContentsPredicate contents)
public static BrewingIngredient
of(Item item)
of(Item item)
method_1_8013(class_1792 arg0)
of(Item item)
public static boolean
isPotionInput(ItemStack itemStack, RecipeAccess recipeAccess)
isPotionInput(ItemStack itemStack, RecipeAccess recipeAccess)
method_1_9797(class_1799 arg0, class_10286 arg1)
canInsert(ItemStack input, RecipeManager recipeManager)
public Ingredient
ingredient()
ingredient()
comp_1_1305()
ingredient()
public Optional<PotionContentsPredicate>
potions()
potions()
comp_1_1306()
potions()