net.minecraft.entity.ai
Class EntityAIMate
java.lang.Object
net.minecraft.entity.ai.EntityAIBase
net.minecraft.entity.ai.EntityAIMate
public class EntityAIMate
- 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 |
updateTask()
Updates the task |
EntityAIMate
public EntityAIMate(EntityAnimal par1EntityAnimal,
float par2)
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
updateTask
public void updateTask()
- Updates the task
- Overrides:
updateTask
in class EntityAIBase