TransWikia.com

Breaking multiple block types with one tool

Arqade Asked by zerealsendy 4 on July 29, 2021

I’m making a lumber tycoon in minecraft, and I have a command by the press of a button to take money from the player and give the product with the "privilege" to break logs, but it seems to only break oak logs.

The command I am using is: /give @p wooden_axe 1 0 ("minecraft:can_destroy":{"blocks":["log"]}}

How can I make it break all other types of log too?

One Answer

You'll need to pick all of the other wood types: "log" defaults to "oak_log", since oak was the first tree type in the game.

/give @p wooden_axe 1 0 {"minecraft:can_destroy":{"blocks":["oak_log","spruce_log","birch_log","jungle_log","acacia_log","dark_oak_log"]}} should work.

Answered by Corsaka on July 29, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP