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, setMutexBitsprivate 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 EntityAIBasepublic boolean shouldContinueExecuting()
shouldContinueExecuting in class EntityAIBasepublic void startExecuting()
startExecuting in class EntityAIBasepublic void resetTask()
resetTask in class EntityAIBasepublic void updateTask()
updateTask in class EntityAIBase