9
0
mirror of https://github.com/SparklyPower/SparklyPaper.git synced 2025-12-19 15:09:27 +00:00

Remove getXaRaw/getYaRaw/getZaRaw from the Helpful NMS patches because these variables are now in the getMovement method

This commit is contained in:
MrPowerGamerBR
2025-09-25 21:34:32 -03:00
parent 86fa3b958f
commit cf81d46e2c

View File

@@ -9,24 +9,12 @@
private final double x;
private final double y;
private final double z;
@@ -161,6 +_,32 @@
@@ -161,6 +_,20 @@
public float getYHeadRot() {
return Mth.unpackDegrees(this.yHeadRot);
}
+
+ // SparklyPaper - Helpful NMS packet changes: expose raw rotational fields
+ public int getXaRaw() {
+ return this.xa;
+ }
+
+ public int getYaRaw() {
+ return this.ya;
+ }
+
+ public int getZaRaw() {
+ return this.za;
+ }
+
+ public byte getXRotRaw() {
+ return this.xRot;
+ }