The bug
When you have momentum and go to bed, your player is not well placed.
How to reproduce
Jump, run in all directions and right click on the bed to sleep
Observe how your character is in the bed
Example
Here is an example in video:
[media]Linked issues
is duplicated by 23
relates to 2
Attachments
Comments 15
Not only is my player halfway off the bed, but sometimes one of the arms will be stuck sticking up at an odd angle, like it was frozen in the middle of the walking/sprinting animation.
Simpler ways to reproduce:
Walk towards the bed as you enter it and you will slide slightly, becoming misaligned.
Sprint towards the bed as you enter it and you will slide even more.
Sprint towards the side of the bed under the Speed II effect and you will slide out of the bed.
I think the same behavior is what is causing the Villagers to become misaligned when they go to sleep.