static class TurtleEntity.TravelGoal extends Goal
| Modifier and Type | Field and Description |
|---|---|
private boolean |
field_203139_c |
private double |
speed |
private TurtleEntity |
turtle |
| Constructor and Description |
|---|
TravelGoal(TurtleEntity turtle,
double speedIn) |
| Modifier and Type | Method and Description |
|---|---|
void |
resetTask() |
boolean |
shouldContinueExecuting() |
boolean |
shouldExecute() |
void |
startExecuting() |
void |
tick() |
getMutexFlags, isPreemptible, setMutexFlags, toStringprivate final TurtleEntity turtle
private final double speed
private boolean field_203139_c
TravelGoal(TurtleEntity turtle, double speedIn)
public boolean shouldExecute()
shouldExecute in class Goalpublic void startExecuting()
startExecuting in class Goalpublic boolean shouldContinueExecuting()
shouldContinueExecuting in class Goal