Tool type

Customize which tool must be used to break the machine block.

The required tool type to break the machine can be defined using the tool_type property.

The machine will still be breakable with other tools or bare hands but it will be much slower and will not drop the machine block unless the requires_tool property is set to false (its contents will still be dropped).

The specified tool type must be a block tag.

You can specify a list of tags to make several tools able to break the machine.

Default : minecraft:mineable/pickaxe

Available values :

  • minecraft:mineable/shovel

  • minecraft:mineable/pickaxe

  • minecraft:mineable/axe

  • minecraft:mineable/hoe

If a mod or a datapack add another tool type tag, it can be used here.

If you want the machine to be breakable by hand (and drop itself) you must put the Requires Tool property to false.

Example

Only axe will be able to break the machine.

"appearance": {
    "tool_type": "minecraft:mineable/axe"
}

Both axe and hoe will be able to break the machine.

"appearance": {
    "tool_type": ["minecraft:mineable/axe", "minecraft:mineable/axe"]
}

Last updated