gitsh01/libertyvillagers

Stuck Villager Wandering Fix can make Villagers teleport out of their cages/houses you made for them.

Closed this issue · 7 comments

For some reason there's a bug on my server with this mod on where villagers are teleporting through glass panes and iron doors and getting out of the house. I'm assuming this mod is the culprit with how it changes villager's behaviors. They do a endermen/teleport effect when they do it.

I had multiple villagers in one space so maybe they got too cluttered and forced their way through the house? I have no clue

Try turning off Stuck Villager Wandering Fix.It can probably fix it.

works, thanks 👍

Hmm, yes this definitely is the stuck villager fix, but the question I have is why do the villagers think they can path that way. I'll need to investigate the pathfinding and see if iron bars and glass panes are marked as impassible.

Hmm, yes this definitely is the stuck villager fix, but the question I have is why do the villagers think they can path that way. I'll need to investigate the pathfinding and see if iron bars and glass panes are marked as impassible.

For me it was glass panes and iron doors.

Found the issue. Iron doors were already being checked for pathfinding, but glass panes weren't.

Adding an option for the villagers to avoid glass panes in the next version, which prevents them from trying to "path" through the glass panes.

Version 1.0.13 will have this fixed, it's now been uploaded everywhere. Thanks for the report.