Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-214544

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 1.16.5, 21w05b, 21w06a, 1.21
    • Confirmed
    • (Unassigned)

      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:


        1. after_bed.png
          1.02 MB
          [Helper] Jiingy
        2. before_bed.png
          1.02 MB
          [Helper] Jiingy

            Unassigned Unassigned
            misterblue28 misterblue28
            Votes:
            3 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              CHK: