mojira.dev
MCPE-240719

Using multiple crafting tags on a single recipe may disallow it from appearing in the recipe book

In some situations, having a recipe with multiple tags may cause it not to show up in recipe books. This bug is a bit difficult to break down in full; the demonstration shows an example scenario.

Demonstration

The attached video demonstrates the issue. The recipe is given as follows:

{
  "format_version": "1.26.40",
  "minecraft:recipe_shaped": {
    "description": {"identifier": "bug_crafting:custom_recipe"},
    "tags": ["crafting_table", "bug_crafting:custom_block"],
    "unlock": ["minecraft:rotten_flesh"],
    
    "pattern": [
      "X",
      "X"
    ],
    "key": {"X": "minecraft:rotten_flesh"},
    "result": "minecraft:diamond"
  }
}

Note the custom crafting tag, bug_crafting:custom_block, given via a custom block definition. The video shows the recipe showing in the recipe book for the custom crafting table but not showing up in the recipe book for the Vanilla crafting table.

Reproduction

This example is taken from the behavior pack in the attached world for convenience. This world can be opened (in Minecraft Preview) for inspection or unzipped to access the code associated with such.

Attachments

Comments 1

Thank you for helping us improve Minecraft! We saved your files:

[media][media]

Ciosciaa

(Unassigned)

Unconfirmed

Multiple

26.40.31 Preview

Retrieved