Interface PotionEffectType

All Superinterfaces:
ComponentLike, DefaultedRegistryValue

@CatalogedBy(PotionEffectTypes.class) public interface PotionEffectType extends DefaultedRegistryValue, 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.