Class PotionHelper

java.lang.Object
net.minecraft.src.PotionHelper

public class PotionHelper extends Object
  • Field Details

    • field_77924_a

      public static final String field_77924_a
    • sugarEffect

      public static final String sugarEffect
    • ghastTearEffect

      public static final String ghastTearEffect
      See Also:
    • spiderEyeEffect

      public static final String spiderEyeEffect
    • fermentedSpiderEyeEffect

      public static final String fermentedSpiderEyeEffect
    • speckledMelonEffect

      public static final String speckledMelonEffect
    • blazePowderEffect

      public static final String blazePowderEffect
    • magmaCreamEffect

      public static final String magmaCreamEffect
    • redstoneEffect

      public static final String redstoneEffect
    • glowstoneEffect

      public static final String glowstoneEffect
    • gunpowderEffect

      public static final String gunpowderEffect
    • goldenCarrotEffect

      public static final String goldenCarrotEffect
  • Constructor Details

    • PotionHelper

      public PotionHelper()
  • Method Details

    • checkFlag

      public static boolean checkFlag(int par0, int par1)
      Is the bit given set to 1?
    • func_77909_a

      public static int func_77909_a(int par0)
    • calcPotionLiquidColor

      public static int calcPotionLiquidColor(Collection par0Collection)
      Given a Collection<PotionEffect> will return an Integer color.
    • func_82817_b

      public static boolean func_82817_b(Collection par0Collection)
    • func_77915_a

      public static int func_77915_a(int par0, boolean par1)
    • func_77905_c

      public static String func_77905_c(int par0)
    • getPotionEffects

      public static List getPotionEffects(int par0, boolean par1)
      Returns a list of effects for the specified potion damage value.
    • applyIngredient

      public static int applyIngredient(int par0, String par1Str)
      Generate a data value for a potion, given its previous data value and the encoded string of new effects it will receive
    • func_77908_a

      public static int func_77908_a(int par0, int par1, int par2, int par3, int par4, int par5)
    • getPotionColorCache

      @Environment(CLIENT) public static Map getPotionColorCache()