NBT Crafting with the "Can Break" tag in the result.
Im trying to modify the diamond axe recipe so that it can let the player break oak logs in adventure mode, but I can't seem to get this to work.
"type": "minecraft:crafting_shaped", "category": "equipment", "key": { "#": "minecraft:stick", "X": "#minecraft:diamond_tool_materials" }, "pattern": [ "XX", "X#", " #" ], "result": { "components": { "minecraft:can_break": { "predicates": [ { "blocks": "#minecraft:oak_logs" } ] } }, "count": 1, "id": "minecraft:diamond_axe" } }```