1

Answer me in any way on this website please and in the way i can copy-paste it all. I have already tried doing /give @p minecraft:diamond_pickaxe 1 0 {CanDestroy:["minecraft:stone","minecraft:stonebrick"]} but it doesn't work in java, latest release and snapshot.

1 Answer 1

2

That command only works in Minecraft versions lower than 1.13. This is the command for 1.13+:

/give @p minecraft:diamond_pickaxe{CanDestroy:["minecraft:stone", "minecraft:stone_bricks"], Unbreakable:true}

1.13 changed many of the technical aspects of Minecraft. This was called "The Flattening". For more information see https://minecraft.wiki/w/Java_Edition_1.13/Flattening.

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.