public class EntityAILookIdle extends EntityAIBase
Modifier and Type | Field and Description |
---|---|
private EntityLiving |
idleEntity |
private int |
idleTime |
private double |
lookX |
private double |
lookZ |
Constructor and Description |
---|
EntityAILookIdle(EntityLiving entitylivingIn) |
Modifier and Type | Method and Description |
---|---|
boolean |
shouldContinueExecuting() |
boolean |
shouldExecute() |
void |
startExecuting() |
void |
updateTask() |
getMutexBits, isInterruptible, resetTask, setMutexBits
private final EntityLiving idleEntity
private double lookX
private double lookZ
private int idleTime
public EntityAILookIdle(EntityLiving entitylivingIn)
public boolean shouldExecute()
shouldExecute
in class EntityAIBase
public boolean shouldContinueExecuting()
shouldContinueExecuting
in class EntityAIBase
public void startExecuting()
startExecuting
in class EntityAIBase
public void updateTask()
updateTask
in class EntityAIBase