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.
Attachments
Comments 3
Relates to MC-269774
Thank you for your report!
After consideration, the issue is being closed as Won't Fix.
Please note that this is not the same as Working as Intended, as this bug report correctly describes behavior in the game that might not be the intended or desirable behavior, but it will not be fixed right now. Sometimes, this is because the issue reported is minor and/or impossible to change without large architectural changes to the code base.
Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support (Technical Issues) – 📧 Microsoft Support (Account Issues)
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki
Also affects flying mobs, such as bees and vexes.