> For the complete documentation index, see [llms.txt](https://nexoaddon.gitbook.io/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://nexoaddon.gitbook.io/docs/mechanics/miningtools.md).

# MiningTools

MiningTools mechanic.

Allows you to destroy Custom Blocks or only drop Custom Blocks drop using specified list of Nexo Items and Vanilla Materials.

<figure><img src="https://4179595020-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FCKPUSq10oq4Caxl6Izvn%2Fuploads%2Fgit-blob-c6b50c9193f8280448b83660aad085851808d39a%2Fminingtools.gif?alt=media" alt="" width="640"><figcaption></figcaption></figure>

{% hint style="info" %}
`items` option is required!
{% endhint %}

### Mine custom blocks with specified items

```yaml
# Example

Mechanics:
  custom_block:
    type: NOTEBLOCK
    custom_variation: 6
    model: test_block
    drop:
      silktouch: false
      loots:
      - nexo_item: test_block
        probability: 1.0
    miningtools:
      type: CANCEL_EVENT        # Optional: CANCEL_EVENT or CANCEL_DROP if tool is not in list below (default: CANCEL_EVENT)
      items:
      - forest_sword            # Nexo item
      - PAPER                   # Vanilla Material
```
