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

Sleeping in beds delays fall damage

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Minecraft 1.10.2
    • Minecraft 1.6.2, Minecraft 1.8.8, Minecraft 1.12, Minecraft 1.13.1, Minecraft 18w43c, Minecraft 18w48a, Minecraft 18w48b, Minecraft 18w49a, 1.14.4, 19w38b, 1.15, 1.15.1 Pre-release 1, 1.15.2, 20w22a, 1.16 Pre-release 5, 1.16.2, 1.16.3 Release Candidate 1, 1.16.3, 1.16.4, 20w51a, 1.16.5, 21w05b, 21w06a, 21w07a, 1.17, 1.17.1 Pre-release 1, 1.17.1 Pre-release 3, 1.17.1 Release Candidate 1, 1.17.1, 21w38a, 1.18, 1.18.1, 22w05a, 1.18.2 Release Candidate 1, 1.18.2, 22w15a, 1.19, 1.19.1, 1.19.2, 22w43a, 1.19.3, 1.19.4, 1.20, 1.20.1, 24w11a, 1.21, 1.21.1, 24w36a, 1.21.2 Pre-Release 3, 1.21.3, 1.21.4
    • Confirmed
    • Player
    • Low
    • Platform

      The Bug:

      If a player were to fall from a high distance and enter a bed before hitting the ground, fall damage would only be dealt after exiting the bed.

      Steps to Reproduce:

      1. Build the setup shown in the attachment below. setup.png
      2. Set the time to "night", stand on the diamond block, and switch into survival mode.
      3. Jump off the tower but before you hit the ground, quickly enter the bed.
      4. Take note as to whether or not sleeping in beds delays fall damage.

      Observed Behavior:

      Fall damage is delayed and instead inflicted when waking up.

      Expected Behavior:

      Fall damage wouldn't be delayed.

      Code Analysis:

      Code analysis by PR0CESS can be found in this comment.

        1. Bed bug - Copy.mp4
          7.16 MB
        2. MC-19830.png
          MC-19830.png
          201 kB
        3. setup.png
          setup.png
          887 kB

            Unassigned Unassigned
            Avoma [Mod] Avoma
            Votes:
            25 Vote for this issue
            Watchers:
            10 Start watching this issue

              Created:
              Updated:
              CHK: