static class ShulkerEntity.DefenseAttackGoal extends NearestAttackableTargetGoal<LivingEntity>
nearestTarget, targetChance, targetClass, targetEntitySelectorgoalOwner, shouldCheckSight, target, unseenMemoryTicks| Constructor and Description |
|---|
DefenseAttackGoal(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 DefenseAttackGoal(ShulkerEntity shulker)
public boolean shouldExecute()
shouldExecute in class NearestAttackableTargetGoal<LivingEntity>protected AxisAlignedBB getTargetableArea(double targetDistance)
getTargetableArea in class NearestAttackableTargetGoal<LivingEntity>