Minecraft – item name/Can Destroy not working

minecraft-commandsminecraft-java-edition

I tried to make shears called Iron Cutters and make it destroy iron_bars but it only gives the name. It doesn't make me destroy iron_bars in adventure mode.

/give @p shears{display:{Name:"\"Iron Cutters\":\"Iron\""},Candestroy:["minecraft:iron_bars"]}

I am on Java edition 1.13, can someone help me?

Best Answer

"Candestroy" is incorrect. Capitalize the "destroy" as to spell "CanDestroy":

/give @p shears{display:{Name:"\"Iron Cutters\":\"Iron\""},CanDestroy:["minecraft:iron_bars"]}