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

Empty inventory slot item outlines do not use consistent coloring

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 1.17.1, 21w37a, 21w38a, 1.18.2, 22w12a, 23w31a, 23w33a, 1.20.2, 23w46a, 1.20.4, 23w51b, 24w12a
    • None
    • Confirmed
    • Textures and models

      The bug

      Icons used for empty slots are not all shaded consistently. Multiple different colors can be seen to be used across different such outlines.

      How to reproduce

      Open the following inventories, and note how dark or light certain empty slots are, specifically how they aren't all the same:

      • Player inventory - armor slots, offhand
      • Horse - armor, saddle
      • Llama - carpet
      • Brewing stand - bottles, fuel
      • Enchanting table - fuel
      • Smithing table - all three input slots
      • Loom - all three input slots

      How to fix

      This could be fixed by just retexturing these slots to make the color used consistent.

      [OUTDATED BELOW]

      Attached, however, is a resource pack, which splits off these icons from the inventory panels themselves (as per MC-74408), as well as making them all use the same color scheme as the player's armor slots and offhand do. These icons would be made to be overlaid on these inventory slots, rather than being baked in, to fix issues like them showing up behind items when they shouldn't. All of these icons are moved to minecraft:textures/slot/ (including the five existing inventory icons, which as of 21w37a are still in the items directory, despite not being item textures themselves), and could be compiled into a dedicated texture atlas (minecraft:textures/atlas/slots.png-atlas?) (if the blocks and items atlas isn't sufficient itself).

      Note that the resource pack doesn't make this change fully, and just makes the respective inventory slots blank so that a code change can overlay the newly split sprites.

        1. 2021-09-20_09.36.20.png
          2021-09-20_09.36.20.png
          204 kB
        2. 2021-09-20_09.36.57.png
          2021-09-20_09.36.57.png
          150 kB
        3. 2021-09-20_09.37.05.png
          2021-09-20_09.37.05.png
          141 kB
        4. 2021-09-20_09.37.07.png
          2021-09-20_09.37.07.png
          144 kB
        5. 2021-09-20_09.37.12.png
          2021-09-20_09.37.12.png
          127 kB
        6. 2021-09-20_09.37.35.png
          2021-09-20_09.37.35.png
          215 kB
        7. 2021-09-20_09.37.55.png
          2021-09-20_09.37.55.png
          154 kB
        8. slot-structure-proposal-v1.0.2.zip
          12 kB
        9. slot-structure-proposal-v2.0.0.zip
          11 kB

            Unassigned Unassigned
            Awesoman3000 Connor Steppie
            Votes:
            9 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              CHK: