Villagers sleeping in a bed are sucked into a minecart that comes beside them, where they remain lying down.
Steps to reproduce:
Disable the daylight cycle and set the time to night.
Place a bed.
Spawn a villager beside the bed and wait for it to lie on the bed.
Place rails beside the bed.
Place a minecart beside the bed.
Observed results:
The villager moves into the minecart and remains in a sleeping position.
Expected results:
The villager remains in the bed. (At least that's what happens when you try this with a boat instead of a minecart.)
Linked issues
is duplicated by 7
relates to 2
Attachments
Comments 6
I was able to reproduce this behavior in 1.14.1. Also, I observed that the villager will wake up and remain in the minecart if you break the bed or move the villager-minecart more than 1 block away from the bed.
It is slightly different than MCPE-46309, because to get a sleeping villager into a boat you have to place the boat on the bed. With the minecart, you only need to put the minecart next to the bed. Probably that is just because the minecart is wider than 1 block but can be put right next to a block by placing in on a rail. In this way you can get a minecart to overlap the next block in a way you cannot with a boat.
I personally would prefer that this bug not be fixed because it provides a convenient way to collect a villager that you want to move. It also has no negative consequences, since the villager still wakes up normally.
I agree with what @GoldenHelmet said it's a very convenient way to both move villagers and keep them in the same place while also letting them sleep.
Can confirm in 1.20.32
Windows 10
https://youtu.be/HwmAqDfyfUc
this probably relates more to #MCPE-46309. It's the same thing, but with a boat.