-
Bug
-
Resolution: Awaiting Response
-
None
-
1.19.51
-
None
-
Unconfirmed
-
Multiple
In a shaped crafting recipe, if multiple tags (i.e. ["crafting_table", "my_table"]) are specified, that recipe only appears in the "Craftable" list (left panel) for one of the specified "tags" (AKA crafting blocks).
- The recipe is still craftable by manually placing the ingredients in the crafting grid, but it does not appear in the preview, and is thus difficult to discover.
- This repros regardless of the "format_version" specified for the recipe.
- The ordering of the tags appears to be irrelevant, because the same tag will take precedence, regardless of which is first.
- This is similar to another unpatched bug, where recipes for custom blocks do not appear in the "Craftable" panel.
- That bug did not affect items, so the mitigation was to craft a block-placer item. This bug affects blocks and items.
- A possible workaround is to have two entirely separate recipe files for each incompatible tag. But why use an array/list of tags if only one is supported?
- Example: this crafting recipe previously worked with the crafting table (when it was the only tag) but when I added a second tag (mystic_table) the recipe no longer appears in the crafting table.
- See this addon or the below code for repo.
{
"format_version": "1.18",
"minecraft:recipe_shaped": {
"description": {
"identifier": "magic:home_terminus_spawner"
}, "tags": [
"mystic_table",
"crafting_table"
],
"pattern": [
"",
" Y",
"XXX"
],
"key": {
"X": {
"item": "minecraft:obsidian"
},
"Y": {
"item": "magic:enchanted_totem"
}
},
"result": {
"item": "magic:home_terminus_spawner"
}
}
}