In general, mobs will not attack or otherwise harm entities on the same scoreboard team as themselves. However, in addition to Endermen attacking their teammates (which has already been reported), there are other exceptions.
Slimes and Magma Cubes will not target players on their team, but will still damage them upon contact.
Withers will not actively pursue entities on their team, nor will they attack with their main head, but their secondary heads will still fire at teamed entities.
Linked issues
is duplicated by 1
Attachments
Comments 7
Added attachments to show the difference between a wither attacking their teammates and non-teammates
Is this still an issue in the most recent versions (currently that is 1.13, or the latest snapshot 18w31a) of Minecraft? If so, please update the affected versions and help us keeping this ticket updated from time to time. If you are the owner/reporter of this ticket, you can modify the affected version(s) yourself.
Closed as cannot reproduce since it no longer affects withers, and pufferfish are covered by MC-141401.
If other mobs are affected, please create a new ticket for them.
Did you turn friendly fire off?