Villagers are able to wake up through walls (primarily corners) instead of waking up next to, or on top of their beds.
Steps to Reproduce:
Replicate the following structure:
[media]
Spawn a villager on top of the bed
Set time to night
Set time to day
Expected & Observed Results:
❌ - The villager will wake up on top of the bed.
✔ - The villager would not (apprea to) warp/glitch through the wall when waking up.
Screenshots/Videos:
[media]
Notes:
This most often occurs when a villager's bed is almost entirely surrounded by blocks aside from one corner, where instead of waking up on top of the bed, will prefer to wake up outside the enclosed space.
Old Description:
Re: MC-146360. It seems like if there is an open block next to the bed, the villager will now spawn on it which is an improvement. I disagree this is fixed though.
Imagine you are inside a room that is wall to wall bed (i.e. in the game the interior of the room is 1 wide 3 high and 2 deep). There is a bed on the floor. You sleep in the bed at night (so far so good: in the game this works fine). But when you wake up, because there is no floor next to the bed your only choice is to stand on the bed.
It seems clear this is what should happen, but this is not what villagers do. If there is no spot next to the bed for them, villagers continue to glitch through walls even when there is space for them on top of the bed. I think if there is no spot next to the bed, but there is room over the bed, they should get out of bed by standing on the bed, like what you would do in real life.
Linked issues
is duplicated by
Attachments
Comments
I did have stone above the bed like this
X - Stone
F - Foot of Bed
P - Pillow of Bed
W - Workstation
XXXXX
XX X
X
XFP W
XXXXX
I'm going to try
XXXXX
X X
X
XFP W
XXXXX
I wanted to force them to stand near the window in the front for trading. I'll also try turning the bed.
XXXXX
X X
X
XPF W
XXXXX
Putting the pillow against the wall as shown above the villagers glitch through the wall at the head of the bed. So that's new. I notice you can kind of push the villagers around the bed, and that they are a bit longer than the bed. I really hope I don't need these chambers 4 deep so there is space for their heads and feet on both ends...
XXXXXX
X X
X
X PF W
XXXXXX
Gotta trading hall full of like 30 villagers all glitching through walls since I gave them beds.
In the attachment one villagers has glitched over into his neighbor's area, while the other villager is sleeping under the bed.
It sounds like I don't even need to bed to refresh my trades, though the bug still stands. In fact it sounds like what I needed was two floor tiles to allow the villagers to leave and return to the station like so (which is also ridiculous):
XXXX
X X
X
X W
XXXX
I see reference to this happening as a result of world-loading. How certain is everyone of the cause? I also see this issue, using a 2x2 box, but I can't say if this is caused by loading or sleeping. I can say that they pass through walls that are not on chunk boundaries.
2x2 box floor layout:
XXXS
XP S
XFWS
XYYS
X - Wall
Y - Wall villager appears to have passed through
W - Workstation
F - Feet
P - Pillow
S - Slab below, staircase above
Note: Noticed in Linux Java Edition 1.15.1
A villager went through a wall without a restart, so I can confirm that it isn't caused by loading.
This is still happening in 20w13a. It seems to only happen when the bed is placed with the pillowside facing north and up against the left corner of a structure missing the outer corner wall.
I made a video in 1.15.2 demonstrating the issue, happens the same way in snapshots.
Still present in 20w14a, also the villagers are able to glitch through the wall both when getting out of the bed and when getting in
I rung the bell after the villagers had gone to bed and the farmer villager glitched out of his igloo and after a period he glitched back in again.
[media][media]
Still present in 20w15a
still present in 20w16a
Still present in 20w17a
Still present in 20w18a
Still present in 20w19a
Also a player is also able to glitch through a wall when leaving the bed if its pillow end is pointing towards north and the bed is against a wall to the north and west and the nortwestern corner is missing.
See this image as reference. Both villagers and players will glitch through the wall when getting out of the bed.
[media]
Still present in 20w22a
I can confirm, am also experiencing this issue. Causes villagers in my trading hall to leave their stations, which is super frustrating to get them back in the right spot.
Happening to me even though there's space at the foot of the bed. 😛
To go with my comment above:
[media][media][media]Can confirm in 20w51a.
Can confirm for 21w19a
Version 1.17.30 has introduced a bug which sounds like it may be similar to this. I have villager modules with a workstation and bed with 2 open spaces next to the bed. When the villager exits the bed it now jumps over the fence posts which I have at the foot of the bed. This happens on only 1 side of the hallway, where the head of the bed is East, the foot is West and 2 open spaces where they are supposed to move to are on the south side of these cells.
I will attach a video.
Collin, This is the Java Project. Please take your issue to Bedrock/MCPE.
May be an old issue, but this is still happening in Java 1.19.2. In my case, villagers are teleporting through the glass floor to reach the beds under it. When they wake, they are partly inside the glass block. This is causing my iron farm to break as the villagers can no longer do their jobs because it's become out of reach.
On Bedrock, this doesn't happen. So I'm not sure why this is happening on Java.
EDIT: Attached a screenshot of the viillagers that are now stuck because of this. I am using PureBDCraft for textures. The blue villagers are the desert varient and the elves are savanna. Though, the bottom of this box they are in is all glass, including the edges.
[media]
Affects 1.20, saw it happen in a naturally generated Savanna village
Affects 1.20.1 Release Candidate 1
Requesting ownership for this bug report considering the original reporter hasn't been active in 4 years
Affects 1.20.1
I would like to request ownership of this issue.
😞

Can confirm in 1.21.4 release candidate 3
Even in a room 1 wide 3 high and 3 deep with a bed on a floor they usually wake up on the empty floor spot, but sometimes are glitching through walls sideways.