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]

Related issues

MC-153515 Sprinting and going into bed causes player to shift MC-153548 Running into a bed and sleeping will cause you to slide MC-153580 Bed Collision Bug MC-158752 Fall out of bed MC-164243 When I sleep next to a corner block I fall out of the wall. MC-167953 Bed glide MC-168149 Why can't I sleep straight in bed? MC-168225 When you enter a bed you maintain previous momentum MC-177540 Sleeping on the ground MC-177548 Player is not centered on beds MC-184046 walking twords beds causes you to slide on it MC-184126 Visually fall out of bed if clicked while flying MC-188608 Bug with the bed. MC-191503 If you are walking while lying on a bed, you slide a bit out of it. MC-194179 getting in bed whale runing makes you come off bed MC-195159 Bag with beds MC-195986 when you place a bed at night while sprint jumping and also clicking at it after you just placed it while sprint jumping in the same direction you will find yourself sleeping on the ground MC-205903 Not sleeping in the bed but on the floor MC-216259 Sleeping whilst in the swimming animation glitches MC-228906 Sleeping out of bed MC-230330 Our character get drags in floor when we right click bed by pressing w and a or d button. MC-231480 Falling out of bed MC-277626 The player can fall off their bed

Attachments

Comments

migrated
[media]
Nergalic

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.

migrated

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.

migrated

I've gotten inside my walls.

migrated

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

pulpetti

In 20w29a

Avoma

Can confirm in 21w05b.

Avoma

Can confirm in 1.18.1.

PR0CESS

Just wanted everyone to know that this is only visual. On the server, you are put into the correct location

Avoma

Can confirm in 1.18.2 and 22w13a.

Avoma

Can confirm in 1.19.

Avoma

Can confirm in 1.19.2.

Brevort

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

Brevort

Confirmed in 23w13a.

Wilf233

Can confirm in 1.20.2

migrated

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