public class EntityAIFollowOwner extends EntityAIBase
Modifier and Type | Field and Description |
---|---|
private int |
field_75343_h |
private boolean |
field_75344_i |
private double |
followSpeed |
(package private) float |
maxDist |
(package private) float |
minDist |
private PathNavigate |
petPathfinder |
private EntityLivingBase |
theOwner |
private EntityTameable |
thePet |
(package private) World |
theWorld |
Constructor and Description |
---|
EntityAIFollowOwner(EntityTameable thePetIn,
double followSpeedIn,
float minDistIn,
float maxDistIn) |
Modifier and Type | Method and Description |
---|---|
boolean |
continueExecuting()
Returns whether an in-progress EntityAIBase should continue executing
|
private boolean |
func_181065_a(BlockPos p_181065_1_) |
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
|
getMutexBits, isInterruptible, setMutexBits
private EntityTameable thePet
private EntityLivingBase theOwner
World theWorld
private double followSpeed
private PathNavigate petPathfinder
private int field_75343_h
float maxDist
float minDist
private boolean field_75344_i
public EntityAIFollowOwner(EntityTameable thePetIn, double followSpeedIn, float minDistIn, float maxDistIn)
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
private boolean func_181065_a(BlockPos p_181065_1_)
public void updateTask()
updateTask
in class EntityAIBase