# Tools

Tools that must be used to break the block in order to make the generator spawn the blocks can be disabled by removing all the items in the array.

```javascript
config.tools = [
	"minecraft:stone_pickaxe",
	"minecraft:iron_pickaxe",
	"minecraft:gold_pickaxe",
	"minecraft:diamond_pickaxe",
	"minecraft:netherite_pickaxe",
]
```

### Example

I want my generator only generate block if the player use diamond pickaxe and iron pickaxe

```javascript
config.tools = [
	"minecraft:diamond_pickaxe",
	"minecraft:iron_pickaxe"
]
```

I want to disable tools so i can use any item to generate custom generator block

```javascript
config.tools = []
```
