Package net.minecraft.src
Class PotionEffect
- java.lang.Object
-
- net.minecraft.src.PotionEffect
-
public class PotionEffect extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description PotionEffect(int var1, int var2, int var3)PotionEffect(PotionEffect var1)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcombine(PotionEffect var1)booleanequals(java.lang.Object var1)intgetAmplifier()intgetDuration()java.lang.StringgetEffectName()intgetPotionID()inthashCode()booleanonUpdate(LivingEntity var1)voidperformEffect(LivingEntity var1)java.lang.StringtoString()
-
-
-
Constructor Detail
-
PotionEffect
public PotionEffect(int var1, int var2, int var3)
-
PotionEffect
public PotionEffect(PotionEffect var1)
-
-
Method Detail
-
combine
public void combine(PotionEffect var1)
-
getPotionID
public int getPotionID()
-
getDuration
public int getDuration()
-
getAmplifier
public int getAmplifier()
-
onUpdate
public boolean onUpdate(LivingEntity var1)
-
performEffect
public void performEffect(LivingEntity var1)
-
getEffectName
public java.lang.String getEffectName()
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
equals
public boolean equals(java.lang.Object var1)
- Overrides:
equalsin classjava.lang.Object
-
-