diff --git a/sparklypaper-server/minecraft-patches/sources/net/minecraft/network/protocol/game/ClientboundAddEntityPacket.java.patch b/sparklypaper-server/minecraft-patches/sources/net/minecraft/network/protocol/game/ClientboundAddEntityPacket.java.patch index 456d87d..45c55cb 100644 --- a/sparklypaper-server/minecraft-patches/sources/net/minecraft/network/protocol/game/ClientboundAddEntityPacket.java.patch +++ b/sparklypaper-server/minecraft-patches/sources/net/minecraft/network/protocol/game/ClientboundAddEntityPacket.java.patch @@ -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; + }