net.minecraft.entity.ai
Class EntityAIMoveTowardsTarget
java.lang.Object
net.minecraft.entity.ai.EntityAIBase
net.minecraft.entity.ai.EntityAIMoveTowardsTarget
public class EntityAIMoveTowardsTarget
- extends EntityAIBase
Method Summary |
boolean |
continueExecuting()
Returns whether an in-progress EntityAIBase should continue executing |
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 |
EntityAIMoveTowardsTarget
public EntityAIMoveTowardsTarget(EntityCreature par1EntityCreature,
float par2,
float par3)
shouldExecute
public boolean shouldExecute()
- Returns whether the EntityAIBase should begin execution.
- Specified by:
shouldExecute
in class EntityAIBase
continueExecuting
public boolean continueExecuting()
- Returns whether an in-progress EntityAIBase should continue executing
- Overrides:
continueExecuting
in class EntityAIBase
resetTask
public void resetTask()
- Resets the task
- Overrides:
resetTask
in class EntityAIBase
startExecuting
public void startExecuting()
- Execute a one shot task or start executing a continuous task
- Overrides:
startExecuting
in class EntityAIBase