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.

Related issues

MC-141012 Village bug MC-103439 Villagers AI behavior ( favors a single house / door & then crowds into doorway) MC-120034 Villagers can't walk on carpets in a two-block high house. MC-120048 villagers can't go through doors with carpets in front of them. MC-141127 The villagers will get stuck in the blanket when they hide at night. MC-141499 Villagers can't fit through doors next to carpets MC-143884 carpets stop villagers from passing through doors causing them to rapidly open and close doors MC-146613 the Villager can not leave the facility MC-146671 Carpet Decorations doesn't let the Villagers access to their Work Stations MC-148584 villager will not move on carpet if near the doorway to a house MC-150221 Villagers can't Pass a Carpet Beneath 2 Blocks High Of a Door/Roof MC-151766 Illagers when raiding, get trapped in open doorways MC-158063 I found a bug with villagers / Я нашел баг с крестьянами MC-165267 Villagers cannot pass through doors with carpets in front of them MC-168938 Villagers can not go throught doors that have carpet infront of them. MC-178028 Carpets blocks the mobs MC-185416 In a two block height, mobs cannot walk through when there are carpets, railways, etc. MC-195697 Carpets blocking savanna librarian workplace MC-196300 Villagers can't enter savanna libraries. MC-202208 Walkway bug on carpets MC-203184 I put carpet down in a 2 block tall villager house and the villager could not walk on the carpet MC-213100 Villagers get stuck when in a house with carpet outside the door on the same level MC-241424 Villagers do not enter on carpets while 2 block height MC-264602 Villagers struggle to find their way out of this house due to carpet placements MC-267249 Villagres aren't able to walk on carpets if there is a block above them MC-274964 Villager cannot enter specific building MC-279744 Villager doesn't go through the carpet

Attachments

Comments

migrated
[media][media][media][media][media][media][media]
migrated

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.

migrated

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.

migrated

Confirmation for 1.9.2:MC-100323

kumasasa

MC-97042 was updated to include carpets

migrated

Reopening, this is separate from the AI bug.

migrated

Like @Nathan Ryan said, this has to do with the heights of the villager and the carpet stacking, so that it prevents movement.

migrated

I attached screenshots, so you can see how a carpet affects an entities' Y Level.

migrated

To fix this, I think the height of the carpet should be changed.

migrated

The AI bug is that the Villager doesn't ignore this invalid house, this issue describes what a carpet does when placed next to a door.

migrated

I found a solution to this that mojang needs to do. It is to make the collision of the carpet the same as the snow layer block, when the snow layer block is floating, you don't stand right on top of it, you sink through it a bit right to the bottom part of the block.

migrated

Please do not mark unreleased versions as affected.
You don't have access to them yet.

migrated

Affects 18w31a.

migrated

Affects 1.13.1-pre2.

migrated

Hey. So if This is an old bug that hasn't been patched since 1.9. Why are they making the New Village buildings as if it were already patched?

[media]

[media]

gaspoweredpick

Confirmed for 19w13b.

This relates to MC-50367

migrated

I'd like to applaud @Jessedward for her dedication in keeping the affected versions for this bug updated over three years.

gaspoweredpick

Although they didn't fix this, they did fix carpets blocking the exit of the village.

Edit: I have recently noticed that there may still be issues with this in some villager houses

migrated

Placed a carpet next to the door and now villagers cannot leave. Bug confirmed in 1.14.1 pre2.

gaspoweredpick

Confirmed for 1.14.1

migrated

Still present in 1.14.4 full release.

[media]

migrated

Happens in 19w42a

migrated

It is caused by the change in 15w39a (height changed from 1.8 to 1.95 blocks tall). It should be reverted or carpets should be the same as 1 snow layer because this is very very annoying.

migrated

Can I request ownership, so I can keep this bug being updated? Confirmed for 1.15.2 and 20w11a

migrated

Confirmed in 20w12a

migrated

Still present in 20w13a.

migrated

Affects 20w13b

migrated

Affects 20w15a

migrated

carpets have a hit box so if the hit box of the mob is larger than the space - the carpet hitbox then its the same as walking onto a slab, the hit box is different however

also if you shift then you should be able to get through

migrated

You can get through it even if you are not sneaking.

migrated

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

 

migrated

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

migrated

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

sher1bot

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.

migrated

(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