> ## Documentation Index
> Fetch the complete documentation index at: https://docs.borntocraftstudio.net/llms.txt
> Use this file to discover all available pages before exploring further.

# Tool Actions

> Tool and mining enchantment effects.

# Tool Actions

Actions triggered when breaking blocks via `EnchantmentEvent.BLOCK_BREAK`. All actions have the standard ActionEntry fields (`id`, `name`, `criteria`, `modifiers`, `triggers`).

| Action Entry                 | Description                                           | Icon                        | Extra Fields          |
| :--------------------------- | :---------------------------------------------------- | :-------------------------- | :-------------------- |
| `telepathy_action`           | Places mined blocks directly into inventory           | `mdi:brain`                 | None                  |
| `auto_smelt_action`          | Automatically smelts mined blocks with extra XP       | `mdi:fire`                  | None                  |
| `haste_action`               | Passively grants Haste while breaking blocks          | `mdi:lightning-bolt`        | None                  |
| `oxygenate_action`           | Restores breath while breaking blocks underwater      | `mdi:waves`                 | None                  |
| `experience_boost_action`    | Mined blocks drop extra experience                    | `mdi:star-four-points`      | `bonusXp: Int = 5`    |
| `area_miner_action`          | Mines blocks in a 3x3 area around the broken block    | `mdi:grid`                  | None                  |
| `vein_miner_action`          | Mines a vein of connected identical ores              | `mdi:graph`                 | `maxBlocks: Int = 32` |
| `timber_action`              | Chops down an entire tree when breaking one log       | `mdi:tree-outline`          | `maxLogs: Int = 64`   |
| `bedrock_breaker_action`     | Breaks bedrock blocks (requires permission handling)  | `mdi:layers-triple-outline` | None                  |
| `spawners_silk_touch_action` | Drops spawners with silk touch                        | `mdi:spider`                | None                  |
| `magnet_action`              | Attracts nearby dropped items to the player           | `mdi:magnet`                | `radius: Int = 5`     |
| `treasure_hunter_action`     | Bonus loot from mined blocks                          | `mdi:treasure-chest`        | None                  |
| `night_vision_action`        | Grants night vision while underground or in low light | `mdi:eye-outline`           | None                  |
| `indestructible_action`      | Prevents tool from taking durability damage           | `mdi:shield-sword`          | None                  |
| `green_thumb_action`         | Bonemeal effect on crops when near them               | `mdi:sprout`                | `radius: Int = 3`     |

## Example

```json theme={null}
{
  "id": "super_miner",
  "name": "Super Miner",
  "maxBlocks": 64
}
```
