public class PotionHelper extends Object
Modifier and Type | Field and Description |
---|---|
static String |
blazePowderEffect |
static String |
fermentedSpiderEyeEffect |
static String |
field_77924_a |
static String |
ghastTearEffect |
static String |
glowstoneEffect |
static String |
goldenCarrotEffect |
static String |
gunpowderEffect |
static String |
magmaCreamEffect |
static HashMap |
potionAmplifiers
Potion effect amplifier map
|
static HashMap |
potionRequirements |
static String |
redstoneEffect |
static String |
speckledMelonEffect |
static String |
spiderEyeEffect |
static String |
sugarEffect |
Constructor and Description |
---|
PotionHelper() |
Modifier and Type | Method and Description |
---|---|
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
|
static int |
calcPotionLiquidColor(Collection par0Collection)
Given a
Collection <PotionEffect > will return an Integer color. |
static boolean |
checkFlag(int par0,
int par1)
Is the bit given set to 1?
|
static String |
func_77905_c(int par0) |
static int |
func_77908_a(int par0,
int par1,
int par2,
int par3,
int par4,
int par5) |
static int |
func_77909_a(int par0) |
static int |
func_77915_a(int par0,
boolean par1) |
static boolean |
func_82817_b(Collection par0Collection) |
static List |
getPotionEffects(int par0,
boolean par1)
Returns a list of effects for the specified potion damage value.
|
public static final String field_77924_a
public static final String sugarEffect
public static final String ghastTearEffect
public static final String spiderEyeEffect
public static final String fermentedSpiderEyeEffect
public static final String speckledMelonEffect
public static final String blazePowderEffect
public static final String magmaCreamEffect
public static final String redstoneEffect
public static final String glowstoneEffect
public static final String gunpowderEffect
public static final String goldenCarrotEffect
public static final HashMap potionRequirements
public static final HashMap potionAmplifiers
public static boolean checkFlag(int par0, int par1)
public static int func_77909_a(int par0)
public static int calcPotionLiquidColor(Collection par0Collection)
Collection
<PotionEffect
> will return an Integer color.public static boolean func_82817_b(Collection par0Collection)
public static int func_77915_a(int par0, boolean par1)
public static String func_77905_c(int par0)
public static List getPotionEffects(int par0, boolean par1)
public static int applyIngredient(int par0, String par1Str)
public static int func_77908_a(int par0, int par1, int par2, int par3, int par4, int par5)