[MC-2491] Iron Golem AI Pathfinding Bug Created: 08/Nov/12  Updated: 30/Jan/14  Resolved: 28/Jul/13

Status: Resolved
Project: Minecraft: Java Edition
Component/s: None
Affects Version/s: Minecraft 1.4.2, Minecraft 1.7.4
Fix Version/s: None

Type: Bug
Reporter: Vasil Bochev Assignee: Unassigned
Resolution: Invalid Votes: 1
Labels: None
Environment:

Windows 7, 64x, Java 64x
Both are updated, sorry that I can't provide more detailed information


Attachments: PNG File 2012-11-08_14.09.25.png     PNG File 2012-11-08_14.09.41.png     PNG File 2012-11-08_14.23.14.png     PNG File 2012-11-08_14.25.56.png     PNG File 2012-11-08_15.14.41.png     PNG File 2012-11-08_15.17.58.png    
Issue Links:
Duplicate
is duplicated by MC-46296 iron golems collide with each other Resolved
CHK:
Confirmation Status: Unconfirmed

 Description   

NOTICE FOR MODS
I will be unable to play Minecraft for several months so if you could transfer the report to some other user, it'd be great.

What I expected to happen was...:
Golems would walk around narrow passages/go around each other.

What actually happened was...:
Golems would walk continuously in one direction regardless of the fact that they cannot pass because it is too narrow/there is another golem.

Steps to Reproduce:
1. Make a dense settlement
2. Wait for one or more golems to spawn or make some
3. Observe them walking into

On the 1st screenshot the left golem wants to go right but the one to the right wants to go left and they just bump each other indefinitely. The 3rd golem is just walking against the wall.

On the 2nd screenshot the right golem wants to go next to the house, but the one under the tree is admiring it and doesn't bulge.

On the 3rd the two golems are trying to walk in opposite directions through each other.

On the 4th the three golems cannot cross the fence and just keep bumping into it (they spawned there, the town is big enough to support 20+ golems)

On the 5th it's an example of a golem trying to walk through a house and a villager trying to go next to the golem.

On the 6th there are 3 golems trying to walk through the fence without realizing that there is an opening on the other side. About 30-40 sec later, they turned around and successfully walked out.



 Comments   
Comment by MisterSanderson [ 29/Jan/14 ]

Still present in 1.7.4.

Comment by Tails [ 28/Jul/13 ]

This site is for bug reports only. Feature and improvement suggestions are not currently being tracked here.

Comment by Markku [ 23/Feb/13 ]

Similar problems apply to actually any and all AI controlled entities. They simply are not aware of each other's intentions. For example, villagers can often swarm a single door simultaneously, each and every one of them as eagerly trying to get in or out, and thus nobody gets anywhere.

The case of golems walking against fences can be a real bug with pathing; they should realize they can not get through it and thus should find a suitable path in the first place. However, if they only move to the fence and then stop (and stand), that is normal; all mobs can randomly pick a target place to go that is in a location they can not get (or find a path to), in which case they try to move as close to the target as possible.

Comment by Vasil Bochev [ 05/Feb/13 ]

I will need to test it out again and will post update maybe tomorrow; I have exams to study for at the moment.

Comment by Tails [ 05/Feb/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.

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