⬛
Advanced
/setblock
Drop a single block at an exact spot — even ones you can't craft.
At a glance
Syntax
Syntax
/setblock <x> <y> <z> <block>commandtargetcoordsvaluerequiredoptional
See it
What it does
Blocks fill the selected region
Anatomy
Every part, explained
- 1
CommandRequired/setblockPlaces one block at a position.
- 2
PositionRequired<x> <y> <z>Where to place it. ~ means 'here'.
- 3
BlockRequired<block>The block id, e.g. stone, chest, command_block.
Your turn
Try it yourself
Playground
5 tokens · press Enter to run
Copy & paste
Examples
/setblock ~ ~ ~ stoneA stone block at your feet.
/setblock ~ ~1 ~ chestA chest right above you.
/setblock 0 64 0 diamond_blockMark the world origin.
Avoid these
Common mistakes
✕
/setblock stone✓
/setblock ~ ~ ~ stoneCoordinates are required — all three of them.
✕
/setblock ~ ~ ~ stones✓
/setblock ~ ~ ~ stoneBlock ids are singular — 'stone'.
Keep going