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

"Times Slept in a Bed" statistic increases by just laying in bed and even when not skipping the night

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Resolution: Unresolved
    • Affects Version/s: 1.16.3, 1.16.4, 20w46a, 20w48a, 21w03a, 1.16.5, 21w13a, 21w14a, 21w16a, 1.17, 1.17.1
    • Fix Version/s: None
    • Labels:
      None
    • Confirmation Status:
      Confirmed
    • Category:
      Statistics

      Description

      The bug

      I am trying to make a datapack, so I used minecraft.custom:minecraft.sleep_in_bed. When I sleep in bed, the point will add 1 before I pass the night. So each time I sleep in the bed and get up manually, I will add 1 point.

      How to reproduce

      1. Run the following commands:
        /scoreboard objectives add Slept minecraft.custom:minecraft.sleep_in_bed
        /scoreboard objectives setdisplay sidebar Slept
      2. Enter a bed, and then leave it
        The score increases, even though the night was not skipped

        Attachments

        1. MC-201565.mp4
          4.73 MB
        2. MC-201565.png
          MC-201565.png
          559 kB

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            VegBird3 Jacky Choy
            Votes:
            4 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              CHK: