mojira.dev
MC-218015

Other entities render over invisible endermen's eyes regardless of positions

The Bug

Signs render in front of the eyes of invisible endermen, even if the sign is much further back.

How to reproduce:

  1. Spawn an enderman

  2. Push a boat into him so he won't wander

  3. Stack two blocks behind him and place a sign on top

  4. Look at the enderman and run this command:

    /effect give @e[type=enderman] invisibility
  5. Walk around to position his eyes in front of the sign
    →❌ Notice the sign renders in front of the eyes

Linked issues

Attachments

Comments 4

Can confirm in 21w13a.

This happens with spiders, phantoms and probably ender dragons too.

This also works with the mobs themselves being rendered on top, for example a spider will appear in front of the invisible red spider eyes (but I can't seem to make that happen with an enderman for example, so it looks like they have to be the same mob for this to occur)

muzikbike

(Unassigned)

Confirmed

Rendering

translucency-occlusion

1.16.5, 21w08b, 21w13a, 1.17.1, 1.18.1, ..., 1.18.2, 1.20.1, 1.20.2 Pre-release 2, 1.20.4, 1.20.5

Retrieved