🧱
Advanced
/fill
Place a whole rectangle of blocks at once — instant walls and floors.
At a glance
Syntax
Syntax
/fill <from> <to> <block>commandtargetcoordsvaluerequiredoptional
See it
What it does
Blocks fill the selected region
Anatomy
Every part, explained
- 1
CommandRequired/fillFills the box between two corners.
- 2
FromRequired<from>First corner, e.g. ~ ~ ~.
- 3
ToRequired<to>Opposite corner, e.g. ~5 ~5 ~5.
- 4
BlockRequired<block>What to fill with. Use 'air' to delete.
Your turn
Try it yourself
Playground
8 tokens · press Enter to run
Copy & paste
Examples
/fill ~ ~ ~ ~5 ~5 ~5 stoneA 6×6×6 cube of stone.
/fill ~-2 ~ ~-2 ~2 ~ ~2 glassA flat glass platform.
/fill ~ ~ ~ ~5 ~5 ~5 airErase a region into thin air.
Avoid these
Common mistakes
✕
/fill ~ ~ ~ stone✓
/fill ~ ~ ~ ~5 ~5 ~5 stoneYou need two corners (six coords) before the block.
✕
/fill ~ ~ ~ ~50 ~50 ~50 stone✓
/fill ~ ~ ~ ~30 ~30 ~30 stoneFill caps at 32,768 blocks per command.
Keep going