Interface IAbilityVortex

  • All Superinterfaces:
    IAbility, IAbilityAction

    public interface IAbilityVortex
    extends IAbility
    API interface for Vortex abilities. Pulls targets toward the caster.
    • Method Detail

      • getPullRadius

        float getPullRadius()
        Returns:
        Radius of the pull effect in blocks.
      • setPullRadius

        void setPullRadius​(float radius)
        Parameters:
        radius - Pull effect radius in blocks.
      • getPullStrength

        float getPullStrength()
        Returns:
        Strength of the inward pull force.
      • setPullStrength

        void setPullStrength​(float strength)
        Parameters:
        strength - Pull force strength.
      • getDamage

        float getDamage()
        Returns:
        Damage dealt on initial vortex hit.
      • setDamage

        void setDamage​(float damage)
        Parameters:
        damage - Initial hit damage.
      • getKnockback

        float getKnockback()
        Returns:
        Knockback strength applied on initial hit.
      • setKnockback

        void setKnockback​(float knockback)
        Parameters:
        knockback - Knockback strength.
      • isAoe

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

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

        boolean isDamageOnPull()
        Returns:
        Whether continuous damage is dealt while pulling entities.
      • setDamageOnPull

        void setDamageOnPull​(boolean damage)
        Parameters:
        damage - Whether to deal damage during pull.
      • getPullDamage

        float getPullDamage()
        Returns:
        Damage dealt per tick while pulling entities.
      • setPullDamage

        void setPullDamage​(float damage)
        Parameters:
        damage - Per-tick pull damage.