mojira.dev
MCPE-191386

The addition item in the Smithing Transform Recipe is hardcoded to only allow minecraft:netherite_ingot, despite the fact that addons can define custom items with the minecraft:transform_materials tag.

The recipe system currently enforces a strict check that only allows minecraft:netherite_ingot as the addition item in Smithing Transform Recipes. However, addons can create custom items and assign them the minecraft:transform_materials tag. Despite this, the game does not recognize these custom-tagged items as valid additions.

This contradicts the intended flexibility of the tag system, where tagged items should be automatically accepted if they match the required tag. The check should be adjusted to allow any item with the minecraft:transform_materials tag instead of hardcoding minecraft:netherite_ingot.

Smithing Transform Recipe Documentation

Expected Behavior

  • Any item with the minecraft:transform_materials tag should be valid as the addition item.

  • The hardcoded check for minecraft:netherite_ingot should be replaced with a dynamic check for the tag.

Linked issues

Attachments

Comments 3

Hello and thank you for your report!
Could you provide us with a reproduction steps that we can use to reproduce this issue?
This will help us in evaluating this bug!

Steps to Reproduce

  1. Create a custom item with minecraft:transform_materials tag

    • Save the following as test_item.json in /behavior_packs/your_addon/items/:

    {
      "format_version": "1.20.80",
      "minecraft:item": {
        "components": {
          "minecraft:icon": {
            "textures": {
              "default": "apple"
            }
          },
          "minecraft:tags": {
            "tags": [
              "minecraft:transform_materials"
            ]
          }
        },
        "description": {
          "identifier": "testaddon:test",
          "menu_category": {
            "category": "items",
            "group": "itemGroup.name.items"
          }
        }
      }
    }
  2. Create a Smithing Transform Recipe using the custom item

    • Save this as test_smithing.json in /behavior_packs/your_addon/recipes/:

    {
    	"format_version": "1.12",
    	"minecraft:recipe_smithing_transform": {
    	 "description": {
    	   "identifier": "testaddon:test_smithing_table_recipe1"
    	  },
    	 
    	 "tags": [ "smithing_table" ],
    	 
    	  "template": "minecraft:netherite_upgrade_smithing_template",
    	  "base": "minecraft:diamond_axe",
    	  "addition": "testaddon:test",
    	  "result": "minecraft:netherite_axe"
    	}
    }
  3. Load the addon in Minecraft: Bedrock Edition

    • Use /give @s test:test

    • Try placing testaddon:test in the Smithing Table as addition.

Expected Behavior

  • Any item with minecraft:transform_materials should be valid as addition.

Actual Behavior

  • Only minecraft:netherite_ingot is accepted, despite the documentation stating the tag should be used.

Issue

  • The check hardcodes netherite_ingot instead of using the tag, making transform_materials meaningless for addons.

  • This restriction serves no purpose and should be removed to allow proper addon support.

[media]

Hi!

Can you please record and upload a video showcasing the issue with visible appropriate repro steps?

This ticket will automatically reopen when you reply.

Dofes

(Unassigned)

Plausible

Multiple

1.21.80.20 Preview, 1.21.62 Hotfix

Retrieved