|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.minecraft.entity.ai.EntityAIBase
net.minecraft.entity.ai.EntityAIEatGrass
public class EntityAIEatGrass
Constructor Summary | |
---|---|
EntityAIEatGrass(EntityLiving par1EntityLiving)
|
Method Summary | |
---|---|
boolean |
continueExecuting()
Returns whether an in-progress EntityAIBase should continue executing |
int |
getEatGrassTick()
|
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 |
void |
updateTask()
Updates the task |
Methods inherited from class net.minecraft.entity.ai.EntityAIBase |
---|
getMutexBits, isContinuous, setMutexBits |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EntityAIEatGrass(EntityLiving par1EntityLiving)
Method Detail |
---|
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 getEatGrassTick()
public void updateTask()
updateTask
in class EntityAIBase
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |