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

Advancement backgrounds repeat incorrectly for non-square images

XMLWordPrintable

    • Confirmed
    • Resource Packs

      The bug

      When an advancement tab's background image is not square, the way it repeats is inversely related to its aspect ratio. I expect the way it repeats to be directly related to its aspect ratio.

      For example, the chain command block side texture is 16x64, or an aspect ratio of 0.25. With "GUI Scale: Normal", the texture repeats every 32px on the x-axis, and 4px on the y-axis. I would expect the texture to repeat on the y-axis every 128px at this scale.

      On a related note, the texture isn't animated, but as far as I'm concerned, that can wait for another day.

      How to reproduce

      1. Download the attached advancement background_test.json and place it in the following directory of your world folder
        datapacks/MC-118354/data/custom/advancements/background_test.json
        
      2. Load the world
      3. Open the advancement GUI and look at the advancement

        1. screenshot-1.png
          screenshot-1.png
          255 kB
        2. background_test.json
          0.3 kB
        3. background_test.json
          0.3 kB
        4. 2017-06-07_09.38.44.png
          2017-06-07_09.38.44.png
          397 kB

            Unassigned Unassigned
            NickNackGus Timothy Southwick
            Votes:
            10 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              CHK: