mojira.dev
MC-233733

Entity hitboxes render in front of block selection outline on transparent blocks like glass and entity-rendered blocks like chests or shulker boxes

The bug

Entity hitboxes are visible behind the edges of shulker boxes and chests.

How to reproduce

  • Have Fabulous Graphics on.

  • Activate entity hitboxes with F3 + B.

  • Put a shulker box behind any entity.

  • Look at shulker box.

          ❌  See how the entity hitboxes can be seen on the edges of the shulker box.

Expected Result

You wouldn't see hitboxes behind shulker boxes.

Linked issues

Attachments

Comments 8

I can confirm that this is an issue. Please note that you must be using the "Fabulous!" graphics setting in order to reproduce this.

I've investigated this issue further and discovered that it's not actually exclusive to shulker boxes. This can in fact be seen with transparent blocks as well such as stained glass, honey blocks, etc... but is more easily seen and reproduced with shulker boxes. What's happening here is that entity hitboxes are rendering above block outlines whilst using the "Fabulous!" graphics setting. Take a look at the attachments I've provided for a closer look.

[media][media]

This also happens with chests and double chests.

[media][media]

Can confirm for 21w05a

Can confirm in 1.18.2 and 22w12a.

Can confirm in 1.19.2.

Can confirm for 23w51b.

user-aa418

[Mod] turbo

(Unassigned)

Confirmed

Gameplay

Low

Debug, Rendering

1.17.1, 21w37a, 21w39a, 21w41a, 1.18, ..., 1.20.4, 23w51b, 1.20.5, 25w02a, 1.21.5

Retrieved