Class PositionImpl

java.lang.Object
net.minecraft.util.math.PositionImpl
All Implemented Interfaces:
Position

public class PositionImpl
extends Object
implements Position
Mappings:
Namespace Name
official gl
intermediary net/minecraft/class_2376
named net/minecraft/util/math/PositionImpl
  • Field Details

    • x

      protected final double x
      Mappings:
      Namespace Name Mixin selector
      official a Lgl;a:D
      intermediary field_11119 Lnet/minecraft/class_2376;field_11119:D
      named x Lnet/minecraft/util/math/PositionImpl;x:D
    • y

      protected final double y
      Mappings:
      Namespace Name Mixin selector
      official b Lgl;b:D
      intermediary field_11118 Lnet/minecraft/class_2376;field_11118:D
      named y Lnet/minecraft/util/math/PositionImpl;y:D
    • z

      protected final double z
      Mappings:
      Namespace Name Mixin selector
      official c Lgl;c:D
      intermediary field_11117 Lnet/minecraft/class_2376;field_11117:D
      named z Lnet/minecraft/util/math/PositionImpl;z:D
  • Constructor Details

    • PositionImpl

      public PositionImpl​(double x, double y, double z)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lgl;<init>(DDD)V
      intermediary <init> Lnet/minecraft/class_2376;<init>(DDD)V
      named <init> Lnet/minecraft/util/math/PositionImpl;<init>(DDD)V
  • Method Details

    • getX

      public double getX()
      Specified by:
      getX in interface Position
      Mappings:
      Namespace Name Mixin selector
      official a Lgk;a()D
      intermediary method_10216 Lnet/minecraft/class_2374;method_10216()D
      named getX Lnet/minecraft/util/math/Position;getX()D
    • getY

      public double getY()
      Specified by:
      getY in interface Position
      Mappings:
      Namespace Name Mixin selector
      official b Lgk;b()D
      intermediary method_10214 Lnet/minecraft/class_2374;method_10214()D
      named getY Lnet/minecraft/util/math/Position;getY()D
    • getZ

      public double getZ()
      Specified by:
      getZ in interface Position
      Mappings:
      Namespace Name Mixin selector
      official c Lgk;c()D
      intermediary method_10215 Lnet/minecraft/class_2374;method_10215()D
      named getZ Lnet/minecraft/util/math/Position;getZ()D