blob: 3160e91fcaaa2ee995009cbd258a8525f356c4ba (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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) {}
}
|