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 intdistCheckCounterLlamaEntityllamaprivate doublespeedModifier
-
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 booleancanContinueToUse()booleancanUse()private booleanfirstIsLeashed(LlamaEntity p_190858_1_, int p_190858_2_)voidstop()voidtick()
-
-
-
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:
canContinueToUsein classGoal
-
firstIsLeashed
private boolean firstIsLeashed(LlamaEntity p_190858_1_, int p_190858_2_)
-
-