From 0ef6a00aa79f022e5bd56b3f77e6861bbecf6d94 Mon Sep 17 00:00:00 2001 From: OnyxDarkKnight Date: Thu, 13 Aug 2015 21:12:11 +0100 Subject: Added a new structure, a new curse, achievements, challenges, curses entry in the guide; reworked liquids to be tile entities, cleaned the structures code, potion code and... you know what? I improved and changed so much stuff that I literally forgot what I did... --- .../darkknight/jewelrycraft/potions/PotionBase.java | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 src/main/java/darkknight/jewelrycraft/potions/PotionBase.java (limited to 'src/main/java/darkknight/jewelrycraft/potions/PotionBase.java') diff --git a/src/main/java/darkknight/jewelrycraft/potions/PotionBase.java b/src/main/java/darkknight/jewelrycraft/potions/PotionBase.java new file mode 100644 index 0000000..3160e91 --- /dev/null +++ b/src/main/java/darkknight/jewelrycraft/potions/PotionBase.java @@ -0,0 +1,20 @@ +package darkknight.jewelrycraft.potions; + +import java.util.ArrayList; +import net.minecraft.entity.EntityLivingBase; +import net.minecraft.potion.Potion; + +public class PotionBase extends Potion { + private static ArrayList potions = new ArrayList(); + + public PotionBase(int id, boolean isBad, int color) { + super(id, isBad, color); + potions.add(this); + } + + public static ArrayList getPotionList() { + return potions; + } + + public void action(EntityLivingBase entity) {} +} -- cgit v1.2.3