class PolarBearEntity.AttackPlayerGoal extends NearestAttackableTargetGoal<PlayerEntity>
nearestTarget, targetChance, targetClass, targetEntitySelectorgoalOwner, shouldCheckSight, target, unseenMemoryTicks| Constructor and Description |
|---|
AttackPlayerGoal() |
| Modifier and Type | Method and Description |
|---|---|
protected double |
getTargetDistance() |
boolean |
shouldExecute() |
findNearestTarget, getTargetableArea, startExecutingisSuitableTarget, resetTask, setUnseenMemoryTicks, shouldContinueExecutinggetMutexFlags, isPreemptible, setMutexFlags, tick, toStringpublic boolean shouldExecute()
shouldExecute in class NearestAttackableTargetGoal<PlayerEntity>protected double getTargetDistance()
getTargetDistance in class TargetGoal