Package net.minecraft.src
Class PotionHelper
java.lang.Object
net.minecraft.src.PotionHelper
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic intapplyIngredient(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 receivestatic intcalcPotionLiquidColor(Collection par0Collection) static booleancheckFlag(int par0, int par1) Is the bit given set to 1?static Stringfunc_77905_c(int par0) static intfunc_77908_a(int par0, int par1, int par2, int par3, int par4, int par5) static intfunc_77909_a(int par0) static intfunc_77915_a(int par0, boolean par1) static booleanfunc_82817_b(Collection par0Collection) static Mapstatic ListgetPotionEffects(int par0, boolean par1) Returns a list of effects for the specified potion damage value.
-
Field Details
-
field_77924_a
-
sugarEffect
-
ghastTearEffect
- See Also:
-
spiderEyeEffect
-
fermentedSpiderEyeEffect
-
speckledMelonEffect
-
blazePowderEffect
-
magmaCreamEffect
-
redstoneEffect
-
glowstoneEffect
-
gunpowderEffect
-
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
-
func_82817_b
-
func_77915_a
public static int func_77915_a(int par0, boolean par1) -
func_77905_c
-
getPotionEffects
Returns a list of effects for the specified potion damage value. -
applyIngredient
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
-