@23-hours you are supposed to edit existing packets not send new ones
onPacket e
if (e.getPacket() instanceof C03) {
p = e.getPacket()
p.yaw = x
p.pitch = x
}
or you could also use RotationUtils
RotationUtils.setTargetRotation(new Rotation(yaw, pitch))