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

Worn pumpkin screen overlay is stretched to window size

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 1.20.4, 1.20.5 Pre-Release 2, 1.20.6 Release Candidate 1
    • Confirmed
    • Rendering, UI

      The bug

      The screen overlay shown when wearing a pumpkin gets stretched to fit the window size. All pumpkins in-game are properly square, so I wouldn't expect them to somehow become rectangular when equipped, and this also looks extremely strange for certain window shapes.

      How to fix

      Render the pumpkin overlay as a square (not a rectangle) in the middle of the screen, scaled up as much as possible so that all of it fits but such that scaling it any further would cause some of it to not fit. For any area not covered, repeat the color of the pixel at the edge of the texture out to the edge of the window as to cover that area.

      I've attached a mockup resource pack that fixes this specifically for the 854x480 default resolution: pumpkin-overlay-stretch-fix-854x480-1.20.5pre2-v1.0.zip

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

              Created:
              Updated:
              CHK: