class ShulkerEntity.AttackNearestGoal extends NearestAttackableTargetGoal<PlayerEntity>
nearestTarget, targetChance, targetClass, targetEntitySelectorgoalOwner, shouldCheckSight, target, unseenMemoryTicks| Constructor and Description |
|---|
AttackNearestGoal(ShulkerEntity shulker) |
| Modifier and Type | Method and Description |
|---|---|
protected AxisAlignedBB |
getTargetableArea(double targetDistance) |
boolean |
shouldExecute() |
findNearestTarget, startExecutinggetTargetDistance, isSuitableTarget, resetTask, setUnseenMemoryTicks, shouldContinueExecutinggetMutexFlags, isPreemptible, setMutexFlags, tick, toStringpublic AttackNearestGoal(ShulkerEntity shulker)
public boolean shouldExecute()
shouldExecute in class NearestAttackableTargetGoal<PlayerEntity>protected AxisAlignedBB getTargetableArea(double targetDistance)
getTargetableArea in class NearestAttackableTargetGoal<PlayerEntity>