net.minecraft.recipe

public class BrewingRecipeRegistry

net.minecraft.world.item.alchemy.PotionBrewing
net.minecraft.class_1845
net.minecraft.recipe.BrewingRecipeRegistry

Field summary

Modifier and TypeField
public static final int
BREWING_TIME_SECONDS
field_30942
field_30942
public static final BrewingRecipeRegistry
EMPTY
field_51402
EMPTY
private final List<Ingredient>
containers
field_51403
potionTypes
private final List<BrewingRecipeRegistry$Recipe<Potion>>
potionMixes
field_51404
potionRecipes
private final List<BrewingRecipeRegistry$Recipe<Item>>
containerMixes
field_51405
itemRecipes

Constructor summary

ModifierConstructor
private (List<Ingredient> potionTypes, List<BrewingRecipeRegistry$Recipe<Potion>> potionRecipes, List<BrewingRecipeRegistry$Recipe<Item>> itemRecipes)

Method summary

Modifier and TypeMethod
public boolean
isIngredient(ItemStack ingredient)
method_8077(class_1799 arg0)
isValidIngredient(ItemStack stack)
private boolean
isContainer(ItemStack input)
method_59700(class_1799 arg0)
isPotionType(ItemStack stack)
public boolean
isContainerIngredient(ItemStack ingredient)
method_8079(class_1799 arg0)
isItemRecipeIngredient(ItemStack stack)
public boolean
isPotionIngredient(ItemStack ingredient)
method_8069(class_1799 arg0)
isPotionRecipeIngredient(ItemStack stack)
public boolean
isBrewablePotion(Holder<Potion> potion)
method_20361(class_6880<class_1842> arg0)
isBrewable(RegistryEntry<Potion> potion)
public boolean
hasMix(ItemStack source, ItemStack ingredient)
method_8072(class_1799 arg0, class_1799 arg1)
hasRecipe(ItemStack input, ItemStack ingredient)
public boolean
hasContainerMix(ItemStack source, ItemStack ingredient)
method_8070(class_1799 arg0, class_1799 arg1)
hasItemRecipe(ItemStack input, ItemStack ingredient)
public boolean
hasPotionMix(ItemStack source, ItemStack ingredient)
method_8075(class_1799 arg0, class_1799 arg1)
hasPotionRecipe(ItemStack input, ItemStack ingredient)
public ItemStack
mix(ItemStack ingredient, ItemStack source)
method_8078(class_1799 arg0, class_1799 arg1)
craft(ItemStack ingredient, ItemStack input)
public static BrewingRecipeRegistry
bootstrap(FeatureFlagSet enabledFeatures)
method_8076(class_7699 arg0)
create(FeatureSet enabledFeatures)
public static void
addVanillaMixes(PotionBrewing$Builder builder)
method_59699(class_1845$class_9665 arg0)
registerDefaults(BrewingRecipeRegistry$Builder builder)