mirror of
https://github.com/SparklyPower/SparklyPaper.git
synced 2025-12-20 23:49:24 +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:
@@ -9,24 +9,12 @@
|
|||||||
private final double x;
|
private final double x;
|
||||||
private final double y;
|
private final double y;
|
||||||
private final double z;
|
private final double z;
|
||||||
@@ -161,6 +_,32 @@
|
@@ -161,6 +_,20 @@
|
||||||
public float getYHeadRot() {
|
public float getYHeadRot() {
|
||||||
return Mth.unpackDegrees(this.yHeadRot);
|
return Mth.unpackDegrees(this.yHeadRot);
|
||||||
}
|
}
|
||||||
+
|
+
|
||||||
+ // SparklyPaper - Helpful NMS packet changes: expose raw rotational fields
|
+ // 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() {
|
+ public byte getXRotRaw() {
|
||||||
+ return this.xRot;
|
+ return this.xRot;
|
||||||
+ }
|
+ }
|
||||||
|
|||||||
Reference in New Issue
Block a user