Package valorless.rarespawns.ability
Interface Ability
- All Known Implementing Classes:
callhive,curseundead,frostedfur,hardenediron,nightcloak,spawnbrood,thornmaw,undyingcommander
public interface Ability
Interface for custom abilities in RareSpawns.
Implementations should define the logic for executing an ability on a rare entity.
-
Method Summary
Modifier and TypeMethodDescriptionvoidexecute(EntityData data, org.bukkit.entity.Mob rare) Executes the ability logic for the given rare entity and its data.
-
Method Details
-
execute
Executes the ability logic for the given rare entity and its data.- Parameters:
data- The EntityData containing properties and context for the rare entity.rare- The Mob instance representing the rare entity.
-