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

Effect background texture in inventory renders translucent pixels as opaque

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • 24w12a, 24w33a
    • 1.20.4, 24w09a, 24w10a, 24w12a, 24w13a, 24w14a, 1.20.5 Pre-Release 1, 1.20.5 Pre-Release 2, 24w19b
    • Confirmed
    • Rendering

      The bug

      The texture file used for the background of status effect panels in the inventory screen will render completely opaque if a texture is provided that contains translucent pixels.

      This creates a notable inconsistency with the background texture for status effects used in the top right of the HUD when not in an inventory screen; these handle translucent pixels completely fine.

      The cause of this may be linked to MC-174732; I'd recommend checking out all extant UI texture translucency issues alongside these two (that is: MC-165182, MC-200987, MC-251303, MC-268171, MC-269085)

      How to reproduce

      1. Download and apply the attached resource pack
      2. Have a status effect active
      3. Look at the top right of your screen
      4. Look in your inventory

      Expected results

      The background panel at the top right of the screen would be translucent, and the one in the inventory would also be translucent.

      Actual results

      The background panel at the top right of the screen is indeed translucent. However, the one shown in the inventory is completely opaque.

        1. 2024-03-04_01.45.46.png
          205 kB
          Connor Steppie
        2. 2024-03-04_01.46.36.png
          163 kB
          Connor Steppie
        3. 2024-03-04_01.46.52.png
          98 kB
          Connor Steppie
        4. 2024-03-04_01.47.03.png
          87 kB
          Connor Steppie

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

              Created:
              Updated:
              Resolved:
              CHK: