Package valorless.rarespawns.ability
Annotation Interface AbilityInfo
Annotation for providing metadata about a custom ability in RareSpawns.
Used to specify the ability's name, cooldown, and whether it is single-use.
This annotation is retained at runtime for reflection-based access.
-
Required Element Summary
Required Elements
-
Element Details
-
name
String nameThe display name of the ability.- Returns:
- The ability name.
-
cooldown
String cooldownThe cooldown value for the ability (in seconds).- Returns:
- The cooldown value as a string.
-
single
String singleWhether the ability is single-use (true/false).- Returns:
- "true" if single-use, "false" otherwise.
-