mojira.dev
MC-279257

crafting_transmute recipes don't give output if the resulting item has the same ID as the input item

Create a new world with the attached data pack installed. Run the following commands to give the player the included recipes:

 

/recipe give @s minecraft:working
/recipe give @s minecraft:broken

The JSON files for these two recipes are identical except for that `minecraft:working` transmutes an iron pickaxe into a golden pickaxe and `minecraft:broken` transmutes a diamond pickaxe into another diamond pickaxe.

The `minecraft:working` recipe works entirely as expected, but the `minecraft:broken` recipe does not yield any result. Even though the recipe shows up in the crafting book, and you can click it to move the crafting ingredients into the crafting table, the recipe yields nothing.

Linked issues

Attachments

Comments 3

Attach a datapack that can be used to reproduce this issue

Can confirm: I tried to make a crafting_transmute recipe in 25w02a that utilized adding Component data onto an item that already had other component data.

The item was able to add the data onto the input as expected, but the output item had to be different. Would be nice if we could keep both the input and output the same!

Might want to clarify in the title "same ID", rather than just "the same"; 100% match is intended to not be accepted (see for example dyeing shulker boxes). The problem is just that there's no "components match" check alongside it.

scheineraustin

gegy

Community Consensus

Platform

Low

Data Packs

25w02a

25w05a

Retrieved