Package net.minecraft.util.math
Class PositionImpl
java.lang.Object
net.minecraft.util.math.PositionImpl
- All Implemented Interfaces:
Position
- Mappings:
Namespace Name official gz
intermediary net/minecraft/class_2376
named net/minecraft/util/math/PositionImpl
-
Field Summary
-
Constructor Summary
-
Method Summary
-
Field Details
-
x
protected final double x- Mappings:
Namespace Name Mixin selector official a
Lgz;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
Lgz;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
Lgz;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>
Lgz;<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()Returns the X coordinate. -
getY
public double getY()Returns the Y coordinate. -
getZ
public double getZ()Returns the Z coordinate.
-