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 classPotionBrewing.MixPredicate<T extends ForgeRegistryEntry<T>>
-
Field Summary
Fields Modifier and Type Field Description private static java.util.function.Predicate<ItemStack>ALLOWED_CONTAINERprivate static java.util.List<Ingredient>ALLOWED_CONTAINERSprivate static java.util.List<PotionBrewing.MixPredicate<Item>>CONTAINER_MIXESprivate 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 voidaddContainer(Item p_196208_0_)private static voidaddContainerRecipe(Item p_196207_0_, Item p_196207_1_, Item p_196207_2_)private static voidaddMix(Potion p_193357_0_, Item p_193357_1_, Potion p_193357_2_)static voidbootStrap()protected static booleanhasContainerMix(ItemStack p_185206_0_, ItemStack p_185206_1_)static booleanhasMix(ItemStack p_185208_0_, ItemStack p_185208_1_)protected static booleanhasPotionMix(ItemStack p_185209_0_, ItemStack p_185209_1_)static booleanisBrewablePotion(Potion p_222124_0_)protected static booleanisContainerIngredient(ItemStack p_185203_0_)static booleanisIngredient(ItemStack p_185205_0_)protected static booleanisPotionIngredient(ItemStack p_185211_0_)static ItemStackmix(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_)
-
-