mojira.dev
MC-304539

Slot highlights are always visible over GUI text

After recent changes to slot highlights they are always rendered over GUI text. While this is not a problem in most cases, servers that rely on custom fonts to display a custom GUI background now have a less cohesive experience as empty slots covered by the custom background get highlighted too. I’m reporting this as a bug since it worked differently up to 1.21.3 1.21.6, highlighting only the opaque pixels of a sprite over the custom font instead of the whole slot.

Steps to reproduce

  • Join a server using custom fonts to display custom GUI background and features (i.e. Wynncraft or Origin Realms)

  • Open a menu with a custom GUI background

  • Hovering any slot will highlight the whole slot

Expected result

No slot highlight is visible except for the opaque pixels of the item. Hovering an empty slot shows no highlight.

image-20251125-164453.png

Actual result

The whole slot is highlighted, even if it’s an empty one.

image-20251125-165608.png

Linked issues

Attachments

Comments 1

Thank you for your report!
We're tracking this issue as MC-299417, so this ticket is being resolved and linked as a duplicate.

That ticket has already been resolved as Won't Fix, which means this is considered a bug but won't be fixed. The description of that ticket or the comments might explain the rationale. Please do not leave a comment on the linked ticket.

If you haven't already, you might like to make use of the search feature to see if the issue has already been mentioned.

Quick Links:
πŸ““ Bug Tracker Guidelines – πŸ’¬ Community Support – πŸ“§ Mojang Support (Technical Issues) – πŸ“§ Microsoft Support (Account Issues)
πŸ““ Project Summary – ✍️ Feedback and Suggestions – πŸ“– Game Wiki

RickySHD

(Unassigned)

Unconfirmed

(Unassigned)

1.21.10

Retrieved