public class EntityAISit extends EntityAIBase
| Constructor and Description |
|---|
EntityAISit(EntityTameable entityIn) |
| Modifier and Type | Method and Description |
|---|---|
void |
resetTask()
Reset the task's internal state.
|
void |
setSitting(boolean sitting)
Sets the sitting flag.
|
boolean |
shouldExecute()
Returns whether the EntityAIBase should begin execution.
|
void |
startExecuting()
Execute a one shot task or start executing a continuous task
|
getMutexBits, isInterruptible, setMutexBits, shouldContinueExecuting, updateTaskpublic EntityAISit(EntityTameable entityIn)
public boolean shouldExecute()
shouldExecute in class EntityAIBasepublic void startExecuting()
startExecuting in class EntityAIBasepublic void resetTask()
resetTask in class EntityAIBasepublic void setSitting(boolean sitting)