mojira.dev
MC-148370

When entering a bed while moving, the player is not placed correctly or can fall out of the bed

The bug

When you have momentum and go to bed, your player is not well placed.

How to reproduce

  1. Jump, run in all directions and right click on the bed to sleep

  2. Observe how your character is in the bed

Example

Here is an example in video:

[media]

Linked issues

MC-277626 The player can fall off their bed Resolved MC-231480 Falling out of bed Resolved MC-230330 Our character get drags in floor when we right click bed by pressing w and a or d button. Resolved MC-228906 Sleeping out of bed Resolved MC-216259 Sleeping whilst in the swimming animation glitches Resolved

Attachments

Comments 15

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.

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.

I've gotten inside my walls.

it can be reproduced easier when flying with elytra and going in bed

5 more comments

Can confirm in 1.19.2.

Confirmed in 1.19.4. It is even possible to fall out of the bed without having the speed effect.

Confirmed in 23w13a.

Can confirm in 1.20.2

Can confirm in 1.20.6.

ZeNico13

(Unassigned)

Confirmed

Platform

Low

Player

bed, falling, moving, placement, player, player-model, sleeping

Minecraft 1.14 Pre-Release 2, Minecraft 1.14 Pre-Release 3, Minecraft 1.14 Pre-Release 4, Minecraft 1.14 Pre-Release 5, Minecraft 1.14, ..., 1.20.4, 1.20.6, 1.21, 1.21.2 Pre-Release 3, 1.21.4

Retrieved