Class WalkTarget

java.lang.Object
net.minecraft.entity.ai.brain.WalkTarget

public class WalkTarget extends Object
Mappings:
Namespace Name
official bka
intermediary net/minecraft/class_4142
named net/minecraft/entity/ai/brain/WalkTarget
  • Field Details

    • lookTarget

      private final LookTarget lookTarget
      Mappings:
      Namespace Name Mixin selector
      official a Lbka;a:Lbef;
      intermediary field_18460 Lnet/minecraft/class_4142;field_18460:Lnet/minecraft/class_4115;
      named lookTarget Lnet/minecraft/entity/ai/brain/WalkTarget;lookTarget:Lnet/minecraft/entity/ai/brain/LookTarget;
    • speed

      private final float speed
      Mappings:
      Namespace Name Mixin selector
      official b Lbka;b:F
      intermediary field_18461 Lnet/minecraft/class_4142;field_18461:F
      named speed Lnet/minecraft/entity/ai/brain/WalkTarget;speed:F
    • completionRange

      private final int completionRange
      Mappings:
      Namespace Name Mixin selector
      official c Lbka;c:I
      intermediary field_18462 Lnet/minecraft/class_4142;field_18462:I
      named completionRange Lnet/minecraft/entity/ai/brain/WalkTarget;completionRange:I
  • Constructor Details

    • WalkTarget

      public WalkTarget(BlockPos pos, float speed, int completionRange)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lbka;<init>(Lgt;FI)V
      intermediary <init> Lnet/minecraft/class_4142;<init>(Lnet/minecraft/class_2338;FI)V
      named <init> Lnet/minecraft/entity/ai/brain/WalkTarget;<init>(Lnet/minecraft/util/math/BlockPos;FI)V
    • WalkTarget

      public WalkTarget(Vec3d pos, float speed, int completionRange)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lbka;<init>(Ldvt;FI)V
      intermediary <init> Lnet/minecraft/class_4142;<init>(Lnet/minecraft/class_243;FI)V
      named <init> Lnet/minecraft/entity/ai/brain/WalkTarget;<init>(Lnet/minecraft/util/math/Vec3d;FI)V
    • WalkTarget

      public WalkTarget(Entity entity, float speed, int completionRange)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lbka;<init>(Lbaq;FI)V
      intermediary <init> Lnet/minecraft/class_4142;<init>(Lnet/minecraft/class_1297;FI)V
      named <init> Lnet/minecraft/entity/ai/brain/WalkTarget;<init>(Lnet/minecraft/entity/Entity;FI)V
    • WalkTarget

      public WalkTarget(LookTarget lookTarget, float speed, int completionRange)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lbka;<init>(Lbef;FI)V
      intermediary <init> Lnet/minecraft/class_4142;<init>(Lnet/minecraft/class_4115;FI)V
      named <init> Lnet/minecraft/entity/ai/brain/WalkTarget;<init>(Lnet/minecraft/entity/ai/brain/LookTarget;FI)V
  • Method Details

    • getLookTarget

      public LookTarget getLookTarget()
      Mappings:
      Namespace Name Mixin selector
      official a Lbka;a()Lbef;
      intermediary method_19094 Lnet/minecraft/class_4142;method_19094()Lnet/minecraft/class_4115;
      named getLookTarget Lnet/minecraft/entity/ai/brain/WalkTarget;getLookTarget()Lnet/minecraft/entity/ai/brain/LookTarget;
    • getSpeed

      public float getSpeed()
      Mappings:
      Namespace Name Mixin selector
      official b Lbka;b()F
      intermediary method_19095 Lnet/minecraft/class_4142;method_19095()F
      named getSpeed Lnet/minecraft/entity/ai/brain/WalkTarget;getSpeed()F
    • getCompletionRange

      public int getCompletionRange()
      Mappings:
      Namespace Name Mixin selector
      official c Lbka;c()I
      intermediary method_19096 Lnet/minecraft/class_4142;method_19096()I
      named getCompletionRange Lnet/minecraft/entity/ai/brain/WalkTarget;getCompletionRange()I