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

Depth information in gui discard when last item in hotbar is plural

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Awaiting Response
    • None
    • 1.19.3, 1.19.4 Release Candidate 2
    • None
    • Unconfirmed
    • (Unassigned)

      Description:
      Depth information and its changes are discarded when last item or item in second hand in hotbar has numbers(is plural).

      Resource packs can change position of gui elements with shaders.
      But when pack changes depth, this change gots unapplied int the above case.

      Tried to change depth with moving z position in vertex shader (used in attached resource pack) and changing gl_FragDepth. Behavior is similar.

      Steps to reproduce:
      0.Start game, start world in survival mode.
      1.Install resource pack from attachement.
      2.Place one item in last and plural item in one of slots before. (second hand is empty)
      ∟2.1.See hearts layering way (it supposed to be layered from left to right in changed version)
      3.Take plural item in second hand or exchange items in slots.
      ∟3.1.See new hearts layering way.

      Expected behavior: layering doesn't change.

      Observed behavior: layering changes from "left to right" to "right to left"(vanilla) way.

      Possible related bugs:
      MC-80110

        1. 2023-03-12_13.20.04.png
          2023-03-12_13.20.04.png
          17 kB
        2. 2023-03-12_13.20.10.png
          2023-03-12_13.20.10.png
          18 kB
        3. 2023-03-12_13.20.15.png
          2023-03-12_13.20.15.png
          21 kB
        4. 2023-03-12_13.20.23.png
          2023-03-12_13.20.23.png
          21 kB
        5. bug_gui.zip
          12 kB
        6. screenshot-1.png
          screenshot-1.png
          19 kB

            Unassigned Unassigned
            DartCat25 Vlad
            Votes:
            4 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: