The bug
Carpet placed next to a door prevents the villagers from entering or exiting, this causes them also to sometimes get stuck into a loop opening and closing the door. Villagers moved freely in 1.8.9.
Not sure which snapshot version this started although I suspect it was when villager height was increased in 15w39a or possibly if carpet properties changed.
More specifically, all mobs of height 1.95 or greater cannot move onto carpet if they are currently inside a 2-block high area. This affects:
Drowned
Evoker
Husk
Illusioner
Piglin
Pillager
Villager
Vindicator
Wandering Trader
Witch
Zombie
Zombie Villager
Zombified Piglin
Skeleton (1.99)
Stray (1.99)
Prior to 1.9, villagers were 1.8 tall, and could step onto carpet freely, but other mobs still were affected by this behavior. Note that mobs still try to pathfind onto the carpet, even though they fail to move through it.
Linked issues
is duplicated by 27
relates to 2
Attachments
Comments 34
I can confirm it happens on 1.9 release. I've got a whole village of villagers constantly opening and closing doors they then can't get through. Its... loud.
Confirmation for 1.9.2:MC-100323
MC-97042 was updated to include carpets
put a trapdoor above you in the top half of the second block up so its in the same space as your head, then place a carpet infront of you and you should not be able to get through with out shifting
hi, just wanted to add that this bug is still happening in 1.21.1? and it feels like it shouldn't work like that, especially since several villages come with carpets in them now. i just found a villager in an ice biome who couldn't get to their jobsite because there was carpet in the way. they can walk on them if there's 3 blocks, but not 2? i would like it if this was fixed. it feels a little bit silly
The height of a villager plus the height of a carpet (or even a lily pad) is now more than 2 blocks. That is why they do not fit. I doubt this is any thing other than WAI. However, villagers still try to path through a space through which they do not fit. That is probably a more appropriate framing for this issue.