YATS/Forge Documentation
 All Classes Namespaces Files Functions Variables Enumerator Pages
net.minecraft.potion.PotionHelper Class Reference

Static Public Member Functions

static boolean checkFlag (int par0, int par1)
 
static int func_77909_a (int par0)
 
static int calcPotionLiquidColor (Collection par0Collection)
 
static boolean func_82817_b (Collection par0Collection)
 
static int func_77915_a (int par0, boolean par1)
 
static String func_77905_c (int par0)
 
static List getPotionEffects (int par0, boolean par1)
 
static int applyIngredient (int par0, String par1Str)
 
static int func_77908_a (int par0, int par1, int par2, int par3, int par4, int par5)
 

Static Public Attributes

static final String field_77924_a = null
 
static final String sugarEffect
 
static final String ghastTearEffect = "+0-1-2-3&4-4+13"
 
static final String spiderEyeEffect
 
static final String fermentedSpiderEyeEffect
 
static final String speckledMelonEffect
 
static final String blazePowderEffect
 
static final String magmaCreamEffect
 
static final String redstoneEffect
 
static final String glowstoneEffect
 
static final String gunpowderEffect
 
static final String goldenCarrotEffect
 
static final HashMap potionRequirements = new HashMap()
 
static final HashMap potionAmplifiers = new HashMap()
 

Member Function Documentation

static int net.minecraft.potion.PotionHelper.applyIngredient ( int  par0,
String  par1Str 
)
static

Generate a data value for a potion, given its previous data value and the encoded string of new effects it will receive

static int net.minecraft.potion.PotionHelper.calcPotionLiquidColor ( Collection  par0Collection)
static

Given a Collection<PotionEffect> will return an Integer color.

static boolean net.minecraft.potion.PotionHelper.checkFlag ( int  par0,
int  par1 
)
static

Is the bit given set to 1?

static String net.minecraft.potion.PotionHelper.func_77905_c ( int  par0)
static
static int net.minecraft.potion.PotionHelper.func_77908_a ( int  par0,
int  par1,
int  par2,
int  par3,
int  par4,
int  par5 
)
static
static int net.minecraft.potion.PotionHelper.func_77909_a ( int  par0)
static
static int net.minecraft.potion.PotionHelper.func_77915_a ( int  par0,
boolean  par1 
)
static
static boolean net.minecraft.potion.PotionHelper.func_82817_b ( Collection  par0Collection)
static
static List net.minecraft.potion.PotionHelper.getPotionEffects ( int  par0,
boolean  par1 
)
static

Returns a list of effects for the specified potion damage value.

Member Data Documentation

final String net.minecraft.potion.PotionHelper.blazePowderEffect
static
final String net.minecraft.potion.PotionHelper.fermentedSpiderEyeEffect
static
final String net.minecraft.potion.PotionHelper.field_77924_a = null
static
final String net.minecraft.potion.PotionHelper.ghastTearEffect = "+0-1-2-3&4-4+13"
static
final String net.minecraft.potion.PotionHelper.glowstoneEffect
static
final String net.minecraft.potion.PotionHelper.goldenCarrotEffect
static
final String net.minecraft.potion.PotionHelper.gunpowderEffect
static
final String net.minecraft.potion.PotionHelper.magmaCreamEffect
static
final HashMap net.minecraft.potion.PotionHelper.potionAmplifiers = new HashMap()
static

Potion effect amplifier map

final HashMap net.minecraft.potion.PotionHelper.potionRequirements = new HashMap()
static
final String net.minecraft.potion.PotionHelper.redstoneEffect
static
final String net.minecraft.potion.PotionHelper.speckledMelonEffect
static
final String net.minecraft.potion.PotionHelper.spiderEyeEffect
static
final String net.minecraft.potion.PotionHelper.sugarEffect
static

The documentation for this class was generated from the following file: