forked from ACGaming/Spackenmobs
ACGaming
68b777bffb
Adapt auto-formatting to own weird style Re-added missing Jens AI and loot Fixed creative tab
14 lines
351 B
Java
14 lines
351 B
Java
package mod.acgaming.spackenmobs.items;
|
|
|
|
import net.minecraft.potion.Potion;
|
|
|
|
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);
|
|
}
|
|
} |