|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.minecraft.potion.Potion
public class Potion
Field Summary | |
---|---|
static Potion |
blindness
The blindness Potion object. |
static Potion |
confusion
|
static Potion |
damageBoost
|
static Potion |
digSlowdown
|
static Potion |
digSpeed
|
static Potion |
field_76405_D
|
static Potion |
field_76406_E
|
static Potion |
field_76407_F
|
static Potion |
field_76408_G
|
static Potion |
field_76409_A
|
static Potion |
field_76410_B
|
static Potion |
field_76411_C
|
static Potion |
field_76423_b
|
static Potion |
field_76434_w
|
static Potion |
field_76442_z
|
static Potion |
field_76443_y
|
static Potion |
field_76444_x
|
static Potion |
fireResistance
The fire resistance Potion object. |
static Potion |
harm
|
static Potion |
heal
|
static Potion |
hunger
The hunger Potion object. |
int |
id
The Id of a Potion object. |
static Potion |
invisibility
The invisibility Potion object. |
static Potion |
jump
|
static Potion |
moveSlowdown
|
static Potion |
moveSpeed
|
static Potion |
nightVision
The night vision Potion object. |
static Potion |
poison
The poison Potion object. |
static Potion[] |
potionTypes
The array of potion types. |
static Potion |
regeneration
The regeneration Potion object. |
static Potion |
resistance
|
static Potion |
waterBreathing
The water breathing Potion object. |
static Potion |
weakness
The weakness Potion object. |
static Potion |
wither
The wither Potion object. |
Method Summary | |
---|---|
void |
affectEntity(EntityLiving par1EntityLiving,
EntityLiving par2EntityLiving,
int par3,
double par4)
Hits the provided entity with this potion's instant effect. |
static String |
getDurationString(PotionEffect par0PotionEffect)
|
double |
getEffectiveness()
|
int |
getId()
returns the ID of the potion |
int |
getLiquidColor()
Returns the color of the potion liquid. |
String |
getName()
returns the name of the potion |
int |
getStatusIconIndex()
|
boolean |
hasStatusIcon()
|
boolean |
isBadEffect()
|
boolean |
isInstant()
Returns true if the potion has an instant effect instead of a continuous one (eg Harming) |
boolean |
isReady(int par1,
int par2)
checks if Potion effect is ready to be applied this tick. |
boolean |
isUsable()
|
void |
performEffect(EntityLiving par1EntityLiving,
int par2)
|
Potion |
setPotionName(String par1Str)
Set the potion name. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final Potion[] potionTypes
public static final Potion field_76423_b
public static final Potion moveSpeed
public static final Potion moveSlowdown
public static final Potion digSpeed
public static final Potion digSlowdown
public static final Potion damageBoost
public static final Potion heal
public static final Potion harm
public static final Potion jump
public static final Potion confusion
public static final Potion regeneration
public static final Potion resistance
public static final Potion fireResistance
public static final Potion waterBreathing
public static final Potion invisibility
public static final Potion blindness
public static final Potion nightVision
public static final Potion hunger
public static final Potion weakness
public static final Potion poison
public static final Potion wither
public static final Potion field_76434_w
public static final Potion field_76444_x
public static final Potion field_76443_y
public static final Potion field_76442_z
public static final Potion field_76409_A
public static final Potion field_76410_B
public static final Potion field_76411_C
public static final Potion field_76405_D
public static final Potion field_76406_E
public static final Potion field_76407_F
public static final Potion field_76408_G
public final int id
Method Detail |
---|
public int getId()
public void performEffect(EntityLiving par1EntityLiving, int par2)
public void affectEntity(EntityLiving par1EntityLiving, EntityLiving par2EntityLiving, int par3, double par4)
public boolean isInstant()
public boolean isReady(int par1, int par2)
public Potion setPotionName(String par1Str)
public String getName()
public boolean hasStatusIcon()
public int getStatusIconIndex()
public boolean isBadEffect()
public static String getDurationString(PotionEffect par0PotionEffect)
public double getEffectiveness()
public boolean isUsable()
public int getLiquidColor()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |