001 package net.minecraft.potion;
002
003 public class PotionHealth extends Potion
004 {
005 public PotionHealth(int par1, boolean par2, int par3)
006 {
007 super(par1, par2, par3);
008 }
009
010 /**
011 * Returns true if the potion has an instant effect instead of a continuous one (eg Harming)
012 */
013 public boolean isInstant()
014 {
015 return true;
016 }
017
018 /**
019 * checks if Potion effect is ready to be applied this tick.
020 */
021 public boolean isReady(int par1, int par2)
022 {
023 return par1 >= 1;
024 }
025 }