What is the fill command in minecraft
David Ramirez
Updated on March 26, 2026

Fill Command in Minecraft Java Edition (PC/Mac) In Minecraft Java Edition (PC/Mac) 1.13, 1.14, 1.15, 1.16, 1.17 and 1.18, there are 2 syntaxes for the /fill command. To fill a region with a type of block: /fill
There are other answers below:
Fills all or parts of a region with a specific block. Java Edition fill
You want a new, faster way to build large structures. /fill is a simple Minecraft command and a solution to this problem. This wikiHow tutorial will explain how to use /fill and save yourself a ton of time!
Now you need to decide what material you want this huge brick to be made out of. So, continue the command again like this: /fill (first set of coordinates) …
Related Questions
How do I use the/fill command in Minecraft Pocket Edition?
In Minecraft Pocket Edition (PE), there are 2 syntaxes for the /fill command. from is the starting x y z coordinate for the fill region (ie: first corner block). to is the ending x y z coordinate for the fill region (ie: opposite corner block). tileName is name of the block to fill the region. (See Minecraft Item Names) tileData is optional.
How do I use the/fill command?
This /fill command would replace all blocks in the fill region, including air. The replaced blocks will be dropped and can then be collected as if they were mined with a pickaxe or shovel. You will see the message ” 1210 blocks filled ” appear in the lower left corner of the game window to indicate that the fill command has completed.
What does/fill do in Minecraft?
You want a new, faster way to build large structures. /fill is a simple Minecraft command and a solution to this problem. This wikiHow tutorial will explain how to use /fill and save yourself a ton of time! Find a spot to build. An ideal spot would be flat and open with plenty of space.
What is the command to fill a wall in Minecraft?
So, the command should be this: /fill ~ ~ ~ ~ ~20 ~10 stone. In the case you were wondering, a ~ means that the position of the wall is relative to the position of the player or command block executing it.