Class LlamaFollowCaravanGoal

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

public class LlamaFollowCaravanGoal extends Goal
  • Field Details

    • llama

      public final Llama llama
    • speedModifier

      private double speedModifier
    • CARAVAN_LIMIT

      private static final int CARAVAN_LIMIT
      See Also:
    • distCheckCounter

      private int distCheckCounter
  • Constructor Details

    • LlamaFollowCaravanGoal

      public LlamaFollowCaravanGoal(Llama p_25501_, double p_25502_)
  • 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(Llama p_25507_, int p_25508_)