mojira.dev
MCPE-116790

Villagers cannot pass collisionless blocks placed next to doors.

Steps to reproduce

  1. Build an enclosed room containing a villager POI, any collisionless block on the ground (e.g. torch, lever, pressure plate, banner, fern, flower, etc.) on the ground in front of the door, and a block over the door, as shown in the screenshot below.

    [media]
  2. Spawn a villager on the other side of the door.

Expected result

The villager paths to the POI at the appropriate time.

Actual result

The villager gets stuck in the doorway and cannot pass by the block, despite being able to walk through it in other circumstances.


When creating a village, a torch was accidentally placed on the first block by the door on the inside of a house. Because of this, the villager whose work station was in this building could not pathfind to his station. He kept his trades, but abandoned the station. Other villagers locked onto this station and did the same thing, creating an infinite chain in which every villager ended up on the same station. Something with torches by doors really messes up villager pathfinding.

Linked issues

Attachments

Comments 9

I've been finding that villagers don't want to work at all when they pass a non-solid block. In my world, villagers often get caught in lamp posts made of cobblestone walls, making them not move at all. They just get stuck there and, as you said too, lose their attachment to their designated work station. It is really frustrating as I always need to walk next to them and nudge them out of the block for them t fix themselves.

I've been finding that villagers don't want to work at all when they pass a non-solid block. In my world, villagers often get caught in lamp posts made of cobblestone walls, making them not move at all. They just get stuck there and, as you said too, lose their attachment to their designated work station. It is really frustrating as I always need to walk next to them and nudge them out of the block for them t fix themselves.

I have not been able to reproduce this. Please attach a screenshot, video, or world save showing the problem.

I have not been able to reproduce this. Please attach a screenshot, video, or world save showing the problem.

In the screenshot, the villager is as far into the house as he can go unassisted, due to being blocked by the torch.

In the screenshot, the villager is as far into the house as he can go unassisted, due to being blocked by the torch.

This can be reproduced regardless of which side of the opening the door is placed on.

If the block above the door is removed then the villager jumps around on the torch, and delinks from the POI before reaching it.

UPDATE: This occurs with all collisionless blocks, so it cannot simply be explained as a consequence of MCPE-95129. It is something about the door being next to the block that makes villagers think that they cannot walk through.

This can be reproduced regardless of which side of the opening the door is placed on.

If the block above the door is removed then the villager jumps around on the torch, and delinks from the POI before reaching it.

UPDATE: This occurs with all collisionless blocks, so it cannot simply be explained as a consequence of MCPE-95129. It is something about the door being next to the block that makes villagers think that they cannot walk through.

Cade Parlato

(Unassigned)

476179

Confirmed

Multiple

pathfinding

1.17.11 Hotfix, 1.16.201 Hotfix, 1.17.30

1.17.40

Retrieved