Interface AttackLivingGoal.Builder

All Superinterfaces:
CopyableBuilder<AttackLivingGoal,AttackLivingGoal.Builder>, GoalBuilder<Creature,AttackLivingGoal,AttackLivingGoal.Builder>, ResettableBuilder<AttackLivingGoal,AttackLivingGoal.Builder>
Enclosing interface:
AttackLivingGoal

public static interface AttackLivingGoal.Builder extends GoalBuilder<Creature,AttackLivingGoal,AttackLivingGoal.Builder>
  • Method Details

    • speed

      AttackLivingGoal.Builder speed(double speed)
      Sets the speed modifier at which the owning Agent will be moving towards a targeted Entity.
      Parameters:
      speed - The speed modifier
      Returns:
      This builder, for chaining
    • longMemory

      Sets whether the task will force the owning Agent to persist targeting an Entity after a direct path is no longer available.
      Returns:
      This builder, for chaining