Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-277202

Differences in the highlight effect of empty slot outlines in the GUI

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 24w40a
    • Windows 11 23H2, Java 21.0.3
    • Unconfirmed

      [Translated using translation software]

      After the update in version 24w39a, which states "Updated slot highlight in the UI so Item texture has better visibility," differences in the outline highlight effect of empty slots occur when hovering over different GUI slots. This is caused by the different layering order between the slot outlines in various GUIs and the game files \assets\minecraft\textures\gui\sprites\container\slot_highlight_back.png and \assets\minecraft\textures\gui\sprites\container\slot_highlight_front.png.

      Through testing, it was found that the empty slot outlines for armor slots and the off-hand slot in the survival inventory, as well as the lapis lazuli slot in the enchantment table, appear above slot_highlight_back.png and below slot_highlight_front.png. Meanwhile, the empty slot outlines in the brewing stand, smithing table, loom, and mount GUI appear below both slot_highlight_back.png and slot_highlight_front.png.

      Attached is a comparison of the empty slot outline highlight effect between version 24w38a and 24w39a (and later versions) without resource packs. Using a custom resource pack that modifies the highlight effect makes the display differences and layering order even more noticeable.

      (Since 24w37a, the above phenomenon can be reproduced using a resource pack that modifies the highlight effect.)

      What I expected to happen was...:
      The highlight effect of empty slot outlines should be consistent and unified, and it might be more reasonable for all outlines to appear below both slot_highlight_back.png and slot_highlight_front.png. This way, some resource packs that modify the highlight effect will no longer make empty slot outlines appear like items.

      What actually happened was...:
      The highlight effect of empty slot outlines is inconsistent.

            Unassigned Unassigned
            Star_02048 Star
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: