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
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 Details
-
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
-