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

Difficulty lock button renders translucent pixels as opaque

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • 24w33a
    • 1.20.4, 24w11a, 24w12a, 24w13a, 24w14a, 1.20.5 Pre-Release 1, 1.20.5 Pre-Release 2, 24w19b
    • Confirmed
    • Rendering, Resource Packs, Textures and models

      The bug

      If the difficulty lock button is given a texture with translucent pixels, it will render these pixels as entirely opaque in-game, which is inconsistent with all other buttons, which support translucent pixels just fine.

      How to reproduce

      1. Download and apply the attached resource pack
      2. Look at the options menu

      Expected results

      The difficulty lock button would not be a solid colour and would have a defined border and translucent center like all the other buttons do.

      Actual results

      The button is completely solid.

      How to fix

      Either allow the difficulty lock button to use translucent pixels, or separate the lock texture from the button texture and render them separately (this was what was done to fix MC-192307).

            Karaoglu [Mojang] eowyn36
            Awesoman3000 Connor Steppie
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: