So I was trying to get a wooden pickaxe that can ONLY break bone blocks but whenever I type in the command it says there is an error. Im not sure why and was wondering if anyone could help.
Command: /give @p minecraft:wooden_pickaxe{CanDestroy:["minecraft:bone_block"]} 1
Error message: Error: Unknown item name: minecraft:wooden_pickaxe{CanDestroy:["minecraft:bone_block"]} 1
it also says an error message when I take out the rest of the command ->{CanDestroy:["minecraft:bone_block"]} 1
pls help