public class LlamaFollowCaravanGoal extends Goal
Modifier and Type | Field and Description |
---|---|
private int |
distCheckCounter |
LlamaEntity |
llama |
private double |
speedModifier |
Constructor and Description |
---|
LlamaFollowCaravanGoal(LlamaEntity llamaIn,
double speedModifierIn) |
Modifier and Type | Method and Description |
---|---|
private boolean |
firstIsLeashed(LlamaEntity p_190858_1_,
int p_190858_2_) |
void |
resetTask() |
boolean |
shouldContinueExecuting() |
boolean |
shouldExecute() |
void |
tick() |
getMutexFlags, isPreemptible, setMutexFlags, startExecuting, toString
public final LlamaEntity llama
private double speedModifier
private int distCheckCounter
public LlamaFollowCaravanGoal(LlamaEntity llamaIn, double speedModifierIn)
public boolean shouldExecute()
shouldExecute
in class Goal
public boolean shouldContinueExecuting()
shouldContinueExecuting
in class Goal
private boolean firstIsLeashed(LlamaEntity p_190858_1_, int p_190858_2_)