Package net.minecraft.potion
Class PotionBrewing
- java.lang.Object
-
- net.minecraft.potion.PotionBrewing
-
public class PotionBrewing extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
PotionBrewing.MixPredicate<T extends ForgeRegistryEntry<T>>
-
Field Summary
Fields Modifier and Type Field Description private static java.util.function.Predicate<ItemStack>
ALLOWED_CONTAINER
private static java.util.List<Ingredient>
ALLOWED_CONTAINERS
private static java.util.List<PotionBrewing.MixPredicate<Item>>
CONTAINER_MIXES
private static java.util.List<PotionBrewing.MixPredicate<Potion>>
POTION_MIXES
-
Constructor Summary
Constructors Constructor Description PotionBrewing()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description private static void
addContainer(Item p_196208_0_)
private static void
addContainerRecipe(Item p_196207_0_, Item p_196207_1_, Item p_196207_2_)
private static void
addMix(Potion p_193357_0_, Item p_193357_1_, Potion p_193357_2_)
static void
bootStrap()
protected static boolean
hasContainerMix(ItemStack p_185206_0_, ItemStack p_185206_1_)
static boolean
hasMix(ItemStack p_185208_0_, ItemStack p_185208_1_)
protected static boolean
hasPotionMix(ItemStack p_185209_0_, ItemStack p_185209_1_)
static boolean
isBrewablePotion(Potion p_222124_0_)
protected static boolean
isContainerIngredient(ItemStack p_185203_0_)
static boolean
isIngredient(ItemStack p_185205_0_)
protected static boolean
isPotionIngredient(ItemStack p_185211_0_)
static ItemStack
mix(ItemStack p_185212_0_, ItemStack p_185212_1_)
-
-
-
Field Detail
-
POTION_MIXES
private static final java.util.List<PotionBrewing.MixPredicate<Potion>> POTION_MIXES
-
CONTAINER_MIXES
private static final java.util.List<PotionBrewing.MixPredicate<Item>> CONTAINER_MIXES
-
ALLOWED_CONTAINERS
private static final java.util.List<Ingredient> ALLOWED_CONTAINERS
-
ALLOWED_CONTAINER
private static final java.util.function.Predicate<ItemStack> ALLOWED_CONTAINER
-
-
Method Detail
-
isIngredient
public static boolean isIngredient(ItemStack p_185205_0_)
-
isContainerIngredient
protected static boolean isContainerIngredient(ItemStack p_185203_0_)
-
isPotionIngredient
protected static boolean isPotionIngredient(ItemStack p_185211_0_)
-
isBrewablePotion
public static boolean isBrewablePotion(Potion p_222124_0_)
-
hasContainerMix
protected static boolean hasContainerMix(ItemStack p_185206_0_, ItemStack p_185206_1_)
-
bootStrap
public static void bootStrap()
-
addContainerRecipe
private static void addContainerRecipe(Item p_196207_0_, Item p_196207_1_, Item p_196207_2_)
-
addContainer
private static void addContainer(Item p_196208_0_)
-
-