Interface PotionEffectType

All Superinterfaces:
ComponentLike, DefaultedRegistryValue<PotionEffectType>, Taggable<PotionEffectType>

@CatalogedBy(PotionEffectTypes.class) public interface PotionEffectType extends Taggable<PotionEffectType>, ComponentLike
Represents a possible type of PotionEffect.
  • Method Details

    • isInstant

      boolean isInstant()
      Gets whether this potion effect is applied instantly or over time.
      Returns:
      If applied instantly.