Minecraft – How to get the power to break blocks without tools in adventure mode

minecraft-commandsminecraft-java-edition

I am making a Minecraft Adventure map that makes use of the CanPlaceOn and CanDestroy tags. For example, here is a command to give a pickaxe that can break diamond ore:

/give @p diamond_pickaxe{CanDestroy:["diamond_ore"]}

What do I do if I want a user to be able to break certain blocks without a tool?

Best Answer

What you have requested is impossible.

Let's look at the Minecraft Wiki page on Adventure Mode:

Adventure mode is similar to Survival in that players receive damage from their environment, dying is possible, and players must manage hunger. However, it is different in many ways as well. In the Java Edition, blocks can be destroyed only with an item/tool that has the CanDestroy NBT tag, and cannot be destroyed by the player's fist. Likewise, blocks require the CanPlaceOn NBT tag to be placed. In Bedrock Edition, similarly, can_destroy and can_place_on NBT tags are required to destroy and place blocks.

Unfortunately, there isn't any way to specify blocks that can always be destroyed even without tools. The best way I would go about this problem is by giving players a tool at the start of the map that can break the block, and tell players not to lose it.