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, updateTask
private final EntityTameable tameable
private boolean isSitting
public EntityAISit(EntityTameable entityIn)
public boolean shouldExecute()
shouldExecute
in class EntityAIBase
public void startExecuting()
startExecuting
in class EntityAIBase
public void resetTask()
resetTask
in class EntityAIBase
public void setSitting(boolean sitting)