Interface FindNearestAttackableTargetGoal.Builder
-
- All Superinterfaces:
CopyableBuilder<FindNearestAttackableTargetGoal,FindNearestAttackableTargetGoal.Builder>
,GoalBuilder<Creature,FindNearestAttackableTargetGoal,FindNearestAttackableTargetGoal.Builder>
,ResettableBuilder<FindNearestAttackableTargetGoal,FindNearestAttackableTargetGoal.Builder>
,TargetGoal.Builder<FindNearestAttackableTargetGoal,FindNearestAttackableTargetGoal.Builder>
- Enclosing interface:
- FindNearestAttackableTargetGoal
public static interface FindNearestAttackableTargetGoal.Builder extends TargetGoal.Builder<FindNearestAttackableTargetGoal,FindNearestAttackableTargetGoal.Builder>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description FindNearestAttackableTargetGoal.Builder
chance(int chance)
FindNearestAttackableTargetGoal.Builder
filter(Predicate<? extends Living> predicate)
FindNearestAttackableTargetGoal.Builder
target(Class<? extends Living> targetClass)
-
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.entity.ai.goal.builtin.creature.target.TargetGoal.Builder
checkOnlyNearby, checkSight, reset
-
-
-
-
Method Detail
-
target
FindNearestAttackableTargetGoal.Builder target(Class<? extends Living> targetClass)
-
chance
FindNearestAttackableTargetGoal.Builder chance(int chance)
-
filter
FindNearestAttackableTargetGoal.Builder filter(Predicate<? extends Living> predicate)
-
-