net.minecraft.potion
Class PotionHealth
java.lang.Object
net.minecraft.potion.Potion
net.minecraft.potion.PotionHealth
public class PotionHealth
- extends Potion
Fields inherited from class net.minecraft.potion.Potion |
blindness, confusion, damageBoost, digSlowdown, digSpeed, field_76405_D, field_76406_E, field_76407_F, field_76408_G, field_76409_A, field_76410_B, field_76411_C, field_76423_b, field_76434_w, field_76442_z, field_76443_y, field_76444_x, fireResistance, harm, heal, hunger, id, invisibility, jump, moveSlowdown, moveSpeed, nightVision, poison, potionTypes, regeneration, resistance, waterBreathing, weakness, wither |
Constructor Summary |
PotionHealth(int par1,
boolean par2,
int par3)
|
Method Summary |
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. |
Methods inherited from class net.minecraft.potion.Potion |
affectEntity, getDurationString, getEffectiveness, getId, getLiquidColor, getName, getStatusIconIndex, hasStatusIcon, isBadEffect, isUsable, performEffect, setPotionName |
PotionHealth
public PotionHealth(int par1,
boolean par2,
int par3)
isInstant
public boolean isInstant()
- Returns true if the potion has an instant effect instead of a continuous one (eg Harming)
- Overrides:
isInstant
in class Potion
isReady
public boolean isReady(int par1,
int par2)
- checks if Potion effect is ready to be applied this tick.
- Overrides:
isReady
in class Potion