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
official axe
intermediary net/minecraft/class_1362
named net/minecraft/entity/ai/goal/FormCaravanGoal
  • Field Details

    • llama

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

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

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

    • FormCaravanGoal

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

    • canStart

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

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

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

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

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