Interface PotionEffectType
- All Superinterfaces:
ComponentLike
,DefaultedRegistryValue
@CatalogedBy(PotionEffectTypes.class)
public interface PotionEffectType
extends DefaultedRegistryValue, ComponentLike
Represents a possible type of
PotionEffect
.-
Method Summary
Modifier and TypeMethodDescriptionboolean
Gets whether this potion effect is applied instantly or over time.Methods inherited from interface net.kyori.adventure.text.ComponentLike
asComponent
Methods inherited from interface org.spongepowered.api.registry.DefaultedRegistryValue
asDefaultedReference, findKey, key
-
Method Details
-
isInstant
boolean isInstant()Gets whether this potion effect is applied instantly or over time.- Returns:
- If applied instantly.
-