mojira.dev
MC-114522

Invisible mob / player taking damage is rendered opaque and in wrong order

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

  1. 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}]}
  2. Switch to spectator mode and look at the mob

Linked issues

Attachments

Comments 12

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

2 more comments

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.

marcono1234

(Unassigned)

Confirmed

(Unassigned)

damage, invisible, mob, opaque, player, scoreboard-teams, seefriendlyinvisibles, spectator

Minecraft 1.11.2, Minecraft 17w06a, Minecraft 1.12.1, Minecraft 1.12.2 Pre-Release 1, Minecraft 1.12.2 Pre-Release 2, ..., Minecraft 19w12b, Minecraft 19w13b, Minecraft 19w14a, Minecraft 19w14b, 1.14.4

19w45b

Retrieved