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

Brewing stand sprites do not scale as expected when scaling behaviour is defined via mcmeta files

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 1.20.4, 24w14a, 1.20.5 Pre-Release 1
    • None
    • Plausible
    • (Unassigned)

      Relates to MC-269935, MC-270259, MC-270520 and MC-270565.

      The bug

      If .mcmeta files are used to define how the bubbles, arrow and fuel textures used inside brewing stand inventories scale with size changes, unexpected and unsightly results follow.

      How to reproduce

      1. Download and apply the attached resource packs individually
      2. Brew stuff

      Expected results

      • For "stretch", the square texture would stretch to accommodate the current level of progress/bubbles/fuel.
      • For "tile", the square texture would repeat to accommodate the current level of progress/bubbles/fuel.
      • For "nine_slice" we'd get a similar result to "tile", but only the center would repeat and there would be a continuous border.

      Actual results

      • For "stretch", the texture is pre-stretched and then truncated to indicate progress/bubbles/fuel.
      • For both "tile" and "nine_slice" we get the behaviour we'd previously expected for "stretch" - the texture stretches to fit the progress/bubbles/fuel.

      How to fix

      Make these use the scaling correctly. (For tile and nine_slice, it may be worth including a json parameter to indicate that the tiling occurs from the bottom up for bubbles, rather than the top down as it does for the progress.)

      Alternatively, since there aren't many frames, there could be a different sprite for each progress/bubble/fuel level, which would be cycled through.

            Unassigned Unassigned
            Awesoman3000 Connor Steppie
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              CHK: