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 void
combine(PotionEffect var1)
boolean
equals(java.lang.Object var1)
int
getAmplifier()
int
getDuration()
java.lang.String
getEffectName()
int
getPotionID()
int
hashCode()
boolean
onUpdate(LivingEntity var1)
void
performEffect(LivingEntity var1)
java.lang.String
toString()
-
-
-
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:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object var1)
- Overrides:
equals
in classjava.lang.Object
-
-