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

    Modifier and Type
    Method
    Description
    void
    execute(ItemData data, org.bukkit.entity.Player player)
    Executes this power's effect using the provided item context and player.
  • Method Details

    • execute

      void execute(ItemData data, org.bukkit.entity.Player player)
      Executes this power's effect using the provided item context and player.
      Parameters:
      data - the source item data/context for this power
      player - the player on whom/for whom the power is executed