public class EntityAIWatchClosest extends EntityAIBase
Modifier and Type | Field and Description |
---|---|
protected Entity |
closestEntity |
Constructor and Description |
---|
EntityAIWatchClosest(EntityLiving p_i1631_1_,
java.lang.Class p_i1631_2_,
float p_i1631_3_) |
EntityAIWatchClosest(EntityLiving p_i1632_1_,
java.lang.Class p_i1632_2_,
float p_i1632_3_,
float p_i1632_4_) |
Modifier and Type | Method and Description |
---|---|
boolean |
continueExecuting() |
void |
resetTask() |
boolean |
shouldExecute() |
void |
startExecuting() |
void |
updateTask() |
getMutexBits, isInterruptible, setMutexBits
protected Entity closestEntity
public EntityAIWatchClosest(EntityLiving p_i1631_1_, java.lang.Class p_i1631_2_, float p_i1631_3_)
public EntityAIWatchClosest(EntityLiving p_i1632_1_, java.lang.Class p_i1632_2_, float p_i1632_3_, float p_i1632_4_)
public boolean shouldExecute()
shouldExecute
in class EntityAIBase
public boolean continueExecuting()
continueExecuting
in class EntityAIBase
public void startExecuting()
startExecuting
in class EntityAIBase
public void resetTask()
resetTask
in class EntityAIBase
public void updateTask()
updateTask
in class EntityAIBase