pub const fn to_angle_byte(degrees: f32) -> i8
Converts degrees to a protocol angle byte (0-255 representing 0-360 degrees).
Mirrors vanilla’s Mth.packDegrees(): (byte)floor(angle * 256.0F / 360.0F)
Mth.packDegrees()
(byte)floor(angle * 256.0F / 360.0F)