mojira.dev
MC-97799

Carpet prevents villager/mob movement through door

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

MC-103439 Villagers AI behavior ( favors a single house / door & then crowds into doorway) Resolved MC-120034 Villagers can't walk on carpets in a two-block high house. Resolved MC-120048 villagers can't go through doors with carpets in front of them. Resolved MC-141012 Village bug Resolved MC-141127 The villagers will get stuck in the blanket when they hide at night. Resolved

Attachments

Comments 34

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.

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

[Mod] redstonehelper

Reopening, this is separate from the AI bug.

24 more comments

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

 

This is not resolved.  Still does it in 1.17.1 Java version on MAC.

It is. It's marked as Working As Intended.

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

[Mod] ManosSef

@unknown This issue is resolved as Working as Intended, which means it's not a bug and won't be fixed.

Jess Edward

(Unassigned)

Confirmed

Hitboxes, Mob behaviour

Minecraft 1.9 Pre-Release 2, Minecraft 1.9, Minecraft 1.9.1, Minecraft 1.9.2, Minecraft 1.9.3, ..., 1.16 Pre-release 4, 1.16 Pre-release 6, 1.16, 1.16.1, 20w30a

Retrieved