Guard Villagers

Guard Villagers

56M Downloads

Guards will wander forever.

Closed this issue ยท 1 comments

commented

Not necessarily a "bug" but it's worth noting that when I have my guards posted to a certain location they WILL get essentially lured by mobs spawning on the outskirts of my town during the night and then get lured further and further away from where they're ACTUALLY supposed to be posted and protecting, they may even die depending on how far away they get lured outside of the village.

I think this problematic behavior could be fixed by adding something like if a guard is >10 blocks outside of the maximum range from WHERE they were told to STAY, then the code will recall them all the way back to the spot they were last told to stand guard at.

Huge fan of the mod since day 1 and hope to one day see it implemented without any quirks or flaws.

commented

I think this problematic behavior could be fixed by adding something like if a guard is >10 blocks outside of the maximum range from WHERE they were told to STAY, then the code will recall them all the way back to the spot they were last told to stand guard at.

This is already implemented.

I believe what you're seeing is just a side effect of the guards constantly targeting mobs at night. You can try to solve this by limiting the amount of mobs the guards attack in the first place to just mobs like zombies or illagers.

I'll be converting this into a discussion since I think it's better fit for that.