Interface PotionEffectType
-
- All Superinterfaces:
ComponentLike
,DefaultedRegistryValue
@CatalogedBy(PotionEffectTypes.class) public interface PotionEffectType extends DefaultedRegistryValue, ComponentLike
Represents a possible type ofPotionEffect
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
isInstant()
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
-
-