{
    "format_version": "1.20.50",
    "minecraft:item": {
        "description": {
            "identifier": "custom:convert_coal_item",
            "menu_category": {
                "category": "equipment"
            }
        },
        "components": {
            "minecraft:icon": {
                "texture": "diamond"
            },
            "minecraft:cooldown": {
                "category": "alchemy",
                "duration": 2
            },
            "minecraft:block_placer": {
                "block": "minecraft:diamond_ore",
                "use_on": [
                    "coal_block",
                    "grass"
                ],
                "replace_block_item": true
            }
        }
    }
}