[MC-1191] Villager AI Problem Created: 29/Oct/12  Updated: 11/Aug/20  Resolved: 09/Jul/14

Status: Resolved
Project: Minecraft: Java Edition
Component/s: None
Affects Version/s: Minecraft 1.4.2, Minecraft 1.5, Minecraft 1.7.4, Minecraft 14w04b, Minecraft 14w05b, Minecraft 14w06a, Minecraft 14w06b
Fix Version/s: None

Type: Bug
Reporter: Michael Koza Assignee: Unassigned
Resolution: Incomplete Votes: 6
Labels: None

Confirmation Status: Unconfirmed
Game Mode: Survival

 Description   

I had 2 zombie villagers trapped in separate rooms of a home while they were being cured. Immediately upon being cured the one villager ran out of the door of the room and into the other room and was promptly eaten despite the zombie villager smashing on the door.

Villagers should at least try to avoid zombies when possible instead of running at them mindlessly.

Additionally, some villagers will run around aimlessly outside at night.



 Comments   
Comment by [Mod] redstonehelper [ 11/Dec/15 ]

Please create a new report for this.

Comment by Jayden [ 11/Dec/15 ]

I can confirm that this still happens in the latest 1.9 snapshot 15w50a. Villagers tend to spend more time watching zombies instead of running away from them (They were in line of sight of the zombies). Although they were safe behind some fence gates, when I would try to attack the zombies, the villagers would often run into my line of sight and be hit instead

Comment by Deleted account [ 09/Jul/14 ]

This ticket is incomplete without the requested information, no response has been received within a reasonable time and we are assuming the issue has been resolved. If you are still experiencing this issue, we can reopen it at your request.

Please review the guidelines before reporting issues.

Comment by Deleted account [ 12/Apr/14 ]

Is this still a concern in the current Minecraft version Minecraft 1.7.8 and Snapshot 14w11b or later? If so, please update the affected versions in order to best aid Mojang ensuring bugs are still valid in the latest releases/pre-releases.

Comment by Omnimetatron [ 11/Feb/14 ]

This is still an issue in 1.7.4 and the 1.8 snapshots. Can easily be replicated by spending a night or two inside a village.

Comment by [Mod] CubeTheThird [ 26/Sep/13 ]

Assuming fixed, due to lack of replies.

Comment by Kumasasa [ 23/Jul/13 ]

Is this still a concern in the current Minecraft version 1.6.2 / Launcher version 1.1.2 ? If so, please update the affected versions in order to best aid Mojang ensuring bugs are still valid in the latest releases/pre-releases.

Comment by Michael Koza [ 14/Mar/13 ]

I still see them running around at night from time to time in the new update.
Additionally, I have a cured villager who refuses to leave the enclosure in which he was cured, despite the gates being open and housing near by

Comment by Tails [ 14/Mar/13 ]

Is this still a concern in the current Minecraft version? If so, please update the affected versions in order to best aid Mojang ensuring bugs are still valid in the latest releases/pre-releases.

Comment by Alexander Spielvogel [ 14/Feb/13 ]

And they fall down from bridges without a fence or anything else at the sides.
I built a small village in the trees of a jungle biome and they are always falling down to places where they are stuck (on trees) and cant move anymore - or fall to death. They should watch their steps more closely.

Comment by Michael Koza [ 02/Nov/12 ]

They also seem to love jumping into open flames.

They should really try to avoid direct harm.

Comment by Talven81 [ 29/Oct/12 ]

Part of this may be able to be reproduced. I have noticed that if you spawn a villager during the night that they do not make checks to see if it is night time. What you would expect is a villager to be spawned, and within a few ticks it would do something like:

Pseudo Code
if(isNight=true){
  seekShelter }

However this can also happen with pre-spawned villagers. Something makes me think when night falls that the AI does not receive the night trigger, or process the code telling them to take shelter, and does not check for night on a regular basis.

Comment by Leon [ 29/Oct/12 ]

I have the same problem. My villagers go in the middle of the night out of her house.

Generated at Sun Jan 12 11:53:37 UTC 2025 using Jira 9.12.2#9120002-sha1:301bf498dd45d800842af0b84230f1bb58606c13.