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 ahz
  • 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 Lahz;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 Lahz;b:Lewh;
  • 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 Lahz;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 Lahz;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 Lahz;a(JJJ)Lewh;
    • 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 Lahz;a(Lewh;)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 Lahz;b(Lewh;)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 Lahz;c(Lewh;)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 Lahz;d(Lewh;)Lewh;
    • 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 Lahz;e(Lewh;)V