Interface RangedAttackAgainstAgentGoal

  • All Superinterfaces:
    Goal<Ranger>

    public interface RangedAttackAgainstAgentGoal
    extends Goal<Ranger>
    An Goal which uses the ranging aspect of the Ranger to attack the target.
    • Method Detail

      • moveSpeed

        double moveSpeed()
        Gets the movement speed modifier for moving towards a targeted Entity.
        Returns:
        The movement speed modifier
      • setMoveSpeed

        RangedAttackAgainstAgentGoal setMoveSpeed​(double speed)
        Sets the movement speed modifier for moving towards a targeted Entity.
        Parameters:
        speed - The movement speed modifier
        Returns:
        This goal, for chaining
      • delayBetweenAttacks

        Ticks delayBetweenAttacks()
        Gets the delay in ticks between attempts to attack the targeted Entity.
        Returns:
        The delay in ticks between attempts to attack
      • setDelayBetweenAttacks

        RangedAttackAgainstAgentGoal setDelayBetweenAttacks​(Ticks delay)
        The time, in ticks, this Ranger will wait before attacking again.
        Parameters:
        delay - The delay, in ticks
        Returns:
        This goal, for chaining
      • attackRadius

        float attackRadius()
        Gets the radius of which the owning Ranger will attempt to attack a targeted Entity.
        Returns:
        The radius of which the owning entity will attempt to attack
      • setAttackRadius

        RangedAttackAgainstAgentGoal setAttackRadius​(float radius)
        Sets the radius of which the owning Ranger will attempt to attack a targeted Entity.
        Parameters:
        radius - The radius of which the owning entity will attempt to attack
        Returns:
        This goal, for chaining