When the player is sleeping, the direction that they are facing horizontally is (according to the F3 screen) incorrect compared to the camera view. For example, if a bed is oriented with the head on the east side, a sleeping player will be facing directly west, and so should have a horizontal 'facing' angle of 90 degrees (since angles are measured clockwise from south), and a vertical angle of 0 (i.e. looking straight at the horizon).
Steps to Reproduce:
Place down a bed, with the 'head' towards the east
Set time to night
/time set midnight
Open F3
Sleep in the bed
Check your horizontal
Facing
direction
Expected Result:
The facing direction would change when the player enters the bed.
Observed Behavior:
The value will remain what it was before getting in the bed, despite the player now looking towards the east (90.0°).
Screenshots/Videos:
[media][media]
Can confirm, I never reported it because I didn't know how to explain it 🙂 Also affects 1.16.5.