Description
If a crafting_transmute
recipe has an output that is identical to the input, it does not show a result in the output slot when attempting to craft a recipe. This is normally fine, except in the case of crafting_transmute
recipes designed to duplicate items while preserving components. These recipes function normally if there is a single item in the stack of items to be duplicated, but if the count of the input stack equals the count of the output stack, the recipe is disabled.
Steps to Reproduce
The attached datapack has a single recipe, designed to duplicate a nametag while preserving its components:
{
"type": "minecraft:crafting_transmute",
"input": "minecraft:name_tag",
"material": "minecraft:paper",
"result":
{
"id": "minecraft:name_tag",
"count": 2
}
}
If 1 or 3 nametags are placed in the crafting grid with 1 paper, the result is as expected, with 2 nametags in the output:
[media][media]Howver, if exactly 2 nametags are added to the crafting grid, no crafting output is available:
[media]Additionally, if enough ingredients are added to craft the recipe multiple times, and the output is shift-clicked to craft multiple, it only crafts until there are 2 nametags left in the input grid.
Notes
This is probably related to the fix for MC-279257, which presumably changed crafting_transmute
recipes to check if the entire output item stack matches the input item stack before disabling the recipe, instead of just checking the item_id. It seems like this could be fixed by forcing the count of the input item stack to be 1 before making the comparison.
Linked issues
Attachments
Comments 0
No comments.