Interface AttackLivingGoal.Builder
- All Superinterfaces:
CopyableBuilder<AttackLivingGoal,,AttackLivingGoal.Builder> GoalBuilder<PathfinderAgent,,AttackLivingGoal, AttackLivingGoal.Builder> ResettableBuilder<AttackLivingGoal,AttackLivingGoal.Builder>
- Enclosing interface:
AttackLivingGoal
public static interface AttackLivingGoal.Builder
extends GoalBuilder<PathfinderAgent,AttackLivingGoal,AttackLivingGoal.Builder>
-
Method Summary
Methods inherited from interface org.spongepowered.api.util.CopyableBuilder
fromMethods inherited from interface org.spongepowered.api.entity.ai.goal.GoalBuilder
buildMethods 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 owningAgentto persist targeting anEntityafter a direct path is no longer available.- Returns:
- This builder, for chaining
-