static class EntityEnderman.AIFindPlayer extends EntityAINearestAttackableTarget<EntityPlayer>
EntityAINearestAttackableTarget.Sorter
Modifier and Type | Field and Description |
---|---|
private int |
aggroTime |
private EntityEnderman |
enderman |
private EntityPlayer |
player |
private int |
teleportTime |
sorter, targetClass, targetEntity, targetEntitySelector
shouldCheckSight, target, taskOwner, unseenMemoryTicks
Constructor and Description |
---|
AIFindPlayer(EntityEnderman p_i45842_1_) |
Modifier and Type | Method and Description |
---|---|
void |
resetTask() |
boolean |
shouldContinueExecuting() |
boolean |
shouldExecute() |
void |
startExecuting() |
void |
updateTask() |
getTargetableArea
getTargetDistance, isSuitableTarget, isSuitableTarget, setUnseenMemoryTicks
getMutexBits, isInterruptible, setMutexBits
private final EntityEnderman enderman
private EntityPlayer player
private int aggroTime
private int teleportTime
public AIFindPlayer(EntityEnderman p_i45842_1_)
public boolean shouldExecute()
shouldExecute
in class EntityAINearestAttackableTarget<EntityPlayer>
public void startExecuting()
startExecuting
in class EntityAINearestAttackableTarget<EntityPlayer>
public void resetTask()
resetTask
in class EntityAITarget
public boolean shouldContinueExecuting()
shouldContinueExecuting
in class EntityAITarget
public void updateTask()
updateTask
in class EntityAIBase