blob: 0c170e5844df138cf65f2a0645449c4505f7657f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
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<>();
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) {
// Do nothing
}
}
|