Place a block
place_blockPlace a block of a given material at coordinates, against an adjacent face. It consumes from the player's inventory or places directly in creative mode, for building and redstone tasks.
Instructions
Place a block of the given material at the coordinates, against the adjacent face. Uses the player's inventory (or places directly in creative mode).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | X coordinate | |
| y | Yes | Y coordinate | |
| z | Yes | Z coordinate | |
| face | No | Block face to place against (e.g. up, north, down) | |
| block | Yes | Material to place, as a lowercase Bukkit material key (e.g. "diamond_sword", "oak_planks") | |
| player | No | Online player name (defaults to the first online player) |