Mojira Archive
MC-200987

Title in bossbar breaks HUD opacity

Any HUD icons made to be transparent using a resource pack will have full opacity when a bossbar with a "name" value is visible to the player.

Steps to Reproduce:

  1. Enable the Bug Testing.zip resource pack attached
  2. Create a boss bar
     /bossbar add opacity Opacity "Name" 
  3. Make the bossbar visible to the player (Note the opacity of HUD icons)
     /bossbar set minecraft:opacity players @p 
  4. Modify the bossbar to have an empty name (Note new opacity)
     /bossbar set minecraft:opacity name "" 

Observed Results:

Once the bossbar is made visible to the player, the opacity of all HUD icons will be changed to full.

Expected Results:

The HUD icons would preserve their opacity no matter what the bossbar's name is set to.

Screenshots/Videos:

No bossbar:
2020-09-25_00.16.57.png
Bossbar, no name set:
2020-09-25_00.17.30.png
Bossbar, name set:
2020-09-25_00.17.43.png
Video:
2023-10-18_13-41-54.mp4

Notes:

This affecst the following:

  • All icons in the 'heart' directory
  • Both air.png & air_bursting.png
  • All 'hunger' related icon images
  • All 'armor' related icons

 

Fixed

[Mod] Jiingy

CycloCy

2020-09-25, 07:26 AM

2024-04-15, 11:36 AM

2024-03-20, 08:40 PM

7

4

Community Consensus

UI

bossbar, hud, rendering

1.16.3, 1.20.1, 23w42a, 1.20.4

24w12a