Interface IAbilitySlam

  • All Superinterfaces:
    IAbility, IAbilityAction

    public interface IAbilitySlam
    extends IAbility
    API interface for Slam abilities. Ground-pound AOE attack with leap.
    • Method Detail

      • getDamage

        float getDamage()
        Returns:
        Damage dealt on ground impact.
      • setDamage

        void setDamage​(float damage)
        Parameters:
        damage - Impact damage amount.
      • getRadius

        float getRadius()
        Returns:
        Radius of the impact area in blocks.
      • setRadius

        void setRadius​(float radius)
        Parameters:
        radius - Impact radius in blocks.
      • getKnockbackStrength

        float getKnockbackStrength()
        Returns:
        Knockback strength applied to entities in the impact area.
      • setKnockbackStrength

        void setKnockbackStrength​(float knockback)
        Parameters:
        knockback - Knockback strength.
      • getLeapSpeed

        float getLeapSpeed()
        Returns:
        Horizontal speed of the leap toward the target.
      • setLeapSpeed

        void setLeapSpeed​(float speed)
        Parameters:
        speed - Leap speed.
      • getLeapHeight

        float getLeapHeight()
        Returns:
        Vertical height of the leap in blocks.
      • setLeapHeight

        void setLeapHeight​(float height)
        Parameters:
        height - Leap height in blocks.