block of charcoal datapack issue
so i made a datapack to make 9 charcoal into a coal block named Block of Charcoal, but i cant figure out how to make that item back into 9 Charcoal without it making every regular coal block also turn them back into charcoal instead of coal.
i tried setting some tags but never worked
{ "type": "minecraft:crafting_shaped", "pattern": [ "ccc", "ccc", "ccc" ], "key": { "c": { "item": "minecraft:charcoal" } }, "result": { "id": "minecraft:coal_block", "count": 1, "components": { "minecraft:custom_name": "{\"text\":\"Block of Charcoal\",\"italic\":false}" } } }{ "type": "minecraft:crafting_shapeless", "ingredients": [ { "item": "minecraft:coal_block" } ], "result": { "id": "minecraft:charcoal", "count": 9 } }