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, toStringprivate 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 Goalpublic void startExecuting()
startExecuting in class Goalpublic boolean shouldContinueExecuting()
shouldContinueExecuting in class Goal