• Icon: Bug Bug
    • Resolution: Fixed
    • Minecraft 19w11a, (42)
      Minecraft 19w11b, Minecraft 19w12a, Minecraft 19w12b, Minecraft 19w13a, Minecraft 19w13b, Minecraft 1.14 Pre-Release 2, Minecraft 1.14 Pre-Release 3, Minecraft 1.14 Pre-Release 4, Minecraft 1.14 Pre-Release 5, Minecraft 1.14, Minecraft 1.14.3, Minecraft 1.14.4 Pre-Release 2, Minecraft 1.14.4 Pre-Release 5, Minecraft 1.14.4 Pre-Release 6, 1.14.4 Pre-Release 7, 1.14.4, 19w34a, 19w35a, 19w41a, 19w42a, 19w44a, 19w45a, 19w45b, 19w46a, 1.15 Pre-release 1, 1.15 Pre-release 5, 1.15.1, 1.15.2 Pre-release 2, 1.15.2, 20w06a, 20w07a, 20w08a, 20w09a, 20w10a, 20w11a, 20w12a, 20w13a, 20w13b, 20w14a, 20w15a, 20w17a, 20w18a
    • Confirmed
    • Mob behaviour, Village system

      The bug

      At night, some villagers try to sleep in an already occupied bed instead of finding another one. This can happen while other beds are available.

      How to reproduce

      1. Go to a village
      2. Wait for the night
      3. Watch what villagers do when they go to sleep

      Example

      Here is an example in video: Some villagers seek to go to an already occupied bed while others are available.mp4

        1. 2019-03-14_16.48.15.png
          253 kB
          [Mod] Neko
        2. 2019-03-14_17.10.25.png
          472 kB
          Paul Rozhkov
        3. 2019-03-20_21.19.24.png
          709 kB
          Paul Rozhkov
        4. 2021-04-07_16.19.54.png
          510 kB
          Krev
        5. 2021-04-07_16.35.45-1.png
          1.14 MB
          Krev
        6. 2021-04-07_16.41.22.png
          952 kB
          Krev
        7. 2021-04-07_16.56.53.png
          973 kB
          Krev
        8. Some villagers seek to go to an already occupied bed while others are available.mp4
          6.20 MB
          [Helper] ZeNico13

          [MC-145862] Villagers try to sleep in occupied beds

          Krev added a comment -

          Still happens in both 1.16.5 and 21w14a, although it seems to only happen when there's either no open beds or they simply can't pathfind to one. The 1.16.5 screenshots I've posted show a villager refusing to go past the doorway despite tracking the unoccupied beds inside, the 21w14a screenshot shows the much more common attempt to use an occupied bed with none immediately available.

          Something to note is that the villagers seem to be making repeated attempts to pathfind to/use the bed, and seem to only very occasionally (and seemingly at random) give up and wander the village in search for another (which is what I assume the intended behavior is, but it's just not happening consistently whatsoever).

          Krev added a comment - Still happens in both 1.16.5 and 21w14a, although it seems to only happen when there's either no open beds or they simply can't pathfind to one. The 1.16.5 screenshots I've posted show a villager refusing to go past the doorway despite tracking the unoccupied beds inside, the 21w14a screenshot shows the much more common attempt to use an occupied bed with none immediately available. Something to note is that the villagers seem to be making repeated attempts to pathfind to/use the bed, and seem to only very occasionally (and seemingly at random) give up and wander the village in search for another (which is what I assume the intended behavior is, but it's just not happening consistently whatsoever).

          Why this issue is still in 1.16.3?

          Mateus Pereira Milbradt added a comment - Why this issue is still in 1.16.3?

          Reopened as there have been multiple reports, such as MC-155457, about this still happening after the last fix attempt,.

          [Mod] violine1101 added a comment - Reopened as there have been multiple reports, such as MC-155457 , about this still happening after the last fix attempt,.

          Mremaknu added a comment -

          Still observing this behavior in snapshot 1.14 .1 pre-release 2.

          Mremaknu added a comment - Still observing this behavior in snapshot 1.14 .1 pre-release 2.

          Still in 1.14 Release! It's not fixed!

          [Helper] ZeNico13 added a comment - Still in 1.14 Release ! It's not fixed!

          [Helper] ZeNico13 added a comment - - edited

          Confirmed for 1.14 pre-1, 1.14 pre-2, 1.14 pre-3, 1.14 pre-4 and 1.14 pre-5

          The bug

          Some villagers seek to go to an already occupied bed while others are available.

          How to reproduce

          1. Go to a village
          2. Wait for the night
          3. Watch what villagers do when they go to sleep

          Example

          Here is an example in video: Some villagers seek to go to an already occupied bed while others are available.mp4

          [Helper] ZeNico13 added a comment - - edited Confirmed for 1.14 pre-1 , 1.14 pre-2 , 1.14 pre-3 , 1.14 pre-4 and 1.14 pre-5 The bug Some villagers seek to go to an already occupied bed while others are available. How to reproduce Go to a village Wait for the night Watch what villagers do when they go to sleep Example Here is an example in video: Some villagers seek to go to an already occupied bed while others are available.mp4

          [Mod] Neko added a comment -

          According to MC-148651, this is still an issue. Can anyone confirm in a new world created after 19w14a?

          [Mod] Neko added a comment - According to MC-148651 , this is still an issue. Can anyone confirm in a new world created after 19w14a?

          Martin Piper added a comment -

          I've been experimenting with this a lot. Each villager picks a bed when they are spawned, In general it seems 80-90% of the time they will choose the bed closest to them even if it is already 'owned' by another villager.  If that bed is destroyed, they will choose another.  I would expect they would also choose another bed if moved from one village to another but I've yet to see this happen. (moved villagers 1000+ blocks to a different village, they do not sleep)

          Martin Piper added a comment - I've been experimenting with this a lot. Each villager picks a bed when they are spawned, In general it seems 80-90% of the time they will choose the bed closest to them even if it is already 'owned' by another villager.  If that bed is destroyed, they will choose another.  I would expect they would also choose another bed if moved from one village to another but I've yet to see this happen. (moved villagers 1000+ blocks to a different village, they do not sleep)

          J_Aetherwing added a comment -

          The free bed doesn't even have to be far away, they might stand right next to it and don't notice.

          J_Aetherwing added a comment - The free bed doesn't even have to be far away, they might stand right next to it and don't notice.

          Max H. Stone added a comment -

          Still confirmed for 19w12a in a from v1.13.2 converted world. And a lots of beds around are free but the villager didn't noticed.

          Max H. Stone added a comment - Still confirmed for 19w12a in a from v1.13.2 converted world. And a lots of beds around are free but the villager didn't noticed.

            cojomax99 [Mojang] Cory Scheviak
            Gravinser Paul Rozhkov
            Votes:
            22 Vote for this issue
            Watchers:
            15 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: