mojira.dev
MC-269085

Experience bar and jump bar render translucent pixels as opaque

Cause of issue is likely to be linked to MC-269083 - would recommend looking into this as well.

The bug

If the experience bar or jump bar is given a texture with translucent pixels, they will be rendered completely opaque in-game. This is in stark contrast to boss bars, as well as just about every other HUD texture - all support translucent pixels.

As of 1.20.5's development, some more UI textures render as opaque, however this results from a bug (MC-268171). As that bug is planned to be fixed, this case should likely be fixed as well, hopefully alongside other UI translucency problems (MC-165182, MC-174732, MC-200987, MC-251303, MC-269083).

How to reproduce

  1. Download and apply the attached resource pack

  2. Look at the experience bar

  3. Summon a wither and look at its boss bar

Expected results

The boss bar would be translucent, and the experience bar would also be translucent.

Actual results

The boss bar is indeed translucent. However, the experience bar is completely opaque.

Linked issues

Attachments

Comments

[Mod] Jingy

The XP's transparency is described in MC-109447, which was resolved as Won't Fix. Not sure if it's a duplicate or not, but I figured I'd mention it.

When I created a transparent GUI resource pack module, I noticed that only the creative player inventory GUI could be made transparent (minus one tab which always stays opaque), not so the Survival Inventory player GUI, and all the other GUIs though; hotbar, health and hunger bar and options/menue can be made transparent, XP bar again not although it's on the same GUI PNG file

muzikbike

Since that ticket mentions many different texture files I'd say it's probably a better idea for each thing to get its own ticket so that we can see what's intended and what's not, especially since the XP bar's behaviour clashes both with all other bars in the game and all other GUI elements.

[Mod] Jingy

That's fair. I can confirm the issue.

muzikbike

eowyn36

Community Consensus

Platform

Low

Rendering

translucency-nonfunctional

1.20.4, 24w09a

24w12a

Retrieved