Interface IAbilityShockwave

  • All Superinterfaces:
    IAbility, IAbilityAction

    public interface IAbilityShockwave
    extends IAbility
    API interface for Shockwave abilities. Pushes targets away from the caster.
    • Method Detail

      • getPushRadius

        float getPushRadius()
        Returns:
        Radius of the push effect in blocks.
      • setPushRadius

        void setPushRadius​(float radius)
        Parameters:
        radius - Push radius in blocks.
      • getPushStrength

        float getPushStrength()
        Returns:
        Strength of the outward push force.
      • setPushStrength

        void setPushStrength​(float strength)
        Parameters:
        strength - Push force strength.
      • getDamage

        float getDamage()
        Returns:
        Damage dealt to entities caught in the shockwave.
      • setDamage

        void setDamage​(float damage)
        Parameters:
        damage - Shockwave damage.
      • isAoe

        boolean isAoe()
        Returns:
        Whether the shockwave hits all entities in radius (true) or only the target (false).
      • setAoe

        void setAoe​(boolean aoe)
        Parameters:
        aoe - Whether the shockwave is area-of-effect.