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

Title in bossbar breaks HUD opacity

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • 24w12a
    • 1.16.3, 1.20.1, 23w42a, 1.20.4
    • Community Consensus
    • Survival
    • UI

      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

       

        1. 2020-09-25_00.16.57.png
          393 kB
          CycloCy
        2. 2020-09-25_00.17.30.png
          383 kB
          CycloCy
        3. 2020-09-25_00.17.43.png
          384 kB
          CycloCy
        4. 2023-10-18_13-41-54.mp4
          4.36 MB
          Jiingy

            Unassigned Unassigned
            Jingy Jiingy
            Votes:
            7 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: