Mobs with a set sleeping position can walk/fly around freely while in a lying position
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
- Position a bed with its foot at coordinates 0 -60 18
/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.)
- Be in survival mode
Observed: The creeper will pursue you while lying down.
Expected: The creeper should not pursue because it is sleeping.