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

Effect background texture in inventory renders translucent pixels as opaque


    • Icon: Bug Bug
    • Resolution: Unresolved
    • 24w12a
    • 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.

            Unassigned Unassigned
            Awesoman3000 Connor Steppie
            1 Vote for this issue
            0 Start watching this issue