Class TrackedPosition

java.lang.Object
net.minecraft.entity.TrackedPosition

public class TrackedPosition extends Object
Mappings:
Namespace Name
named net/minecraft/entity/TrackedPosition
intermediary net/minecraft/class_7422
official ajm
  • Field Details

    • COORDINATE_SCALE

      private static final double COORDINATE_SCALE
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named COORDINATE_SCALE Lnet/minecraft/entity/TrackedPosition;COORDINATE_SCALE:D
      intermediary field_39015 Lnet/minecraft/class_7422;field_39015:D
      official a Lajm;a:D
    • pos

      private Vec3d pos
      Mappings:
      Namespace Name Mixin selector
      named pos Lnet/minecraft/entity/TrackedPosition;pos:Lnet/minecraft/util/math/Vec3d;
      intermediary field_39016 Lnet/minecraft/class_7422;field_39016:Lnet/minecraft/class_243;
      official b Lajm;b:Lfbx;
  • Constructor Details

    • TrackedPosition

      public TrackedPosition()
  • Method Details

    • pack

      @VisibleForTesting static long pack(double value)
      Mappings:
      Namespace Name Mixin selector
      named pack Lnet/minecraft/entity/TrackedPosition;pack(D)J
      intermediary method_43487 Lnet/minecraft/class_7422;method_43487(D)J
      official a Lajm;a(D)J
    • unpack

      @VisibleForTesting static double unpack(long value)
      Mappings:
      Namespace Name Mixin selector
      named unpack Lnet/minecraft/entity/TrackedPosition;unpack(J)D
      intermediary method_43488 Lnet/minecraft/class_7422;method_43488(J)D
      official a Lajm;a(J)D
    • withDelta

      public Vec3d withDelta(long x, long y, long z)
      Mappings:
      Namespace Name Mixin selector
      named withDelta Lnet/minecraft/entity/TrackedPosition;withDelta(JJJ)Lnet/minecraft/util/math/Vec3d;
      intermediary method_43489 Lnet/minecraft/class_7422;method_43489(JJJ)Lnet/minecraft/class_243;
      official a Lajm;a(JJJ)Lfbx;
    • getDeltaX

      public long getDeltaX(Vec3d pos)
      Mappings:
      Namespace Name Mixin selector
      named getDeltaX Lnet/minecraft/entity/TrackedPosition;getDeltaX(Lnet/minecraft/util/math/Vec3d;)J
      intermediary method_43490 Lnet/minecraft/class_7422;method_43490(Lnet/minecraft/class_243;)J
      official a Lajm;a(Lfbx;)J
    • getDeltaY

      public long getDeltaY(Vec3d pos)
      Mappings:
      Namespace Name Mixin selector
      named getDeltaY Lnet/minecraft/entity/TrackedPosition;getDeltaY(Lnet/minecraft/util/math/Vec3d;)J
      intermediary method_43491 Lnet/minecraft/class_7422;method_43491(Lnet/minecraft/class_243;)J
      official b Lajm;b(Lfbx;)J
    • getDeltaZ

      public long getDeltaZ(Vec3d pos)
      Mappings:
      Namespace Name Mixin selector
      named getDeltaZ Lnet/minecraft/entity/TrackedPosition;getDeltaZ(Lnet/minecraft/util/math/Vec3d;)J
      intermediary method_43492 Lnet/minecraft/class_7422;method_43492(Lnet/minecraft/class_243;)J
      official c Lajm;c(Lfbx;)J
    • subtract

      public Vec3d subtract(Vec3d pos)
      Mappings:
      Namespace Name Mixin selector
      named subtract Lnet/minecraft/entity/TrackedPosition;subtract(Lnet/minecraft/util/math/Vec3d;)Lnet/minecraft/util/math/Vec3d;
      intermediary method_43493 Lnet/minecraft/class_7422;method_43493(Lnet/minecraft/class_243;)Lnet/minecraft/class_243;
      official d Lajm;d(Lfbx;)Lfbx;
    • setPos

      public void setPos(Vec3d pos)
      Mappings:
      Namespace Name Mixin selector
      named setPos Lnet/minecraft/entity/TrackedPosition;setPos(Lnet/minecraft/util/math/Vec3d;)V
      intermediary method_43494 Lnet/minecraft/class_7422;method_43494(Lnet/minecraft/class_243;)V
      official e Lajm;e(Lfbx;)V
    • getPos

      public Vec3d getPos()
      Mappings:
      Namespace Name Mixin selector
      named getPos Lnet/minecraft/entity/TrackedPosition;getPos()Lnet/minecraft/util/math/Vec3d;
      intermediary method_60933 Lnet/minecraft/class_7422;method_60933()Lnet/minecraft/class_243;
      official a Lajm;a()Lfbx;