Set a Single Block
Place one block at a specific spot
✅ Verified for Java 26.2 · Bedrock 26.32 — checked June 2026Places a single stone block at your current position (~ ~ ~). Any existing block is replaced — items aren't dropped, just overwritten. Substitute the coordinates (use absolute like 100 64 -200 or relative offsets) and block ID. Useful for instant construction, redstone chains, and map-making.
/setblock ~ ~ ~ stone21 characters
- Java: yes
- Bedrock: yes
- Command block: yes
- Needs cheats / OP: yes
How to use
- Open chat (T on Java, / on Bedrock).
- Paste the command and choose your coordinates and block type.
- Press Enter — the block appears instantly.
- Nothing is dropped or damaged — the block simply replaces whatever was there.
Related commands
Delete a region of blocks by filling it with air
/fill ~ ~ ~ ~10 ~10 ~10 airCreate a hollow room or box out of any block
/fill ~ ~ ~ ~10 ~6 ~10 stone hollowCreate a pool or lake by filling a region with water
/fill ~ ~ ~ ~10 ~ ~10 waterSwap every block of one type for another in a region
/fill ~ ~ ~ ~10 ~10 ~10 stone replace dirtCopy a region of blocks and paste it somewhere else
/clone ~-5 ~-5 ~-5 ~5 ~5 ~5 ~15 ~-5 ~-5