|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.minecraft.entity.ai.EntityAIBase
public abstract class EntityAIBase
Constructor Summary | |
---|---|
EntityAIBase()
|
Method Summary | |
---|---|
boolean |
continueExecuting()
Returns whether an in-progress EntityAIBase should continue executing |
int |
getMutexBits()
Get a bitmask telling which other tasks may not run concurrently. |
boolean |
isContinuous()
Returns whether the task requires multiple updates or not |
void |
resetTask()
Resets the task |
void |
setMutexBits(int par1)
Sets a bitmask telling which other tasks may not run concurrently. |
abstract 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 java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EntityAIBase()
Method Detail |
---|
public abstract boolean shouldExecute()
public boolean continueExecuting()
public boolean isContinuous()
public void startExecuting()
public void resetTask()
public void updateTask()
public void setMutexBits(int par1)
public int getMutexBits()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |