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 }] }
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 |