The Vex retaliates against the Evoker when it gets hit by their fangs. This is because Vex are not immune to Evoker's fangs. This is not affected by Evoker's summoned Vexes. This also applies to other Illagers.
Expected Results: The Vex continues to attack its target, ignoring the fang attacks from Evoker.
Observed Results: The Vex retaliates against the Evoker when hit by their fangs.
Reproduce Steps:
1. Spawn an Evoker.
2. Spawn an Villager.
3. Spawn a vex before the Evoker spawns the fangs.
But an alternate way is you can also reproduce this with a Pillager.
Linked issues
Comments 6
@Kingsley Zhang: please do not add comments that duplicate information already on the report. I have warned about this before. If you continue to disregard the bug tracker policies your account could be subject to suspension.
I tested this and found that vexes do not attack their summoning evoker that summoned them when hit by its fangs, but vexes summoned by the player or other evokers will attack a different evoker if hit by them. I think this is default behavior for mobs that have an owner, for example tamed wolves.
Vexes have no filters in their retaliation component:
I do not know if this is different from Java; the wiki does not say anything about vexes attacking illagers or whether they are damaged by fangs.