public class EntityAIEatGrass extends EntityAIBase
Constructor and Description |
---|
EntityAIEatGrass(EntityLiving grassEaterEntityIn) |
Modifier and Type | Method and Description |
---|---|
boolean |
continueExecuting() |
int |
getEatingGrassTimer() |
void |
resetTask() |
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 continueExecuting()
continueExecuting
in class EntityAIBase
public int getEatingGrassTimer()
public void updateTask()
updateTask
in class EntityAIBase