public static interface FindNearestAttackableTargetAITask.Builder extends TargetAITask.Builder<FindNearestAttackableTargetAITask,FindNearestAttackableTargetAITask.Builder>
Modifier and Type | Method and Description |
---|---|
FindNearestAttackableTargetAITask.Builder |
chance(int chance) |
FindNearestAttackableTargetAITask.Builder |
filter(Predicate<? extends Living> predicate) |
FindNearestAttackableTargetAITask.Builder |
target(Class<? extends Living> targetClass) |
checkSight, onlyNearby, reset
build
from
FindNearestAttackableTargetAITask.Builder target(Class<? extends Living> targetClass)
FindNearestAttackableTargetAITask.Builder chance(int chance)
FindNearestAttackableTargetAITask.Builder filter(Predicate<? extends Living> predicate)