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

Villagers can pathfind while in beds

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • None
    • 1.20.6, 1.21 Release Candidate 1
    • None
    • Java: JDK 21.0.3
      OS: Linux Debian 12 x64
      Minecraft (tested on): Vanilla 1.20.4, 1.20.6 and 1.21-rc1
    • Unconfirmed
    • (Unassigned)

      Villagers can pathfind to food near them while sleeping and not get out of bed.

      Note: this only works when the villager is about 1 block away from the food item stack.

       

      Reproduction:

      1. Spawn a villager and place some beds.
      2. /time set night and wait till the villager sleeps.
      3. Throw some food to a bed near (about 1 block from) the villager

       

      Expected behavior:

      The villager would get out of bed to pick up the food.

       

      Observed behavior:

      The villager walks while laying on the bed and picks up the food.

            Unassigned Unassigned
            FintMC FintMC
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: