find-block
Locate the nearest block of a specified type within a defined distance in Minecraft, enabling precise navigation and interaction for AI-controlled characters.
Instructions
Find the nearest block of a specific type
Input Schema
Name | Required | Description | Default |
---|---|---|---|
blockType | Yes | Type of block to find | |
maxDistance | No | Maximum search distance (default: 16) |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"blockType": {
"description": "Type of block to find",
"type": "string"
},
"maxDistance": {
"description": "Maximum search distance (default: 16)",
"type": "number"
}
},
"required": [
"blockType"
],
"type": "object"
}