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

Some empty slot icons render translucent pixels as opaque

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • 24w33a
    • 1.20.4, 24w11a, 24w12a, 24w13a, 24w14a, 1.20.5 Pre-Release 1, 1.20.5 Pre-Release 2, 24w19b
    • Community Consensus
    • Rendering, Resource Packs, Textures and models

      The bug

      If textures used for empty slots contain translucent pixels, it will render these pixels as entirely opaque in-game in some cases. The results are inconsistent, with even the same texture file looking different in different situations.

      This was originally mentioned in MC-109447, a ticket that has since been resolved as Won't Fix. However, MC-269085 was also part of that issue but was reported separately, and has since been fixed by Mojang, so I'm reporting this specific case separately as well (tickets combining a bunch of things together usually aren't good practice these days).

      How to reproduce

      1. Download and apply the attached resource pack
      2. Look in the player's inventory, a loom, a smithing table, an enchanting table, or a tamed llama or horse inventory

      Expected results

      The slot icons would appear translucent, like their textures are.

      Actual results

      Sometimes they are, but it isn't consistent.

      Slot Result
      Player armor slots (Survival) Opaque
      Player offhand slot (Survival) Opaque
      Player armor slots (Creative) Opaque
      Player offhand slot (Creative) Opaque
      Enchanting table lapis lazuli slot Opaque
      Smithing table template slot Translucent
      Smithing table material slot Translucent
      Smithing table input item slot Translucent
      Loom banner slot Opaque
      Loom banner pattern slot Opaque
      Loom dye slot Opaque
      Brewing stand fuel slot Not individually texturable (MC-74408)
      Brewing stand bottle slot Not individually texturable (MC-74408)
      Horse/donkey/mule saddle slot Opaque
      Horse armor slot Opaque
      Llama carpet slot Opaque

      How to fix

      Allow all of these cases to render translucent pixels.

      Further notes

      Since the slot icons are GUI textures and not items, wouldn't it make sense for the ones currently in the item textures directory to be relocated to the GUI sprites directory? Their current placement confuses me and is inconsistent.

      There's other inconsistencies worth noting as well - see MC-265033.

        1. 2024-03-15_07.33.29.png
          2024-03-15_07.33.29.png
          51 kB
        2. 2024-03-15_07.33.36.png
          2024-03-15_07.33.36.png
          64 kB
        3. 2024-03-15_07.33.49.png
          2024-03-15_07.33.49.png
          61 kB
        4. 2024-03-15_07.34.12.png
          2024-03-15_07.34.12.png
          63 kB
        5. 2024-03-15_07.34.20.png
          2024-03-15_07.34.20.png
          68 kB
        6. 2024-03-15_07.36.15.png
          2024-03-15_07.36.15.png
          68 kB
        7. 2024-03-15_07.36.26.png
          2024-03-15_07.36.26.png
          68 kB
        8. 2024-03-15_07.36.37.png
          2024-03-15_07.36.37.png
          68 kB
        9. 2024-03-15_07.36.43.png
          2024-03-15_07.36.43.png
          68 kB
        10. 2024-03-15_07.37.04.png
          2024-03-15_07.37.04.png
          68 kB
        11. 2024-03-15_07.37.19.png
          2024-03-15_07.37.19.png
          68 kB
        12. 2024-03-15_07.37.37.png
          2024-03-15_07.37.37.png
          68 kB
        13. 2024-03-15_07.37.52.png
          2024-03-15_07.37.52.png
          68 kB
        14. 2024-03-15_07.38.07.png
          2024-03-15_07.38.07.png
          68 kB
        15. 2024-03-15_07.38.22.png
          2024-03-15_07.38.22.png
          68 kB
        16. 2024-03-15_07.38.46.png
          2024-03-15_07.38.46.png
          68 kB
        17. 2024-03-15_07.39.06.png
          2024-03-15_07.39.06.png
          69 kB
        18. 2024-03-15_07.39.18.png
          2024-03-15_07.39.18.png
          71 kB
        19. 2024-03-15_07.39.30.png
          2024-03-15_07.39.30.png
          71 kB
        20. 2024-03-15_07.39.42.png
          2024-03-15_07.39.42.png
          71 kB
        21. 2024-03-15_07.39.54.png
          2024-03-15_07.39.54.png
          71 kB
        22. 2024-03-15_07.40.58.png
          2024-03-15_07.40.58.png
          62 kB
        23. 2024-03-15_07.41.05.png
          2024-03-15_07.41.05.png
          71 kB
        24. letter-slot-icons-24w11a-v1.0.zip
          9 kB

            Karaoglu [Mojang] eowyn36
            Awesoman3000 Connor Steppie
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: