Class MoveToTargetPosGoal

java.lang.Object
net.minecraft.entity.ai.goal.Goal
net.minecraft.entity.ai.goal.MoveToTargetPosGoal
Direct Known Subclasses:
CatSitOnBlockGoal, class_3474, DrownedEntity.class_3511, HarvestCropsGoal, RabbitEntity.EatCarrotCropGoal, TurtleEntity.class_3498, TurtleEntity.class_3499

public abstract class MoveToTargetPosGoal extends Goal
Mappings:
Namespace Name
official ahh
intermediary net/minecraft/class_2615
named net/minecraft/entity/ai/goal/MoveToTargetPosGoal
  • Field Details

    • mob

      private final PathAwareEntity mob
      Mappings:
      Namespace Name Mixin selector
      official f Lahh;f:Lafg;
      intermediary field_11939 Lnet/minecraft/class_2615;field_11939:Lnet/minecraft/class_877;
      named mob Lnet/minecraft/entity/ai/goal/MoveToTargetPosGoal;mob:Lnet/minecraft/entity/PathAwareEntity;
    • speed

      public double speed
      Mappings:
      Namespace Name Mixin selector
      official a Lahh;a:D
      intermediary field_11940 Lnet/minecraft/class_2615;field_11940:D
      named speed Lnet/minecraft/entity/ai/goal/MoveToTargetPosGoal;speed:D
    • cooldown

      protected int cooldown
      Mappings:
      Namespace Name Mixin selector
      official b Lahh;b:I
      intermediary field_11937 Lnet/minecraft/class_2615;field_11937:I
      named cooldown Lnet/minecraft/entity/ai/goal/MoveToTargetPosGoal;cooldown:I
    • tryingTime

      protected int tryingTime
      Mappings:
      Namespace Name Mixin selector
      official c Lahh;c:I
      intermediary field_11941 Lnet/minecraft/class_2615;field_11941:I
      named tryingTime Lnet/minecraft/entity/ai/goal/MoveToTargetPosGoal;tryingTime:I
    • safeWaitingTime

      private int safeWaitingTime
      Mappings:
      Namespace Name Mixin selector
      official g Lahh;g:I
      intermediary field_11942 Lnet/minecraft/class_2615;field_11942:I
      named safeWaitingTime Lnet/minecraft/entity/ai/goal/MoveToTargetPosGoal;safeWaitingTime:I
    • targetPos

      protected BlockPos targetPos
      Mappings:
      Namespace Name Mixin selector
      official d Lahh;d:Lel;
      intermediary field_11938 Lnet/minecraft/class_2615;field_11938:Lnet/minecraft/class_2552;
      named targetPos Lnet/minecraft/entity/ai/goal/MoveToTargetPosGoal;targetPos:Lnet/minecraft/util/math/BlockPos;
    • reached

      private boolean reached
      Mappings:
      Namespace Name Mixin selector
      official h Lahh;h:Z
      intermediary field_11943 Lnet/minecraft/class_2615;field_11943:Z
      named reached Lnet/minecraft/entity/ai/goal/MoveToTargetPosGoal;reached:Z
    • range

      private final int range
      Mappings:
      Namespace Name Mixin selector
      official i Lahh;i:I
      intermediary field_11944 Lnet/minecraft/class_2615;field_11944:I
      named range Lnet/minecraft/entity/ai/goal/MoveToTargetPosGoal;range:I
    • field_16881

      private final int field_16881
      Mappings:
      Namespace Name Mixin selector
      official j Lahh;j:I
      intermediary field_16881 Lnet/minecraft/class_2615;field_16881:I
      named field_16881 Lnet/minecraft/entity/ai/goal/MoveToTargetPosGoal;field_16881:I
    • field_16880

      public int field_16880
      Mappings:
      Namespace Name Mixin selector
      official e Lahh;e:I
      intermediary field_16880 Lnet/minecraft/class_2615;field_16880:I
      named field_16880 Lnet/minecraft/entity/ai/goal/MoveToTargetPosGoal;field_16880:I
  • Constructor Details

    • MoveToTargetPosGoal

      public MoveToTargetPosGoal(PathAwareEntity mob, double speed, int range)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lahh;<init>(Lafg;DI)V
      intermediary <init> Lnet/minecraft/class_2615;<init>(Lnet/minecraft/class_877;DI)V
      named <init> Lnet/minecraft/entity/ai/goal/MoveToTargetPosGoal;<init>(Lnet/minecraft/entity/PathAwareEntity;DI)V
    • MoveToTargetPosGoal

      public MoveToTargetPosGoal(PathAwareEntity pathAwareEntity, double double2, int int2, int int3)
  • Method Details

    • canStart

      public boolean canStart()
      Specified by:
      canStart in class Goal
      Mappings:
      Namespace Name Mixin selector
      official a Lagt;a()Z
      intermediary method_2742 Lnet/minecraft/class_896;method_2742()Z
      named canStart Lnet/minecraft/entity/ai/goal/Goal;canStart()Z
    • method_15694

      protected int method_15694(PathAwareEntity pathAwareEntity)
      Mappings:
      Namespace Name Mixin selector
      official a Lahh;a(Lafg;)I
      intermediary method_15694 Lnet/minecraft/class_2615;method_15694(Lnet/minecraft/class_877;)I
      named method_15694 Lnet/minecraft/entity/ai/goal/MoveToTargetPosGoal;method_15694(Lnet/minecraft/entity/PathAwareEntity;)I
    • shouldContinue

      public boolean shouldContinue()
      Overrides:
      shouldContinue in class Goal
      Mappings:
      Namespace Name Mixin selector
      official b Lagt;b()Z
      intermediary method_2744 Lnet/minecraft/class_896;method_2744()Z
      named shouldContinue Lnet/minecraft/entity/ai/goal/Goal;shouldContinue()Z
    • start

      public void start()
      Overrides:
      start in class Goal
      Mappings:
      Namespace Name Mixin selector
      official c Lagt;c()V
      intermediary method_2747 Lnet/minecraft/class_896;method_2747()V
      named start Lnet/minecraft/entity/ai/goal/Goal;start()V
    • method_15695

      public double method_15695()
      Mappings:
      Namespace Name Mixin selector
      official g Lahh;g()D
      intermediary method_15695 Lnet/minecraft/class_2615;method_15695()D
      named method_15695 Lnet/minecraft/entity/ai/goal/MoveToTargetPosGoal;method_15695()D
    • tick

      public void tick()
      Overrides:
      tick in class Goal
      Mappings:
      Namespace Name Mixin selector
      official e Lagt;e()V
      intermediary method_2746 Lnet/minecraft/class_896;method_2746()V
      named tick Lnet/minecraft/entity/ai/goal/Goal;tick()V
    • method_15696

      public boolean method_15696()
      Mappings:
      Namespace Name Mixin selector
      official i Lahh;i()Z
      intermediary method_15696 Lnet/minecraft/class_2615;method_15696()Z
      named method_15696 Lnet/minecraft/entity/ai/goal/MoveToTargetPosGoal;method_15696()Z
    • method_15697

      public int method_15697()
      Mappings:
      Namespace Name Mixin selector
      official j Lahh;j()I
      intermediary method_15697 Lnet/minecraft/class_2615;method_15697()I
      named method_15697 Lnet/minecraft/entity/ai/goal/MoveToTargetPosGoal;method_15697()I
    • hasReached

      protected boolean hasReached()
      Mappings:
      Namespace Name Mixin selector
      official k Lahh;k()Z
      intermediary method_11013 Lnet/minecraft/class_2615;method_11013()Z
      named hasReached Lnet/minecraft/entity/ai/goal/MoveToTargetPosGoal;hasReached()Z
    • findTargetPos

      private boolean findTargetPos()
      Mappings:
      Namespace Name Mixin selector
      official l Lahh;l()Z
      intermediary method_11014 Lnet/minecraft/class_2615;method_11014()Z
      named findTargetPos Lnet/minecraft/entity/ai/goal/MoveToTargetPosGoal;findTargetPos()Z
    • method_11012

      protected abstract boolean method_11012(RenderBlockView renderBlockView, BlockPos blockPos)
      Mappings:
      Namespace Name Mixin selector
      official a Lahh;a(Layc;Lel;)Z
      intermediary method_11012 Lnet/minecraft/class_2615;method_11012(Lnet/minecraft/class_3599;Lnet/minecraft/class_2552;)Z
      named method_11012 Lnet/minecraft/entity/ai/goal/MoveToTargetPosGoal;method_11012(Lnet/minecraft/world/RenderBlockView;Lnet/minecraft/util/math/BlockPos;)Z