mojira.dev
MC-214544

The player's horizontal 'facing' angle is not set correctly when sleeping

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:

  1. Place down a bed, with the 'head' towards the east

  2. Set time to night

    /time set midnight
  3. Open F3

  4. Sleep in the bed

  5. 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]

Attachments

Comments 2

Can confirm, I never reported it because I didn't know how to explain it 🙂 Also affects 1.16.5.

Confirmed for 21w06a.

mxblue28

(Unassigned)

Confirmed

(Unassigned)

bed, direction, facing

1.16.5, 21w05b, 21w06a, 1.21

Retrieved