mojira.dev

Dofes

Assigned

No issues.

Comments

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]