mojira.dev
MC-157589

When knock a bell, some of villagers will "lost" their AI

The bug

Ringing a bell can cause the farmers, clerics, and one librarian to freeze. They stop moving, working, restocking, and sleeping. They also stop showing their items/emeralds when standing near them with something they can trade. All they seem to do is turn around occasionally. They stay like this until the world is reloaded, at which point they return to normal until a bell is rung again.

There are other villagers; masons and librarians, that seem unaffected by the bell and respond to it by panicking as they should.

Linked issues

Attachments

Comments 4

This problem still occurs in Snapshot 20w09a

To add, they sometimes lose their pathfinding, and sometimes their AI, as their head can still turn. When the player opens the trading menu, however, the villager temporarily regains its pathfinding abilities. Closing the menu removes them again. They sometimes, when pushed, can regain their AI, also.

Can confirm in 20w51a.

I saw the same behavior in my little auto-farm. I created some farmland in the middle of nowhere, and spawned in some villagers to work it. The villagers didn't come from a village, and there was never a village in the area.

  • Ringing the bell causes all villagers to freeze forever, as above.

  • Reloading the game causes villagers to resume work.

  • Placing a bed then ringing the bell causes villagers to run toward the bed for some seconds, then resume work.

  • Deleting the bed then ringing the bell causes villagers to run around for some seconds, then resume work.

  • Interestingly, after I started writing this comment, I want back to the game and rang the bell, and the villagers froze permanently. 

  • While they were frozen, I placed a bed, and they resume work.

I would guess the bell makes them panic, but without any place tagged "village" they can't find a place to run toward, so the AI hangs. Placing a bed causes the area to be tagged "village," allowing the AI to run. But I see the above pics are full of beds, so I dunno.

I used CurseForge to assemble Minecraft for Java 1.20.1 with Forge 47.3.0 and 4 mods.

ZYX_2D

(Unassigned)

Community Consensus

Mob behaviour

1.14.4, 1.15.2, 20w51a, 1.20.1

Retrieved