public class EntityAILlamaFollowCaravan extends EntityAIBase
| Modifier and Type | Field and Description |
|---|---|
private int |
distCheckCounter |
EntityLlama |
llama |
private double |
speedModifier |
| Constructor and Description |
|---|
EntityAILlamaFollowCaravan(EntityLlama llamaIn,
double speedModifierIn) |
| Modifier and Type | Method and Description |
|---|---|
private boolean |
firstIsLeashed(EntityLlama p_190858_1_,
int p_190858_2_) |
void |
resetTask() |
boolean |
shouldContinueExecuting() |
boolean |
shouldExecute() |
void |
updateTask() |
getMutexBits, isInterruptible, setMutexBits, startExecutingpublic EntityLlama llama
private double speedModifier
private int distCheckCounter
public EntityAILlamaFollowCaravan(EntityLlama llamaIn, double speedModifierIn)
public boolean shouldExecute()
shouldExecute in class EntityAIBasepublic boolean shouldContinueExecuting()
shouldContinueExecuting in class EntityAIBasepublic void resetTask()
resetTask in class EntityAIBasepublic void updateTask()
updateTask in class EntityAIBaseprivate boolean firstIsLeashed(EntityLlama p_190858_1_, int p_190858_2_)