Iron golems will occasionally attack creepers, causing them to explode. The golem will then continue to try and attack the space where the creeper was. Unloading the chunk will fix their behavior. The golem is probably not 'receiving credit' for the kill when the creeper explodes, so they continue to attack.
This behavior applies to all mobs with the "new" AI that are capable of attacking (skeletons, zombies, wolves, witches). Basically in an infight if one mob dies the "killer" will still try to attack the empty spot where the mob died.
Linked issues
is duplicated by 31
relates to 1
Attachments
Comments 24
Ok, update. Spawned a magma cube next to iron golem, which it hit as expected, it then turned around and walloped one of the creepers it had previously ignored.
I have also seen the iron golems kill a zombie and then get stuck swinging the air over the place where the zombie died until I relogged (=reloaded the chunk). So it seems to be a bug where the iron golem somehow does not 'get notified' that the mob actually died already.
I'd never seen this glitch before 1.5, now my iron golems are doing it basically every time they attack something =/
Just to confirm this is happening across two different clients/worlds for us. It started with 1.5, shock horror, golems stuck in the attack cycle will not do anything else even when attacked. Thus dying at the hands of skeletons.
I've noticed that if a skeleton kills you, if you don't click "Respawn" he will continue to shoot at the spot you died.
Strange. 1.4.2 change log indicates:
Iron Golems
Now attack creepers, Slimes and Magma Cubes
Attached couple of screenshots where I couldnt get them attacking creepers at all, yet they go to town on spiders and slimes.