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

Items with trim patterns always display the same pattern in the inventory

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Works As Intended
    • None
    • 23w04a
    • None
    • Confirmed
    • Items, Textures and models

      When adding a custom trim pattern with a data pack and resource pack, the entity armor model looks correct, but the inventory item always uses the sentry pattern, with no way to change this.

      How to reproduce

      1. Download and enable the attached data pack and resource pack
      2. Open a new world (/reload doesn't work for trim patterns)
      3. Give yourself an armor piece with the new Stripes pattern, either by using sticks as template in a smithing table, or with this command:
        /give @s minecraft:iron_chestplate{Trim:{pattern:"example:stripes",material:"minecraft:redstone"}}
        
      4. Notice that the armor model is renderer correctly, but the inventory item has the wrong pattern.

        1. image-2023-01-24-23-52-24-005.png
          image-2023-01-24-23-52-24-005.png
          36 kB
        2. javaw_DYFZBHLwEI.png
          javaw_DYFZBHLwEI.png
          33 kB
        3. javaw_o86csQguCW.png
          javaw_o86csQguCW.png
          121 kB
        4. Stripes_pattern_DP.zip
          0.9 kB
        5. Stripes_pattern_RP.zip
          2 kB

            Unassigned Unassigned
            Misoloo [Helper] Misode
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: