public class EntityAIFollow extends EntityAIBase
Modifier and Type | Field and Description |
---|---|
private float |
areaSize |
private EntityLiving |
entity |
private EntityLiving |
followingEntity |
private com.google.common.base.Predicate<EntityLiving> |
followPredicate |
private PathNavigate |
navigation |
private float |
oldWaterCost |
private double |
speedModifier |
private float |
stopDistance |
private int |
timeToRecalcPath |
Constructor and Description |
---|
EntityAIFollow(EntityLiving p_i47417_1_,
double p_i47417_2_,
float p_i47417_4_,
float p_i47417_5_) |
Modifier and Type | Method and Description |
---|---|
void |
resetTask() |
boolean |
shouldContinueExecuting() |
boolean |
shouldExecute() |
void |
startExecuting() |
void |
updateTask() |
getMutexBits, isInterruptible, setMutexBits
private final EntityLiving entity
private final com.google.common.base.Predicate<EntityLiving> followPredicate
private EntityLiving followingEntity
private final double speedModifier
private final PathNavigate navigation
private int timeToRecalcPath
private final float stopDistance
private float oldWaterCost
private final float areaSize
public EntityAIFollow(EntityLiving p_i47417_1_, double p_i47417_2_, float p_i47417_4_, float p_i47417_5_)
public boolean shouldExecute()
shouldExecute
in class EntityAIBase
public boolean shouldContinueExecuting()
shouldContinueExecuting
in class EntityAIBase
public void startExecuting()
startExecuting
in class EntityAIBase
public void resetTask()
resetTask
in class EntityAIBase
public void updateTask()
updateTask
in class EntityAIBase