diff options
Diffstat (limited to 'src/main/java/darkknight/jewelrycraft/potions/PotionStun.java')
| -rw-r--r-- | src/main/java/darkknight/jewelrycraft/potions/PotionStun.java | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/src/main/java/darkknight/jewelrycraft/potions/PotionStun.java b/src/main/java/darkknight/jewelrycraft/potions/PotionStun.java new file mode 100644 index 0000000..f01a467 --- /dev/null +++ b/src/main/java/darkknight/jewelrycraft/potions/PotionStun.java @@ -0,0 +1,26 @@ +/** + * + */ +package darkknight.jewelrycraft.potions; + +import cpw.mods.fml.relauncher.Side; +import cpw.mods.fml.relauncher.SideOnly; +import darkknight.jewelrycraft.util.Variables; +import net.minecraft.entity.EntityLivingBase; +import net.minecraft.potion.Potion; +import net.minecraft.potion.PotionEffect; + +/** + * @author Sorin + */ +public class PotionStun extends Potion +{ + protected PotionStun(int id, boolean isBad, int color) + { + super(id, isBad, color); + this.setPotionName(Variables.MODID + ".potion.stun"); + } + + @SideOnly(Side.CLIENT) + public void renderInventoryEffect(int x, int y, PotionEffect effect, net.minecraft.client.Minecraft mc) { } +} |
