Updated description by @unknown
Steps to reproduce
(These steps are automated in
[media].)
Create an iron golem in a place where it can't move.
Spawn a vindicator and an evoker near the iron golem, so that they target it.
Spawn pillagers behind the vindicator and evoker, so that they target the iron golem but hit the vindicator and evoker when they shoot.
Expected result
Vindicator and evoker continue to target the iron golem, ignoring hits from pillagers.
Actual result
Vindicator and evoker target the pillagers when hit by them.
Note: Code analysis of missing text in vindicator.json and evocation_illager.json provided in this comment.
Original description
When a vindicator or an Evoker is hit with a pillager's arrow it will kill the pillager. However, it does not want to attack any other illagers when they get damaged by them
Linked issues
is duplicated by 6
relates to 3
Attachments
Comments 63
Also if evoker was accidentally injured by pillager. It would fight back and pillager won't care about that . Pillager and Ravager won't fight each other. The Vindicator who named “Johnny” won't attack pillager and ravager
Witches aren't technically an illager because they can be killed by vindicators or evokers (if a witch accidentally throws a potion at the evoker.)
Same with evoker. Evokers kill pillager that acidentally hit it