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-195985 Chests don't render behind the name tag of a crouching player Resolved MC-275956 After sneaking, the player's nameplate can see through water, item frames, and fluorescent item frames Resolved MC-266041 NameTag makes water transparent when shifted Resolved MC-263354 see through mobs Resolved MC-262437 Transparent blocks not visible through crouched playernames Resolved

Attachments

Comments 22

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.

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

Can confirm 23w44a

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

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