public class Potion
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static Potion |
blindness |
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 |
static Potion |
harm |
static Potion |
heal |
static Potion |
hunger |
int |
id |
static Potion |
invisibility |
static Potion |
jump |
static Potion |
moveSlowdown |
static Potion |
moveSpeed |
static Potion |
nightVision |
static Potion |
poison |
static Potion[] |
potionTypes |
static Potion |
regeneration |
static Potion |
resistance |
static Potion |
waterBreathing |
static Potion |
weakness |
static Potion |
wither |
Modifier | Constructor and Description |
---|---|
protected |
Potion(int p_i1573_1_,
boolean p_i1573_2_,
int p_i1573_3_) |
Modifier and Type | Method and Description |
---|---|
void |
affectEntity(EntityLivingBase p_76402_1_,
EntityLivingBase p_76402_2_,
int p_76402_3_,
double p_76402_4_) |
void |
applyAttributesModifiersToEntity(EntityLivingBase p_111185_1_,
BaseAttributeMap p_111185_2_,
int p_111185_3_) |
double |
func_111183_a(int p_111183_1_,
AttributeModifier p_111183_2_) |
Potion |
func_111184_a(IAttribute p_111184_1_,
java.lang.String p_111184_2_,
double p_111184_3_,
int p_111184_5_) |
java.util.Map |
func_111186_k() |
static java.lang.String |
getDurationString(PotionEffect p_76389_0_) |
double |
getEffectiveness() |
int |
getId() |
int |
getLiquidColor() |
java.lang.String |
getName() |
int |
getStatusIconIndex() |
boolean |
hasStatusIcon() |
boolean |
isBadEffect() |
boolean |
isInstant() |
boolean |
isReady(int p_76397_1_,
int p_76397_2_) |
boolean |
isUsable() |
void |
performEffect(EntityLivingBase p_76394_1_,
int p_76394_2_) |
void |
removeAttributesModifiersFromEntity(EntityLivingBase p_111187_1_,
BaseAttributeMap p_111187_2_,
int p_111187_3_) |
protected Potion |
setEffectiveness(double p_76404_1_) |
protected Potion |
setIconIndex(int p_76399_1_,
int p_76399_2_) |
Potion |
setPotionName(java.lang.String p_76390_1_) |
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
protected Potion setIconIndex(int p_76399_1_, int p_76399_2_)
public int getId()
public void performEffect(EntityLivingBase p_76394_1_, int p_76394_2_)
public void affectEntity(EntityLivingBase p_76402_1_, EntityLivingBase p_76402_2_, int p_76402_3_, double p_76402_4_)
public boolean isInstant()
public boolean isReady(int p_76397_1_, int p_76397_2_)
public Potion setPotionName(java.lang.String p_76390_1_)
public java.lang.String getName()
protected Potion setEffectiveness(double p_76404_1_)
public boolean hasStatusIcon()
public int getStatusIconIndex()
public boolean isBadEffect()
public static java.lang.String getDurationString(PotionEffect p_76389_0_)
public double getEffectiveness()
public boolean isUsable()
public int getLiquidColor()
public Potion func_111184_a(IAttribute p_111184_1_, java.lang.String p_111184_2_, double p_111184_3_, int p_111184_5_)
public void removeAttributesModifiersFromEntity(EntityLivingBase p_111187_1_, BaseAttributeMap p_111187_2_, int p_111187_3_)
public java.util.Map func_111186_k()
public void applyAttributesModifiersToEntity(EntityLivingBase p_111185_1_, BaseAttributeMap p_111185_2_, int p_111185_3_)
public double func_111183_a(int p_111183_1_, AttributeModifier p_111183_2_)