public class FormCaravanGoal extends Goal
Goal.Control
Modifier and Type | Field and Description |
---|---|
private int |
counter |
LlamaEntity |
llama |
private double |
speed |
Constructor and Description |
---|
FormCaravanGoal(LlamaEntity llama,
double speed) |
Modifier and Type | Method and Description |
---|---|
private boolean |
canFollow(LlamaEntity llama,
int length) |
boolean |
canStart() |
boolean |
shouldContinue() |
void |
stop() |
void |
tick() |
canStop, getControls, setControls, start, toString
public final LlamaEntity llama
private double speed
private int counter
public FormCaravanGoal(LlamaEntity llama, double speed)
public boolean shouldContinue()
shouldContinue
in class Goal
private boolean canFollow(LlamaEntity llama, int length)