Class PotionHelperCommonCapabilities

java.lang.Object
net.minecraft.potion.PotionHelperCommonCapabilities

public class PotionHelperCommonCapabilities extends Object
  • Constructor Details

    • PotionHelperCommonCapabilities

      public PotionHelperCommonCapabilities()
  • Method Details

    • getVanillaRecipes

      public static List<IRecipeDefinition> 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)