How we use extended PotionEffectType? Code (Text): public class FancyEffect extends PotionEffectType{ protected FancyEffect(int id) { super(id); } @Override public Color getColor() { return null; } @Override public double getDurationModifier() { return 0; } @Override public String getName() { return null; } @Override public boolean isInstant() { return false; } }
For code related issues, post it on this forum: https://www.spigotmc.org/forums/spigot-plugin-development.52/ Either way, your question isn't specific enough. Are there any issues you're having? What are you wanting to accomplish?