Class TrackedPosition

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

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

    • COORDINATE_SCALE

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

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

    • TrackedPosition

      public TrackedPosition()
  • Method Details

    • pack

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

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

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

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

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

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

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

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