Jump to content
  • 0

Can_break


Awkward

Question

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

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

  • 0

It should work like this:

/give @p minecraft:diamond_pickaxe 1 0 {CanDestroy:["minecraft:stone","minecraft:stonebrick"]}

If you have the plugin 'Essentials' installed, you will have to run the command 'minecraft:give' instead of just 'give'.

For quicker and easier assistance, join the discord server where there is a channel dedicated to Command Block help, https://discord.gg/minehut

Support  July 29, 2020 → November 3, 2020

► Helper November 3, 2020 → February 22, 2021

► Moderator February 22, 2021 → May 17, 2021

 I might not always respond to forum dms, however I am always contactable on discord (mig#0069)

Screen Shot 2020-03-20 at 5.23.33 pm.png

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...