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:
@@ -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;
|
||||
+ }
|
||||
|
||||
Reference in New Issue
Block a user