static class EntityEnderman.AIFindPlayer extends EntityAINearestAttackableTarget
EntityAINearestAttackableTarget.Sorter
Modifier and Type | Field and Description |
---|---|
private EntityEnderman |
enderman |
private int |
field_179450_h |
private int |
field_179451_i |
private EntityPlayer |
player |
targetClass, targetEntity, targetEntitySelector, theNearestAttackableTargetSorter
shouldCheckSight, taskOwner
Constructor and Description |
---|
AIFindPlayer(EntityEnderman p_i45842_1_) |
Modifier and Type | Method and Description |
---|---|
boolean |
continueExecuting()
Returns whether an in-progress EntityAIBase should continue executing
|
void |
resetTask()
Resets the task
|
boolean |
shouldExecute()
Returns whether the EntityAIBase should begin execution.
|
void |
startExecuting()
Execute a one shot task or start executing a continuous task
|
void |
updateTask()
Updates the task
|
getTargetDistance, isSuitableTarget, isSuitableTarget
getMutexBits, isInterruptible, setMutexBits
private EntityPlayer player
private int field_179450_h
private int field_179451_i
private EntityEnderman enderman
public AIFindPlayer(EntityEnderman p_i45842_1_)
public boolean shouldExecute()
EntityAINearestAttackableTarget
shouldExecute
in class EntityAINearestAttackableTarget
public void startExecuting()
EntityAINearestAttackableTarget
startExecuting
in class EntityAINearestAttackableTarget
public void resetTask()
EntityAITarget
resetTask
in class EntityAITarget
public boolean continueExecuting()
EntityAITarget
continueExecuting
in class EntityAITarget
public void updateTask()
EntityAIBase
updateTask
in class EntityAIBase