Build a Glass Box
Create a hollow glass enclosure instantly
✅ Verified for Java 26.2 · Bedrock 26.32 — checked June 2026Creates an 11×6×11 hollow glass box — instant observation dome, mob display case, or greenhouse shell. The hollow keyword builds only the shell and clears the interior, so anything inside stays visible and contained.
/fill ~ ~ ~ ~10 ~5 ~10 glass hollow35 characters
- Java: yes
- Bedrock: yes
- Command block: yes
- Needs cheats / OP: yes
How to use
- Open chat (T on Java, / on Bedrock).
- Move to one corner of the intended box.
- Paste the command and press Enter.
- The glass shell appears with the interior hollowed out.
Related commands
Create 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 ~-5Delete all blocks in a large area quickly
/fill ~-10 ~-2 ~-10 ~10 ~10 ~10 air