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