misode.github.io icon indicating copy to clipboard operation
misode.github.io copied to clipboard

Stringified JSON text in components is not validated

Open xa31er opened this issue 8 months ago • 3 comments

When generating a new recipe like this: { "type": "minecraft:crafting_shaped", "category": "equipment", "group": "wands", "pattern": [ " X", " # ", "# " ], "key": { "X": { "item": "minecraft:diamond" }, "#": { "item": "minecraft:stick" } }, "result": { "id": "minecraft:carrot_on_a_stick", "count": 1, "components": { "minecraft:custom_model_data": 1, "minecraft:custom_name": "Diamond Wand" } } } The output the generator gives (that text ^^^) doesn't work ingame.

The error is malformed JSON @ the "minecraft:custom_name":"Diamond Wand" line.

Thank you for the help.

xa31er avatar Jun 24 '24 08:06 xa31er