public class EntityAIFindEntityNearestPlayer extends EntityAIBase
| Modifier and Type | Field and Description |
|---|---|
private EntityAINearestAttackableTarget.Sorter |
field_179432_d |
private EntityLivingBase |
field_179433_e |
private EntityLiving |
field_179434_b |
private com.google.common.base.Predicate<Entity> |
field_179435_c |
private static org.apache.logging.log4j.Logger |
field_179436_a |
| Constructor and Description |
|---|
EntityAIFindEntityNearestPlayer(EntityLiving p_i45882_1_) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
continueExecuting()
Returns whether an in-progress EntityAIBase should continue executing
|
protected double |
func_179431_f() |
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
|
getMutexBits, isInterruptible, setMutexBits, updateTaskprivate static final org.apache.logging.log4j.Logger field_179436_a
private EntityLiving field_179434_b
private final com.google.common.base.Predicate<Entity> field_179435_c
private final EntityAINearestAttackableTarget.Sorter field_179432_d
private EntityLivingBase field_179433_e
public EntityAIFindEntityNearestPlayer(EntityLiving p_i45882_1_)
public boolean shouldExecute()
shouldExecute in class EntityAIBasepublic boolean continueExecuting()
continueExecuting in class EntityAIBasepublic void startExecuting()
startExecuting in class EntityAIBasepublic void resetTask()
resetTask in class EntityAIBaseprotected double func_179431_f()