mojira.dev
MC-269083

Effect background texture in inventory renders translucent pixels as opaque

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.

Linked issues

MC-109447 Inconsistency in transparency of GUI PNG files - only some can be transparent + hover-bugs Resolved MC-144009 Particles no longer support translucency Open MC-145821 Stained glass, ice, slime block and other transparent block particles are not transparent anymore Resolved MC-164001 Some textures no longer support transparency Open MC-165036 Boss bars with the notched style are rendered incorrectly if more than one boss bar is active Resolved

Attachments

Comments 0

No comments.

muzikbike

eowyn36

Confirmed

Rendering

translucency-nonfunctional

1.20.4, 24w09a, 24w10a, 24w12a, 24w13a, 24w14a, 1.20.5 Pre-Release 1, 1.20.5 Pre-Release 2, 24w19b

24w12a, 24w33a

Retrieved