Class WalkTarget

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

public class WalkTarget extends Object
Mappings:
Namespace Name
official bfj
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 Lbfj;a:Lbad;
      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 Lbfj;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 Lbfj;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> Lbfj;<init>(Lgh;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> Lbfj;<init>(Ldom;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> Lbfj;<init>(Lawt;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> Lbfj;<init>(Lbad;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 Lbfj;a()Lbad;
      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 Lbfj;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 Lbfj;c()I
      intermediary method_19096 Lnet/minecraft/class_4142;method_19096()I
      named getCompletionRange Lnet/minecraft/entity/ai/brain/WalkTarget;getCompletionRange()I