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, toString
private final MobEntity idleEntity
private double lookX
private double lookZ
private int idleTime
public LookRandomlyGoal(MobEntity entitylivingIn)
public boolean shouldExecute()
shouldExecute
in class Goal
public boolean shouldContinueExecuting()
shouldContinueExecuting
in class Goal
public void startExecuting()
startExecuting
in class Goal