Fill a Hollow Box (Build a Room)
Create a hollow room or box out of any block
✅ Verified for Java 26.2 · Bedrock 26.32 — checked June 2026Fills an 11×7×11 hollow box of stone starting at your position — walls, floor, and ceiling only, with empty air inside. Change 'stone' to any block type (oak_wood, bricks, etc.) and adjust the offsets for different room sizes. The 'hollow' mode creates only the shell.
/fill ~ ~ ~ ~10 ~6 ~10 stone hollow35 characters
- Java: yes
- Bedrock: yes
- Command block: yes
- Needs cheats / OP: yes
How to use
- Stand at the corner where you want the box to start.
- Open chat (T on Java, / on Bedrock) and paste the command.
- Change 'stone' to your desired block and adjust the offsets.
- Press Enter — an instant room appears.
Related commands
Create 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 ~-5Delete all blocks in a large area quickly
/fill ~-10 ~-2 ~-10 ~10 ~10 ~10 airQuickly fill a region with water
/fill ~-5 ~ ~-5 ~5 ~3 ~5 waterBuild a hollow rectangular frame without solid interior
/fill ~-5 ~ ~-5 ~5 ~4 ~5 stone hollow