setblock
Set a block at exact coordinates with replace, destroy, or keep modes to control block placement.
Instructions
Place a block at a specific position with optional mode.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | Target X coordinate | |
| y | Yes | Target Y coordinate | |
| z | Yes | Target Z coordinate | |
| mode | No | setblock mode (default replace) | |
| block | Yes | Minecraft block id/state string |