Find Nearest Block
minecraft_find_blockFind the nearest matching block by name, returning coordinates and distance. Useful for locating resources like water or diamond ore before mining or navigation.
Instructions
Searches outward from the bot for the nearest block(s) matching a given block name — useful for "find me some water" / "find diamond ore" before navigating or mining.
Returns: { found: boolean, count: number, blocks: [{ x, y, z, name, distance }] }
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"block_name": "<block_name>"
},
"name": "minecraft_find_block"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | No | How many matches to return | |
| block_name | Yes | Exact block id, e.g. "oak_log", "water", "diamond_ore" | |
| max_distance | No |