mojira.dev
MC-137506

Pillager constantly firing into the ground with nothing to agro onto to

The bug

After a pillager was attacking a dog and the dog died, the pillager continued to constantly fire its crossbow at nothing, arrows appearing into the ground. It wouldn't stop, I was in creative mode at the time and there was nothing it was angry at. It just looked around like normal while firing. I expected the pillager would stop firing after the dog died.

How to reproduce

  1. Spawn a few pillagers

    /summon minecraft:pillager
  2. Summon a snow golem

    /summon minecraft:snow_golem

    → ✔ They both start to shoot at each other as expected

  3. Wait until the snow golem dies
    → ❌ The pillagers keep shooting at the place the snow golem died

Linked issues

MC-137853 There is a bug with the pillagers that i think the iron golems had a while back because one of my pillagers is now shooting nothing like the iron golems once did. Resolved MC-137907 pillager shootis nothing Resolved MC-137999 Pillager Crossbow Bug Resolved MC-138031 Johnny pillager Resolved MC-138056 pillager unloading bug Resolved

Attachments

Comments 5

Please do not mark unreleased versions as affected.
You don't have access to them yet.

Please do not mark unreleased versions as affected.
You don't have access to them yet.

Another way to reproduce this bug is to summon a pillager and a snow golem. The Pillager will keep shooting even after the golem is dead.

Edit: tested in 18w43b

We have collectively tried many ways to reproduce this and cannot. It seems likely to me that we fixed the original bug listed here, but that something else looks similar and may be confused as the same issue.

Also happens with illusioners.

Laurie Eaton

Nathan Adams

Confirmed

Mob behaviour

mob_Al, pillager

Minecraft 18w43b, Minecraft 18w47b, Minecraft 18w48a, Minecraft 18w48b, Minecraft 18w49a, ..., Minecraft 19w11a, Minecraft 19w11b, Minecraft 19w12b, Minecraft 19w13b, Minecraft 19w14a

Minecraft 18w45a

Retrieved