public class LookRandomlyGoal extends Goal
| Modifier and Type | Field and Description |
|---|---|
private MobEntity |
idleEntity |
private int |
idleTime |
private double |
lookX |
private double |
lookZ |
| Constructor and Description |
|---|
LookRandomlyGoal(MobEntity entitylivingIn) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
shouldContinueExecuting() |
boolean |
shouldExecute() |
void |
startExecuting() |
void |
tick() |
getMutexFlags, isPreemptible, resetTask, setMutexFlags, toStringprivate final MobEntity idleEntity
private double lookX
private double lookZ
private int idleTime
public LookRandomlyGoal(MobEntity entitylivingIn)
public boolean shouldExecute()
shouldExecute in class Goalpublic boolean shouldContinueExecuting()
shouldContinueExecuting in class Goalpublic void startExecuting()
startExecuting in class Goal