Skip to content
/craftcmd

Set a Single Block

Place one block at a specific spot

✅ Verified for Java 26.2 · Bedrock 26.32 — checked June 2026

Places 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 ~ ~ ~ stone
21 characters

How to use

  1. Open chat (T on Java, / on Bedrock).
  2. Paste the command and choose your coordinates and block type.
  3. Press Enter — the block appears instantly.
  4. Nothing is dropped or damaged — the block simply replaces whatever was there.

Related commands

Instantly place a chest at a specific location

/setblock ~ ~ ~ chest

Delete a region of blocks by filling it with air

/fill ~ ~ ~ ~10 ~10 ~10 air

Create a hollow room or box out of any block

/fill ~ ~ ~ ~10 ~6 ~10 stone hollow

Create a pool or lake by filling a region with water

/fill ~ ~ ~ ~10 ~ ~10 water

Swap every block of one type for another in a region

/fill ~ ~ ~ ~10 ~10 ~10 stone replace dirt

Copy a region of blocks and paste it somewhere else

/clone ~-5 ~-5 ~-5 ~5 ~5 ~5 ~15 ~-5 ~-5