class EntityShulker.AIAttackNearest extends EntityAINearestAttackableTarget<EntityPlayer>
EntityAINearestAttackableTarget.Sorter
sorter, targetClass, targetEntity, targetEntitySelector
shouldCheckSight, target, taskOwner, unseenMemoryTicks
Constructor and Description |
---|
AIAttackNearest(EntityShulker shulker) |
Modifier and Type | Method and Description |
---|---|
protected AxisAlignedBB |
getTargetableArea(double targetDistance) |
boolean |
shouldExecute() |
startExecuting
getTargetDistance, isSuitableTarget, isSuitableTarget, resetTask, setUnseenMemoryTicks, shouldContinueExecuting
getMutexBits, isInterruptible, setMutexBits, updateTask
public AIAttackNearest(EntityShulker shulker)
public boolean shouldExecute()
shouldExecute
in class EntityAINearestAttackableTarget<EntityPlayer>
protected AxisAlignedBB getTargetableArea(double targetDistance)
getTargetableArea
in class EntityAINearestAttackableTarget<EntityPlayer>