mojira.dev
MC-204962

Villagers start jumping when they encounter a "wall" made of raised trap doors

If you create a "wall" of raised trap doors with two doors (in the example I'm using Warped Trapdoors and Warped Doors, but I've also observed this with Spruce), when a Villager encounters them instead of trying to open the door it will begin to jump frantically in place. Occasionally it will be able to find the door but this seems luck rather than anything else.

Cycling between night/day doesn't reset to help them or help (even if they are sleeping during night). Neither does placing the villager in a boat and transporting them through the door update their navigation.

I've included two mp4s to demonstrate this. Once of them depicts a villager in an 'unobstructed' example where it is simply the wall in between two rooms: their bed and their work block. The other contains a middle room with Warped Nylium, a raised section and fungus all over the floor in the central bit. Neither seem to have any effect of whether the villager is able to successfully navigate. If you recreate the structures it should reproduce the issue. The videos were recorded in single player but I've also seen this in the multiplayer world (the layout of the test structures is derived from my server).

Sometimes villagers are spawned that appear to navigate successfully, again it's unclear why that is when their peers (mostly) seem unable to do so. Biome doesn't seem to affect this, I've seen the same behavior in a 'plains' biome.

Linked issues

Attachments

Comments 9

@Marty McFly Do you mean to say that these tickets are related or they are duplicates?

I'm not seeing the same jumping behaviour when I've implemented the scenarios described in that ticket. While that ticket and it's duplicates note that the villager pathfinding has an issue with trapdoors is it the same issue? A lot of the discussion seems to be around the fact that they don't jump rather than they do.

I was not sure, but I've tested it in 20w46a.
Can confirm they jump at a wall of trapdoors.

Can confirm in 20w51a.

Can confirm in 21w03a.

Can confirm in 21w05b.

Can confirm in 21w07a.

Can confirm in 1.16.5 and 21w18a.

I wasn't able to replicate the jumping in 24w39a. However, they still have the same pathing issues.

snertsbor

(Unassigned)

Community Consensus

Mob behaviour

1.16.4, 20w51a, 21w03a, 1.16.5, 21w07a, 21w18a, 24w39a

Retrieved