Class FormCaravanGoal

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

public class FormCaravanGoal extends Goal
Mappings:
Namespace Name
named net/minecraft/entity/ai/goal/FormCaravanGoal
intermediary net/minecraft/class_1362
official cat
  • Field Details

    • MAX_CARAVAN_LENGTH

      private static final int MAX_CARAVAN_LENGTH
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named MAX_CARAVAN_LENGTH Lnet/minecraft/entity/ai/goal/FormCaravanGoal;MAX_CARAVAN_LENGTH:I
      intermediary field_30217 Lnet/minecraft/class_1362;field_30217:I
      official c Lcat;c:I
    • llama

      public final LlamaEntity llama
      Mappings:
      Namespace Name Mixin selector
      named llama Lnet/minecraft/entity/ai/goal/FormCaravanGoal;llama:Lnet/minecraft/entity/passive/LlamaEntity;
      intermediary field_6488 Lnet/minecraft/class_1362;field_6488:Lnet/minecraft/class_1501;
      official a Lcat;a:Lchl;
    • speed

      private double speed
      Mappings:
      Namespace Name Mixin selector
      named speed Lnet/minecraft/entity/ai/goal/FormCaravanGoal;speed:D
      intermediary field_6487 Lnet/minecraft/class_1362;field_6487:D
      official b Lcat;b:D
    • counter

      private int counter
      Mappings:
      Namespace Name Mixin selector
      named counter Lnet/minecraft/entity/ai/goal/FormCaravanGoal;counter:I
      intermediary field_6489 Lnet/minecraft/class_1362;field_6489:I
      official d Lcat;d:I
  • Constructor Details

    • FormCaravanGoal

      public FormCaravanGoal(LlamaEntity llama, double speed)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/entity/ai/goal/FormCaravanGoal;<init>(Lnet/minecraft/entity/passive/LlamaEntity;D)V
      intermediary <init> Lnet/minecraft/class_1362;<init>(Lnet/minecraft/class_1501;D)V
      official <init> Lcat;<init>(Lchl;D)V
  • Method Details

    • canStart

      public boolean canStart()
      Specified by:
      canStart in class Goal
      Mappings:
      Namespace Name Mixin selector
      named canStart Lnet/minecraft/entity/ai/goal/Goal;canStart()Z
      intermediary method_6264 Lnet/minecraft/class_1352;method_6264()Z
      official b Lcam;b()Z
    • shouldContinue

      public boolean shouldContinue()
      Overrides:
      shouldContinue in class Goal
      Mappings:
      Namespace Name Mixin selector
      named shouldContinue Lnet/minecraft/entity/ai/goal/Goal;shouldContinue()Z
      intermediary method_6266 Lnet/minecraft/class_1352;method_6266()Z
      official c Lcam;c()Z
    • stop

      public void stop()
      Overrides:
      stop in class Goal
      Mappings:
      Namespace Name Mixin selector
      named stop Lnet/minecraft/entity/ai/goal/Goal;stop()V
      intermediary method_6270 Lnet/minecraft/class_1352;method_6270()V
      official e Lcam;e()V
    • tick

      public void tick()
      Overrides:
      tick in class Goal
      Mappings:
      Namespace Name Mixin selector
      named tick Lnet/minecraft/entity/ai/goal/Goal;tick()V
      intermediary method_6268 Lnet/minecraft/class_1352;method_6268()V
      official a Lcam;a()V
    • canFollow

      private boolean canFollow(LlamaEntity llama, int length)
      Mappings:
      Namespace Name Mixin selector
      named canFollow Lnet/minecraft/entity/ai/goal/FormCaravanGoal;canFollow(Lnet/minecraft/entity/passive/LlamaEntity;I)Z
      intermediary method_6285 Lnet/minecraft/class_1362;method_6285(Lnet/minecraft/class_1501;I)Z
      official a Lcat;a(Lchl;I)Z