How do I make it so that a wooden axe can break only oak logs on minecraft pocket-edition?

So I play MCPE, and I’ve been trying to figure out how to give someone a wooden axe that can only break oak logs. I’ve been using this:

/give @p wooden_axe 1 0 {can_destroy:”blocks”:[“minecraft:log”]}

but it hasn’t been working, what command should I use?


You need to specify the type of Log. If you want it to only break Oak Logs the command would be /give @p wooden_axe 1 0 {can_destroy:”blocks”:[“minecraft:oak_log”}