static class SpiderEntity.TargetGoal<T extends LivingEntity> extends NearestAttackableTargetGoal<T>
nearestTarget, targetChance, targetClass, targetEntitySelectorgoalOwner, shouldCheckSight, target, unseenMemoryTicks| Constructor and Description |
|---|
TargetGoal(SpiderEntity spider,
java.lang.Class<T> classTarget) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
shouldExecute() |
findNearestTarget, getTargetableArea, startExecutinggetTargetDistance, isSuitableTarget, resetTask, setUnseenMemoryTicks, shouldContinueExecutinggetMutexFlags, isPreemptible, setMutexFlags, tick, toStringpublic TargetGoal(SpiderEntity spider, java.lang.Class<T> classTarget)
public boolean shouldExecute()
shouldExecute in class NearestAttackableTargetGoal<T extends LivingEntity>