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