The Bug
I summoned a evoker riding a ravager, when the evoker attacks with fangs, the fangs can hurt the ravager, but the evoker's fangs won't hurt other raider normally, the ravager is a raider too, so I think evoker shouldn't hurt it.
And according to Minecraft logic, if the fangs have no source(owner), it could have hurt any types of illager or raider. This ticket is about the fangs whose the source(owner) is evoker
How to reproduce:
Summon a ravager ridden by a evoker.
/summon minecraft:ravager ~ ~ ~ {Passengers:[{id:evoker}]}
Summon a NoAI iron golem in mid air and make sure that ravager can see but can't attack the iron golem.
/summon minecraft:iron_golem ~ ~ ~ {NoAI:1}
→ ❌ The ravager go under the iron golem and the evoker will try to attack the iron golem with fangs, but the fangs will hurt the ravager.
Confirmed for 19w13b.
The ravager's texture appears under the "illager" folder, implying that it is an illager. So, evocation fangs are not supposed to hurt them, but they do atm.