Interface Position

All Known Subinterfaces:
BlockPointer
All Known Implementing Classes:
BlockPointerImpl, PositionImpl, Vec3d

public interface Position
Mappings:
Namespace Name
official hj
intermediary net/minecraft/class_2374
named net/minecraft/util/math/Position
  • Method Summary

    Modifier and Type
    Method
    Description
    double
    Returns the X coordinate.
    double
    Returns the Y coordinate.
    double
    Returns the Z coordinate.
  • Method Details

    • getX

      double getX()
      Returns the X coordinate.
      Mappings:
      Namespace Name Mixin selector
      official a Lhj;a()D
      intermediary method_10216 Lnet/minecraft/class_2374;method_10216()D
      named getX Lnet/minecraft/util/math/Position;getX()D
    • getY

      double getY()
      Returns the Y coordinate.
      Mappings:
      Namespace Name Mixin selector
      official b Lhj;b()D
      intermediary method_10214 Lnet/minecraft/class_2374;method_10214()D
      named getY Lnet/minecraft/util/math/Position;getY()D
    • getZ

      double getZ()
      Returns the Z coordinate.
      Mappings:
      Namespace Name Mixin selector
      official c Lhj;c()D
      intermediary method_10215 Lnet/minecraft/class_2374;method_10215()D
      named getZ Lnet/minecraft/util/math/Position;getZ()D