The bug
Invisible mobs or players taking damage are rendered opaque and in the wrong order (you can see for example the back of the head in front of the front while looking at the front) if you are in Spectator mode or if you are in the same team and the option seeFriendlyInvisibles
is set to true
.
How to reproduce
Summon an invisible mob which is taking damage
/summon husk ~ ~ ~ {NoAI:1b,ActiveEffects:[{Id:14b,Amplifier:1b,Duration:1200,ShowParticles:0b},{Id:6b,Amplifier:1b,Duration:1200,ShowParticles:0b},{Id:11b,Amplifier:10b,Duration:1200,ShowParticles:0b}]}
Switch to spectator mode and look at the mob
Related issues
relates to
Attachments
Comments

Can confirm for MC 1.12.1.

Confirmed for 1.12.2-pre2
Confirmed for 1.13-pre8
Confirmed for 1.13
Confirmed for 18w30b
Confirmed for 18w31a
Confirmed for 18w32a
Confirmed for 18w33a
Confirmed for 1.13.1-pre1

Seem to be fixed in 19w44a.

Please resolve it.

Confirmed fixed in some 1.15 snapshot.