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
Spawn a few pillagers
/summon minecraft:pillager
Summon a snow golem
/summon minecraft:snow_golem
→ ✔ They both start to shoot at each other as expected
Wait until the snow golem dies
→ ❌ The pillagers keep shooting at the place the snow golem died
Linked issues
is duplicated by
relates to
Attachments
Comments


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.
Please do not mark unreleased versions as affected.
You don't have access to them yet.