public class EntityAIEatGrass extends EntityAIBase
Constructor and Description |
---|
EntityAIEatGrass(EntityLiving grassEaterEntityIn) |
Modifier and Type | Method and Description |
---|---|
int |
getEatingGrassTimer() |
void |
resetTask() |
boolean |
shouldContinueExecuting() |
boolean |
shouldExecute() |
void |
startExecuting() |
void |
updateTask() |
getMutexBits, isInterruptible, setMutexBits
public EntityAIEatGrass(EntityLiving grassEaterEntityIn)
public boolean shouldExecute()
shouldExecute
in class EntityAIBase
public void startExecuting()
startExecuting
in class EntityAIBase
public void resetTask()
resetTask
in class EntityAIBase
public boolean shouldContinueExecuting()
shouldContinueExecuting
in class EntityAIBase
public int getEatingGrassTimer()
public void updateTask()
updateTask
in class EntityAIBase