Class LlamaFollowCaravanGoal

java.lang.Object
net.minecraft.entity.ai.goal.Goal
net.minecraft.entity.ai.goal.LlamaFollowCaravanGoal

public class LlamaFollowCaravanGoal extends Goal
  • Field Details

    • llama

      public final LlamaEntity llama
    • speedModifier

      private double speedModifier
    • distCheckCounter

      private int distCheckCounter
  • Constructor Details

    • LlamaFollowCaravanGoal

      public LlamaFollowCaravanGoal(LlamaEntity p_i47305_1_, double p_i47305_2_)
  • Method Details

    • canUse

      public boolean canUse()
      Specified by:
      canUse in class Goal
    • canContinueToUse

      public boolean canContinueToUse()
      Overrides:
      canContinueToUse in class Goal
    • stop

      public void stop()
      Overrides:
      stop in class Goal
    • tick

      public void tick()
      Overrides:
      tick in class Goal
    • firstIsLeashed

      private boolean firstIsLeashed(LlamaEntity p_190858_1_, int p_190858_2_)