The Bug:
Entities, semi-transparent blocks, and blocks with special renderers do not render behind the name tags of sneaking players.
Steps to Reproduce:
Place down a large wall of honey blocks.
Get a player to stand in front of them.
Get the player to sneak and look closely at their nametag.
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
is duplicated by 60
relates to 4
Attachments
Comments 23
@unknown, that is MC-167532 and as such I have removed the attachments from your comment from this ticket.
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.
This is happening because name tags render to the main output target, making name tags output to another output target seems to fix the issue when using improved transparency option.
The comment above from 20 Jan 2025 is an unrelated issue, but seems to happen (not 100% sure, but confident) because the background of name tags get rendered with a depth (which then in turn becomes the Z axis) of -0.01. That issue gets more obvious when using the text background everywhere accessibility option with a high background opacity.
Also Banner name when on the edge of the map causes map next to it not to render in that part