Class WalkTarget

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

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

    • lookTarget

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

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

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

    • WalkTarget

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

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

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

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

    • getLookTarget

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

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

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