public class PotionBrewing
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
(package private) static class |
PotionBrewing.MixPredicate<T extends ForgeRegistryEntry<T>> |
Modifier and Type | Field and Description |
---|---|
private static java.util.function.Predicate<ItemStack> |
IS_POTION_ITEM |
private static java.util.List<PotionBrewing.MixPredicate<Item>> |
POTION_ITEM_CONVERSIONS |
private static java.util.List<Ingredient> |
POTION_ITEMS |
private static java.util.List<PotionBrewing.MixPredicate<Potion>> |
POTION_TYPE_CONVERSIONS |
Constructor and Description |
---|
PotionBrewing() |
Modifier and Type | Method and 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 ItemStack |
doReaction(ItemStack reagent,
ItemStack potionIn) |
static boolean |
func_222124_a(Potion p_222124_0_) |
static boolean |
hasConversions(ItemStack input,
ItemStack reagent) |
protected static boolean |
hasItemConversions(ItemStack input,
ItemStack reagent) |
protected static boolean |
hasTypeConversions(ItemStack input,
ItemStack reagent) |
static void |
init() |
protected static boolean |
isItemConversionReagent(ItemStack stack) |
static boolean |
isReagent(ItemStack stack) |
protected static boolean |
isTypeConversionReagent(ItemStack stack) |
private static final java.util.List<PotionBrewing.MixPredicate<Potion>> POTION_TYPE_CONVERSIONS
private static final java.util.List<PotionBrewing.MixPredicate<Item>> POTION_ITEM_CONVERSIONS
private static final java.util.List<Ingredient> POTION_ITEMS
private static final java.util.function.Predicate<ItemStack> IS_POTION_ITEM
public static boolean isReagent(ItemStack stack)
protected static boolean isItemConversionReagent(ItemStack stack)
protected static boolean isTypeConversionReagent(ItemStack stack)
public static boolean func_222124_a(Potion p_222124_0_)
public static void init()
private static void addContainerRecipe(Item p_196207_0_, Item p_196207_1_, Item p_196207_2_)
private static void addContainer(Item p_196208_0_)