public class RunAroundLikeCrazyGoal extends Goal
Modifier and Type | Field and Description |
---|---|
private AbstractHorseEntity |
horseHost |
private double |
speed |
private double |
targetX |
private double |
targetY |
private double |
targetZ |
Constructor and Description |
---|
RunAroundLikeCrazyGoal(AbstractHorseEntity horse,
double speedIn) |
Modifier and Type | Method and Description |
---|---|
boolean |
shouldContinueExecuting() |
boolean |
shouldExecute() |
void |
startExecuting() |
void |
tick() |
getMutexFlags, isPreemptible, resetTask, setMutexFlags, toString
private final AbstractHorseEntity horseHost
private final double speed
private double targetX
private double targetY
private double targetZ
public RunAroundLikeCrazyGoal(AbstractHorseEntity horse, double speedIn)
public boolean shouldExecute()
shouldExecute
in class Goal
public void startExecuting()
startExecuting
in class Goal
public boolean shouldContinueExecuting()
shouldContinueExecuting
in class Goal