Following the steps:
1. I created datapacks like this.
{{ "type": "minecraft:block", "pools": [ { "rolls": 1, "entries": [ { "type": "minecraft:alternatives", "children": [ { "type": "minecraft:item", "conditions": [ { "condition": "minecraft:match_tool", "predicate": { "enchantments": [ { "enchantment": "minecraft:silk_touch", "levels":
{ "min": 1 }
} ] } } ], "name": "minecraft:campfire" }, { "type": "minecraft:item", "conditions": [
{ "condition": "minecraft:survives_explosion" }
], "name": "minecraft:campfire" } ] } ] } ]}
2. I break a campfire with no silk_touch ,but I got campfire not coal
Please attach the entire data pack as a zip