mojira.dev
MC-213470

Iron Golems can retaliate against villagers

I don't even know what to say here, gentlemen. What a ridiculous oversight! Now, let me explain.

To reproduce

  1. Summon a villager.

  2. Find an iron golem and fly above it.

  3. Summon a snowball with the "Owner" tag matching the villager's UUID.

  4. You have created a monster.

Alternate method:

  1. Spawn a villager with an iron golem above it.

  2. Trigger and then win a raid.

  3. Watch the villager celebrate and fire off fireworks.

  4. When the fireworks explode, the iron golem is hurt and then retaliates.

Linked issues

Attachments

Comments 9

Can confirm in 1.17.1 Pre-release 1.

Can confirm in 1.17.1 Release Candidate 1.

Fireworks from villagers from a raid victory might be affected as well then?

@unknown Correct, that is one of the causes of MC-195326.

Can confirm in 21w38a.

Does this happen in bedrock edition? I don't have bedrock so someone else needs to test it.

Still occurs as of 1.20.4

Still occurs as of 1.21.6.

[media]

Bobby N.

(Unassigned)

Confirmed

Mob behaviour

iron_golem, mob-behavior, mob-infighting, villager

21w03a, 1.16.5, 21w05a, 21w05b, 21w06a, ..., 1.19.3, 1.20.4, 24w04a, 1.21.6, 1.21.7

Retrieved