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

Textures for empty slots do not support translucent pixels

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • 24w33a
    • 1.20.4, 1.20.5 Pre-Release 1, 1.20.5 Pre-Release 2, 24w19b
    • Confirmed
    • Rendering, Resource Packs, Textures and models

      More loosely relates to these issues: MC-144009 MC-145821 MC-164001 MC-165403

      The bug

      If textures used for empty slots are given translucent textures, they will incorrectly render as opaque in-game.

      This concerns standalone sprites for empty slots - in most cases, the slots are baked into the UI texture (see MC-165182).

      Affected slots

      1. slot.png (used in Statistics and in superflat customization)
      2. Bundle slots
      3. Donkey/mule/llama chest slots

      The saddle, armor and carpet slots used for horses, donkeys, mules, llamas and camels are also affected by this issue, but this specific case is covered under MC-269445. Making the slot item outline its own texture, and then baking the actual slot shape into the UI texture file (one for each mob), would fix MC-265033 and MC-270530.

      How to reproduce

      1. Download and apply the attached resource pack
      2. Enter the statistics item menu, the superflat customization menu, a donkey/mule/llama's UI or mouse over a bundle
      3. Observe

      Expected results

      Translucent slots.

      Actual results

      Entirely opaque.

        1. 2024-04-12_19.52.38.png
          2024-04-12_19.52.38.png
          340 kB
        2. 2024-04-12_19.52.50.png
          2024-04-12_19.52.50.png
          392 kB
        3. 2024-04-12_20.02.57.png
          2024-04-12_20.02.57.png
          92 kB
        4. 2024-04-12_20.20.48.png
          2024-04-12_20.20.48.png
          210 kB
        5. 2024-04-12_20.20.59.png
          2024-04-12_20.20.59.png
          206 kB
        6. empty-slot-translucency-1.20.5pre1-v1.0.zip
          3 kB

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

              Created:
              Updated:
              Resolved:
              CHK: