Place Block
minecraft_place_blockPlaces a block from inventory at specified coordinates, automatically walking within reach and finding a solid surface to place against.
Instructions
Places one block from the bot's inventory at the given world coordinates. Automatically walks within reach first and finds a solid neighboring block to place against. The target coordinates must currently be empty (air) and adjacent to at least one solid block — you can't place a block floating in mid-air.
Returns: { message: string } Errors: item not in inventory, no solid neighbor to place against, or unreachable.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | ||
| y | Yes | ||
| z | Yes | ||
| block_name | Yes | Exact block/item id in inventory, e.g. "oak_planks", "cobblestone", "torch" |