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

Minecraft generates mipmapped textures for shulker boxes, but does not use them

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 1.21.1, 1.21.2 Pre-Release 1, 24w46a
    • None
    • Community Consensus
    • Textures and models

      Relates to MC-276568 and MC-277447.

      The bug

      When loading the game's resources, Minecraft generates mipmapped textures for all types of shulker box. However, it does not use them at all, wasting game resources.

      How to reproduce

      A resource pack is attached to this ticket.

      1. Download and apply the attached resource pack
      2. /fill ~ ~ ~ ~60 ~ ~60 minecraft:shulker_box
      3. /fill ~ ~ ~ ~60 ~ ~60 minecraft:purpur_block
      4. Compare

      Expected results

      The shulker boxes would fade into a smooth gray in the distance, much like the purpur does.

      Actual results

      No such thing happens and we get incredibly grainy Moire patterns.

      How to fix

      Either make shulker boxes use mipmapping like other blocks (easily doable if MC-276881 gets fixed), or don't generate these mipmapped textures for shulker boxes at all. Several other atlases (gui, map decorations, mob effects, paintings, particles) don't generate mipmapped versions of themselves, so why should shulker boxes if they're not going to be used?

        1. minecraft_textures_atlas_shulker_boxes.png_2.png
          8 kB
          Connor Steppie
        2. minecraft_textures_atlas_shulker_boxes.png_1.png
          27 kB
          Connor Steppie
        3. minecraft_textures_atlas_shulker_boxes.png_4.png
          1 kB
          Connor Steppie
        4. minecraft_textures_atlas_shulker_boxes.png_3.png
          3 kB
          Connor Steppie
        5. minecraft_textures_atlas_shulker_boxes.png_0.png
          88 kB
          Connor Steppie
        6. 2024-10-09_14.22.16.png
          268 kB
          Connor Steppie
        7. 2024-10-09_14.19.23.png
          610 kB
          Connor Steppie
        8. 2024-10-09_14.19.11.png
          633 kB
          Connor Steppie

            Unassigned Unassigned
            muzikbike Connor Steppie
            Votes:
            2 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              CHK: