mojira.dev
MC-70877

Iron Golem AI Issues

I'm seeing some strange behavior in summoned Iron Golems. It seemed like the ones I'd summoned/created were being overwhelmed and killed too easily while I wasn't there to see what happened, so I added the Invulnerable data tag to two new summons. One of them has been staring at a patch of grass adjacent a building for a day solid, ignoring zombies that approach him until the sun eventually burns them up. The other just paces an area no longer than 3 blocks despite having the clearance to move, basically spinning in a circle, though he at least attacks enemies that approach him. I know a lot of improvements were made to mob AI, but it seems pretty buggy in Iron Golems at the moment.

Comments 3

Leaving the chunk for a while and returning seems to have fixed the 3-block pacing. That Golem now walks the entire length of his accessible area on patrol. The one that stopped to stare at the floor for two day-night cycles has also resumed his less purposeful wandering(he doesn't patrol so much as meander, frequently stopping to stand around for long periods). Not sure if this was a natural occurrence due to the complexity of mob AI or if anyone else has had issues with Iron Golems behaving strangely, but the high casualty rate in 1.8 makes me wonder if their enemy detection is off, or if something else in their AI distracts them at critical moments, making them more likely to stand and stare than attack nearby threats.

Is this still an issue in the current Minecraft Snapshot 15w46a 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.

Ticket resolved as incomplete, because no answer in a reasonable amount of time (1+ year), if it still happens, please update the ticket.

Christopher Carrig

(Unassigned)

Unconfirmed

Minecraft 1.8

Retrieved