summaryrefslogtreecommitdiff
path: root/src/main/java/darkknight/jewelrycraft/potions/PotionBase.java
diff options
context:
space:
mode:
authorOnyxDarkKnight <sor1n.iliutza16@gmail.com>2015-08-13 21:12:11 +0100
committerOnyxDarkKnight <sor1n.iliutza16@gmail.com>2015-08-13 21:12:11 +0100
commit0ef6a00aa79f022e5bd56b3f77e6861bbecf6d94 (patch)
tree03966c83cd16d1912ec1596d83f89f251cc35f83 /src/main/java/darkknight/jewelrycraft/potions/PotionBase.java
parent921f1ba6f30e66c80c803618ebff496778e78970 (diff)
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...
Diffstat (limited to 'src/main/java/darkknight/jewelrycraft/potions/PotionBase.java')
-rw-r--r--src/main/java/darkknight/jewelrycraft/potions/PotionBase.java20
1 files changed, 20 insertions, 0 deletions
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<PotionBase> potions = new ArrayList<PotionBase>();
+
+ public PotionBase(int id, boolean isBad, int color) {
+ super(id, isBad, color);
+ potions.add(this);
+ }
+
+ public static ArrayList<PotionBase> getPotionList() {
+ return potions;
+ }
+
+ public void action(EntityLivingBase entity) {}
+}