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

Atlas stitches all textures across different namespaces and resource packs

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Invalid
    • None
    • 1.19.3, 1.20.4
    • None
    • Confirmed
    • (Unassigned)

      The Bug:

      When using the directory type source and specifying a certain folder, all textures under the same folder name are stitched to the final atlas. This happens across all namespaces (including the default minecraft namespace) and all resource packs.

      Steps to reproduce:

      1. Download the resource packs attached.
      2. Apply both resource packs.

      Observed behavior:

      From the log, another_custom:entity/bad_texture is stitched to the block atlas even when it is from another resource pack, causing miplevel to drop.

      Expected behavior:

      Only the entity folder of pack 1 is stitched.

      Why it matters:

      Suppose we have a lightweight resource pack (Pack A) and a massive resource pack (Pack B.) Both A and B share the same texture folder "custom", but Pack A uses this folder for item textures, while Pack B uses it for other reasons such as mod resources. Pack B texture would be stitched into the block atlas even though it is not used by block/item models, disrupting the atlas structure (such as the miplevel mentioned above.)

            Unassigned Unassigned
            Ticxo Ticxo
            Votes:
            1 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: