mojira.dev
MC-162693

Entities, semi-transparent blocks, and blocks with special renderers do not render behind the name tags of sneaking players

The Bug:

Entities, semi-transparent blocks, and blocks with special renderers do not render behind the name tags of sneaking players.

Steps to Reproduce:

  1. Place down a large wall of honey blocks.

  2. Get a player to stand in front of them.

  3. Get the player to sneak and look closely at their nametag.

  4. Take note as to whether or not entities, semi-transparent blocks, and blocks with special renderers render behind the name tags of sneaking players.

Observed Behavior:

Entities, semi-transparent blocks, and blocks with special renderers do not render behind the name tags of sneaking players.

Expected Behavior:

Entities, semi-transparent blocks, and blocks with special renderers would render behind the name tags of sneaking players.

Linked issues

MC-167450 Water does not render behind a nametag when a player is sneaking Resolved MC-167592 rendering bug Resolved MC-168631 Player Names clip entities when crouching Resolved MC-168745 Username label not transparent when staying in front of water while croaching Resolved MC-168975 Chest Rendering Improperly Resolved

Attachments

Comments 22

Naten Klokkentoren

Also Banner name when on the edge of the map causes map next to it not to render in that part

[media]

Includes signs and chests.

Naten Klokkentoren

Also #2: When inside of banner

@unknown, that is MC-167532 and as such I have removed the attachments from your comment from this ticket.

this also happens when behind a painting held by signs

12 more comments

Confirmed 1.18

Can confirm 23w44a

Confirmed in 24w37a

I can confirm that this bug is still present in version 24w40a.

NoLongerBoosted

At the same time some blocks, items and particles render over the background of nametags/renamed items in item frames/scoreboard... but not over the text (I don't know if this is a bug) 

It's really easy to see if you change Text Background to Everywhere and change Text Background Opacity to 100%.

So far the blocks it happen to render over background that I know of are:

  • Heads and all variants

  • Glass and glass panes and all variants

  • Signs and all variants

  • Hanging signs and all variants

  • Beds 

  • Banners

  • Item frames

  • Bell (only the Bell)

  • Decorated pots and all variants

  • Minecarts and all variants

  • Conduit

  • Chests and all variants

  • Beacon (only the ray)

  • Mobs (only the ones spawned with spawn eggs, weird!)

  • Dropped items

  • Particles ❓

  • Others ❓

There is another thing, when a player is sneaking near other players/nametags, it kinda blinks other nametags at the same time, but I was on a third party server, so it need further testing.

Raven WolfTiger

Avoma

(Unassigned)

Confirmed

Platform

Important

Rendering

19w40a, 1.15.1, 1.15.2 Pre-release 2, 1.15.2, 20w06a, ..., 24w37a, 24w40a, 1.21.3, 1.21.4, 1.21.5

Retrieved