mirror of
https://github.com/ACGaming/Spackenmobs
synced 2024-05-19 11:54:25 +02:00
12 lines
380 B
Java
12 lines
380 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);
|
|
}
|
|
} |