I was building an iron farm on survival but than I noticed the villagers on the floating beds just sat there, day and night not sleeping. so I did some testing and found out mobs won't walk over floating slabs or beds.
Related issues
Comments

I was building an iron farm on survival but than I noticed the villagers on the floating beds just sat there, day and night not sleeping. so I did some testing and found out mobs won't walk over floating slabs or beds.
migrated
(Unassigned)
Unconfirmed
Nintendo Switch
N/A
1.13.2
Retrieved
Thank you for your report!
We're actually already tracking this issue at MCPE-47075, so I resolved and linked this ticket as a duplicate.
If you would like to add a vote and any extra information to the main ticket it would be appreciated.
If you haven't already, you might like to make use of the search feature to see if the issue has already been mentioned.
Quick Links:
📓 Issue Guidelines – 💬 Community Support – 📧 Customer Support – 📖 Game Wiki