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

Related issues

Attachments

Comments

migrated
[media][media][media]
migrated

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

migrated

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

migrated

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

Nathan Adams

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.

migrated

Also happens with illusioners.

migrated

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