Setting Tool Destruction Acceleration

Here's the translation of the example:

Example

Let's say you want to apply restricted tool level for breaking "coreextensions:1block", "coreextensions:2block", and "coreextensions:3block" using a pickaxe. In this case, you need to modify the "pickaxe.json" file located at "data\minecraft\tags\blocks\mineable" with the following changes:

Create or modify pickaxe.json under data\minecraft\tags\blocks\mineable\:

{
  "replace": false,
  "values": [
    "coreextensions:1block",
    "coreextensions:2block",
    "coreextensions:3block"
  ]
}

Tools:

For different tools, you can apply the same concept:

  • Pickaxe: pickaxe.json

  • Axe: axe.json

  • Shovel: shovel.json

  • Hoe: hoe.json

  • Sword: sword.json

Make sure to adjust the block IDs ("coreextensions:1block", "coreextensions:2block", "coreextensions:3block") and tool type ("pickaxe.json", "axe.json", etc.) according to your specific use case.

Last updated