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

Missing sprite for error in Loom GUI (loom.png)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • 1.20.2 Pre-release 1
    • 23w33a
    • None
    • Confirmed
    • Resource Packs, UI
    • Important
    • Platform

      The bug

      When you try to add more than 6 patterns to a banner in a loom you don't get any error or message.

      However, the Minecraft code can show an icon in the loom GUI when you add a banner with 6 or more patterns (for example, the Ominous banner).

      The problem is that the gui/container/loom.png file does not have the appropiate sprite to show this error.

      This bug exists also in the new 1.20.2 snapshots, because there is not an error sprite in gui/sprites/container/loom directory.

      How to reproduce

      Open the Loom GUI and put the Ominous banner in the first slot (or any banner with 6 patterns).

      Actual behavior

      The GUI does not show any error, but you cannot add more patterns to that banner. See picture "1 without pack error not visible.png"

      Expected behavior

      You should see something like a red X because you cannot add more patterns to than banner. See picture "3 with pack error  visible (red X).png"

      Corrected file

      I have attached a very simple resource pack with only a modified gui/container/loom.png file with an added sprite (Loom Error Demo.zip). I have also attached the file here directly.

      When you use this resource pack and repeat the steps, then you get a red X in the final slot if the banner already has 6 or more patterns.

      Regretly, this correction does not work in the 1.20.2 snapshots.

      Disclaimer

      I think this is a bug and not a change request because the code for using this sprite is already in Minecraft 1.20.1 (and earlier). It is just that the sprite is missing in the texture file.

      I don't know if the code has changed for 1.20.2.

      Sorry, I am not an English speaker. So, please rewrite this description if you think it is necessary for better understanding.

            gegy1000 [Mojang] Gegy
            stargazer stargazer
            Votes:
            5 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: