mojira.dev
MC-160582

Villagers sometimes try to pathfind through a wall when heading to work or to their bed

The bug

Villagers sometimes try to pathfind through walls to get to their workstation or to their bed.

Original description

On the way to work, the villager path-finds to the wall of the workshop and gets stuck in the corner outside.  Despite having no trouble getting around walls normally, it seems that when heading to work, it is prone to getting stuck and taking invalid routes.

Linked issues

MC-278522 Armourer Villager Path Finding Issue Resolved MC-279164 Villagers are able to access beds through blocks Resolved MC-264501 Villagers access beds through snow blocks Resolved MC-187255 Villagers try to pathfind through solid walls Resolved MC-197682 Baby Villagers can access beds under farm blocks Resolved

Attachments

Comments 17

Saw something very similar happen when playing Fabric 1.14.4, but with beds: Villagers would try to pathfind through walls to get to beds. Haven't encountered this in vanilla yet, though.

To clarify: I encountered the issue in vanilla and used a fabric mod to confirm that the villager indeed tried to pathfind through the wall.

I've confirmed this ticket and it will be the collection ticket for all cases in which villagers try to pathfind through walls from now on.

Also affect illagers from raids. They trying to pathfind villagers though the wall.

Can confirm that this still happens in 19w45b

7 more comments

This is a bug in bedrock as well.

Requesting ownership of this issue as @unknown has not been active for over 4 years.

Still an issue in 24w40a

Still occur in 1.21.4 and 1.21.5, quite annoying (and a quite old bug too 😵 )

Tyler Purcell

[Mod] Jingy

(Unassigned)

Confirmed

Platform

Normal

Mob behaviour

1.14.4, 19w36a, 19w42a, 19w45b, 1.15.1, ..., 24w34a, 24w40a, 1.21.3, 1.21.4, 1.21.8

Retrieved