mojira.dev
MC-146360

Exiting bed always puts the player or villager in blocks

When sleeping in a bed next to blocks, there is a chance that the player or a villager will end up inside the blocks when exiting the bed.

Related issues

MC-146361 out of bed spawn always north west MC-146374 beds MC-146385 Bed Forces You Into Wall After Sleeping Up Against A wall MC-146392 Villagers thrusted against walls and suffocated upon waking up MC-146393 Player takes damage to death while sleeping MC-146394 Beds don't function correctly MC-146400 Waking up puts you in a wall or outside of house MC-146414 Waking up in wall after sleeping. MC-146416 Villagers wake up standing on their bed instead of next to it, potentially suffocating them MC-146423 Waking from bed puts you in nearest wall, causing suffocation. MC-146461 When leaving a bed it launches the player up into the roof MC-146472 Beds spit you out in awkward locations MC-146483 Waking up from my bed put me in the wall. MC-146507 Exiting Bed Will Make Villagers Noclip Through Walls, And Some Are Not That Lucky MC-146514 Falling out of the bed MC-146516 Suffocating after rest at head of bed MC-146541 Villagers pop right through the wall of their house when they get out of bed in the morning MC-146546 Villagers wake up to a dose of suffocation MC-146572 bug in new villages with beds MC-146599 Villagers glitching through walls MC-146664 Wake up on wrong side of bed MC-146692 When beds are placed against 2 block high walls or more the player will wake up and become stuck in a wall. MC-146699 Villagers and players are in the wrong place when they wake up MC-146745 Bed Spawning Issue MC-146760 Waking up through walls MC-146766 Waking up

Attachments

Comments

migrated
[media]
migrated

Can confirm, also occurs with other blocks - when sleeping in a bed next to blocks villagers glitch into blocks next to their bed and sometimes through the wall, taking damage on the way.

migrated

19w12b. I woke up on the other side of a wall from an existing bed. Not sure if this is the same bug, wanted someone's opinion first unless someone knows what bug I'm actually experiencing. Basically the bed is against a corner of a wall where the corners of the wall are also connected. I spawn directly next to it but on the other side of the wall instead of the open space at the foot of the bed opposite of the wall.

migrated

Can confirm.

migrated

Can confirm. I have my base and bed in a cave. My bed is on the top floor 2-3 blocks underneath the surface. And each time I spawn on the surface. instead of besides my bed like in the previous snapshots.

migrated

I woke up underground and another time inside a wall. Leads to suffocation.

ZeNico13

Confirmed in 19w12b and it is really annoying !

migrated

Confirmed in 19w12b as well had to restart server to save a few villagers and myself because of getting stuck in the blocks. Now that villagers sleep this is costly!

migrated

I've had to load from backups twice due to finding ALL my bed-using villagers missing (but the ones still in a defunct trading booth are fine each time).

I had a suspicion it was something like this as I tried to respawn villagers in their place, then slapped one while he was in bed and he teleported into a wall and suffocated.

It's a snapshot, so, problems bound to happen.  But maaan I swear I only ever notice they're gone after dumping a bunch of hours on some big project. lol

migrated

I've noticed the game always tries to spit you out north or northwest of the bed. But when there are no blocks around, you are spat out on top of the bed.

migrated

After testing this, I readjusted the beds to face all 4 directions, but the villagers defaulted to the wall it was next to each time.

I moved it away from that wall, and it shoved them into the new adjacent wall.

I move it back a block, expecting them to be ejected into the same position in relation to the bed (thus into the middle of the room).

No, it puts them in the 3rd wall it was now next to, the opposite side of the bed they were hopping out of a few seconds before.

This makes no sense to me. It's like they're programmed to target the nearest walls.

migrated

Man, I woke up on the wrong side of the bed this morning, and boy did it make me grouchy!

migrated

This was a rude awakening when playing hardcore and sleeping underground when it shoved me into a wall and caused me to suffocate to death. Ah well, the hazards of playing hardcore on snapshots!

gregopeck

I just loaded 1.15 Pre-Release 1. I was testing an issue I had with the last snapshot where some villagers would not go to bed at night. I teleported to a snow village and instantly watched a villager die by suffocation, it's head was in the ceiling above or near the bed. You can see this in the screenshot I've attached. I've also included a fresh copy of the world (named Pre-Release1) created with seed#7333969029456169764. I have "cheats" enabled so you can quickly type in "/tp -502 70 -643" or "/tp -507 70 -642" to get to the point in the screenshot. (There are a lot of duplicates of similar behavior and I accidentally reported this in the Switch bug tracker at first. This seems to be the correct place to report it.)

violine1101

Please create a new ticket for that.

gregopeck

Thank you, I've done as you've asked. https://bugs.mojang.com/browse/MC-166612

ednoria

Nathan Adams

Confirmed

(Unassigned)

Minecraft 19w12b

Minecraft 19w13a

Retrieved