Package net.minecraft.entity.ai.goal
Class LlamaFollowCaravanGoal
- java.lang.Object
-
- net.minecraft.entity.ai.goal.Goal
-
- net.minecraft.entity.ai.goal.LlamaFollowCaravanGoal
-
public class LlamaFollowCaravanGoal extends Goal
-
-
Field Summary
Fields Modifier and Type Field Description private int
distCheckCounter
LlamaEntity
llama
private double
speedModifier
-
Constructor Summary
Constructors Constructor Description LlamaFollowCaravanGoal(LlamaEntity p_i47305_1_, double p_i47305_2_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
canContinueToUse()
boolean
canUse()
private boolean
firstIsLeashed(LlamaEntity p_190858_1_, int p_190858_2_)
void
stop()
void
tick()
-
-
-
Field Detail
-
llama
public final LlamaEntity llama
-
speedModifier
private double speedModifier
-
distCheckCounter
private int distCheckCounter
-
-
Constructor Detail
-
LlamaFollowCaravanGoal
public LlamaFollowCaravanGoal(LlamaEntity p_i47305_1_, double p_i47305_2_)
-
-
Method Detail
-
canContinueToUse
public boolean canContinueToUse()
- Overrides:
canContinueToUse
in classGoal
-
firstIsLeashed
private boolean firstIsLeashed(LlamaEntity p_190858_1_, int p_190858_2_)
-
-