2020-08-15 10:26:38 +02:00
|
|
|
package mod.acgaming.spackenmobs.items;
|
2020-08-23 10:30:02 +02:00
|
|
|
|
2020-08-15 10:26:38 +02:00
|
|
|
import net.minecraft.potion.Potion;
|
|
|
|
|
2020-08-29 17:36:56 +02:00
|
|
|
public class ItemPotion extends Potion {
|
|
|
|
public ItemPotion(String name, boolean isBadPotion, int color, int iconIndexX, int iconIndexY) {
|
|
|
|
super(isBadPotion, color);
|
|
|
|
setPotionName("effect." + name);
|
|
|
|
setIconIndex(iconIndexX, iconIndexY);
|
|
|
|
setRegistryName(name);
|
|
|
|
}
|
2020-08-15 10:26:38 +02:00
|
|
|
}
|