Class PotionHelperCommonCapabilities
java.lang.Object
net.minecraft.potion.PotionHelperCommonCapabilities
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected static voidaddRecipe(IPrototypedIngredient<net.minecraft.world.item.ItemStack, Integer> reagent, IPrototypedIngredient<net.minecraft.world.item.ItemStack, Integer> input, net.minecraft.world.item.ItemStack output) protected static voidaddRecipes(net.minecraft.world.item.crafting.BrewingRecipe recipe) protected static List<net.minecraft.world.item.ItemStack> getMatchingStacks(net.minecraft.world.item.crafting.PotionIngredient ingredient) Expand a potion ingredient into the concrete stacks it accepts: its container items, each carrying one of the potions its predicate allows.static List<IRecipeDefinition>
-
Constructor Details
-
PotionHelperCommonCapabilities
public PotionHelperCommonCapabilities()
-
-
Method Details
-
getVanillaRecipes
-
addRecipes
protected static void addRecipes(net.minecraft.world.item.crafting.BrewingRecipe recipe) -
getMatchingStacks
protected static List<net.minecraft.world.item.ItemStack> getMatchingStacks(net.minecraft.world.item.crafting.PotionIngredient ingredient) Expand a potion ingredient into the concrete stacks it accepts: its container items, each carrying one of the potions its predicate allows. -
addRecipe
protected static void addRecipe(IPrototypedIngredient<net.minecraft.world.item.ItemStack, Integer> reagent, IPrototypedIngredient<net.minecraft.world.item.ItemStack, Integer> input, net.minecraft.world.item.ItemStack output)
-