Package valorless.rarespawns.soulpower
Interface SoulPower
public interface SoulPower
Contract for a Soul Power that can be executed at runtime.
Implementations are compiled/loaded dynamically and invoked by the SoulPowerManager/SoulPowerCompiler pipeline. Keep logic non-blocking and schedule long tasks if needed.
-
Method Summary
-
Method Details
-
execute
Executes this power's effect using the provided item context and player.- Parameters:
data- the source item data/context for this powerplayer- the player on whom/for whom the power is executed
-