Uploaded image for project: 'Minecraft (Bedrock codebase)'
  1. Minecraft (Bedrock codebase)
  2. MCPE-171938

Trim Pattern and Smithing Trim Recipe not working on Custom Items.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 1.20.20.23 Preview, 1.20.20.22 Preview, 1.20.20.21 Preview, 1.20.20.20 Preview, 1.20.10.24 Preview, 1.20.10.23 Preview, 1.20.0, 1.20.1 Hotfix, 1.20.10, 1.20.11 Hotfix, 1.20.12 Hotfix, 1.20.13 Hotfix, 1.20.30.24 Preview, 1.20.15 Hotfix
    • Community Consensus
    • Multiple
    • 1009249

      New Update! Having to many custom items with the tag "minecraft:trimmable_armors" makes the game to stop loading all the items from the behaviour pack items root folder wich can cause issues with a lot of big add-ons and multiple add-on packs! And items trimmed don't change texture apparence in hand like vanilla ones!

      New Update! Armor trims are working in preview v1.20.30.20/21 the new problem is that the other custom items without the tag disappear. When the tag "minecraft:trimmable_armors" is added in order to get the armor trims functionality the items from add-on which do not use it will not work anymore.

      Update: I think the problem is that we can't use any other material in the recipe and by that I mean only netherite ingot is accepted value. I could be wrong. Anyway that should be changed.

      Creating a custom armor item and using the new tag "minecraft:trimmable_armors" and smithing trim recipe do not apply to or upgrade the item into anything.

      This is the code example for a basic item "copper chestplate":

      {
          "format_version": "1.16.100",
          "minecraft:item": {
              "description": {
                  "identifier": "sp:copper_chestplate",
                  "category": "equipment"
              },
              "components": {
                  "minecraft:max_stack_size": 1,
                  "minecraft:enchantable": {
                      "value": 9,
                      "slot": "armor_torso"
                  },
                  "tag:minecraft:trimmable_armors":{},
                  "minecraft:armor": {
                      "protection": 3
                  },
                  "minecraft:repairable": {
                      "repair_items": [
                          {
                              "items": ["sp:copper_chestplate",
                                  "minecraft:copper_ingot"
                              ],
                              "repair_amount": "query.max_durability"
                          }
                      ]
                  },
                  "minecraft:durability": {
                      "max_durability": 120,
                      "damage_chance": {
                          "min": 60,
                          "max": 100
                      }
                  },
                  "minecraft:icon": {
                      "texture": "sp_copper_chestplate"
                  },
                  "minecraft:creative_category": {
                      "parent": "itemGroup.name.chestplate"
                  },
                  "minecraft:render_offsets": "chestplates",
                  "minecraft:wearable": {
                      "slot": "slot.armor.chest"
                  }
              },
              "events": {}
          }
      }

      Trim Recipe code (from MS documentation): 

      {
       "format_version": "1.17",
       "minecraft:recipe_smithing_trim": {
        "description": {
          "identifier": "sp:smithing_copper_chestplate_quartz_trim"
         },
        
        "tags": [ "smithing_table" ],
        
         "template": "minecraft:wild_armor_trim_smithing_template",
         "base": "sp:copper_chestplate",
         "addition": "minecraft:quartz"
       }
      } 

       

      Steps to reproduce:

      Step 1: Create a custom armor item with the tag "tag:minecraft:trimmable_armors":{}, to allow the item to be placed in the UI of the Smithing Table and to be able to transform it.

      Step 2: Create the recipe with the trim template and (crystal-ingot)color you want.

      Step 3: Test in game.

      Expected result:

      The chosen trim pattern and color given by the item(quartz) should apply to the custom armor piece.

      Observed result:

      The trim pattern is not applied and the result is just the same item(copper chestplate without any upgrades).

      Also one of the template and (quartz) item is consumed to create the armor item.


       

            soripop1234 Sori Pop
            Votes:
            5 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              CHK: