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, theNearestAttackableTargetSortershouldCheckSight, 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, isSuitableTargetgetMutexBits, isInterruptible, setMutexBitsprivate EntityPlayer player
private int field_179450_h
private int field_179451_i
private EntityEnderman enderman
public AIFindPlayer(EntityEnderman p_i45842_1_)
public boolean shouldExecute()
EntityAINearestAttackableTargetshouldExecute in class EntityAINearestAttackableTargetpublic void startExecuting()
EntityAINearestAttackableTargetstartExecuting in class EntityAINearestAttackableTargetpublic void resetTask()
EntityAITargetresetTask in class EntityAITargetpublic boolean continueExecuting()
EntityAITargetcontinueExecuting in class EntityAITargetpublic void updateTask()
EntityAIBaseupdateTask in class EntityAIBase