public class EntityAISit extends EntityAIBase
| Modifier and Type | Field and Description |
|---|---|
private boolean |
isSitting |
private EntityTameable |
tameable |
| Constructor and Description |
|---|
EntityAISit(EntityTameable entityIn) |
| Modifier and Type | Method and Description |
|---|---|
void |
resetTask() |
void |
setSitting(boolean sitting) |
boolean |
shouldExecute() |
void |
startExecuting() |
getMutexBits, isInterruptible, setMutexBits, shouldContinueExecuting, updateTaskprivate final EntityTameable tameable
private boolean isSitting
public 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)