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

Mobs with a set sleeping position can walk/fly around freely while in a lying position

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 1.20.4, 24w12a
    • None
    • Confirmed
    • Commands, Mob behaviour

      The mob's AI still allows them to move freely while sleeping, causing them to walk around while lying down, which appears peculiar. 

       

      Reproduction steps

      1. Position a bed with its foot at coordinates 0 -60 18
      2. /summon minecraft:creeper ~ ~ ~ {SleepingX:-1,SleepingY:-60,SleepingZ:18}

        (You have the flexibility to modify the command coordinates if you've positioned the bed elsewhere.)

      3. Be in survival mode

      Observed: The creeper will pursue you while lying down.
      Expected: The creeper should not pursue because it is sleeping.

       

       

        1. creeper_chasing_while_sleeping.mp4
          7.11 MB
          Pro of the best minecraft game: 1.8!

            Unassigned Unassigned
            NoUser No User
            Votes:
            5 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              CHK: