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()
    • isPotionOutputValid

      protected static boolean isPotionOutputValid(net.minecraft.world.item.ItemStack input, net.minecraft.world.item.ItemStack output)
    • getPotion

      protected static net.minecraft.core.Holder<net.minecraft.world.item.alchemy.Potion> getPotion(net.minecraft.world.item.ItemStack itemStack)
    • addRecipeIfNew

      protected static void addRecipeIfNew(IPrototypedIngredient<net.minecraft.world.item.ItemStack,Integer> ingredient, IPrototypedIngredient<net.minecraft.world.item.ItemStack,Integer> item, net.minecraft.world.item.ItemStack output, List<net.minecraft.world.item.ItemStack> newItems)