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 Summary
Modifier and TypeMethodDescriptionbooleanGets whether this potion effect is applied instantly or over time.Methods inherited from interface ComponentLike
asComponentMethods inherited from interface DefaultedRegistryValue
asDefaultedReference, findKey, key
-
Method Details
-
isInstant
boolean isInstant()Gets whether this potion effect is applied instantly or over time.- Returns:
- If applied instantly.
-