class ShulkerEntity.AttackNearestGoal extends NearestAttackableTargetGoal<PlayerEntity>
nearestTarget, targetChance, targetClass, targetEntitySelector
goalOwner, shouldCheckSight, target, unseenMemoryTicks
Constructor and Description |
---|
AttackNearestGoal(ShulkerEntity shulker) |
Modifier and Type | Method and Description |
---|---|
protected AxisAlignedBB |
getTargetableArea(double targetDistance) |
boolean |
shouldExecute() |
findNearestTarget, startExecuting
getTargetDistance, isSuitableTarget, resetTask, setUnseenMemoryTicks, shouldContinueExecuting
getMutexFlags, isPreemptible, setMutexFlags, tick, toString
public AttackNearestGoal(ShulkerEntity shulker)
public boolean shouldExecute()
shouldExecute
in class NearestAttackableTargetGoal<PlayerEntity>
protected AxisAlignedBB getTargetableArea(double targetDistance)
getTargetableArea
in class NearestAttackableTargetGoal<PlayerEntity>