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 hollow- 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
Fill an Area with Water
Create a pool or lake by filling a region with water
Replace One Block Type with Another
Swap every block of one type for another in a region
Clone (Copy) a Structure
Copy a region of blocks and paste it somewhere else
Clear a Region with Air
Delete all blocks in a large area quickly
Fill Area with Water
Quickly fill a region with water
Create Hollow Box (Outline Only)
Build a hollow rectangular frame without solid interior