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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AttackLivingGoal.Builder
longMemory()
AttackLivingGoal.Builder
speed(double speed)
-
Methods inherited from interface org.spongepowered.api.util.CopyableBuilder
from
-
Methods inherited from interface org.spongepowered.api.entity.ai.goal.GoalBuilder
build
-
Methods inherited from interface org.spongepowered.api.util.ResettableBuilder
reset
-
-
-
-
Method Detail
-
speed
AttackLivingGoal.Builder speed(double speed)
- Parameters:
speed
- The speed modifier- Returns:
- This builder, for chaining
-
longMemory
AttackLivingGoal.Builder longMemory()
Sets whether the task will force the owningAgent
to persist targeting anEntity
after a direct path is no longer available.- Returns:
- This builder, for chaining
-
-