Minecraft

How to Use the Fill Command in Minecraft

Playing Minecraft can give rise to such immense and great ideas in the mind, let’s say crazy, that making them is a real undertaking. There is a tool that can lighten the work a lot in these cases: it is the / fill command. Through it, in fact, if you get a little familiar with the exact calculation of the volumes you want to create, whether they are full structures, hollow buildings or large excavations, you can create gigantic works in an instant! In this guide I’ll explain how to do it in a few simple steps. Let’s start!

  1. Open the Chat Window

First, open the chat window: to do this select the following commands depending on the version of Minecraft you are playing with:

  • Java Edition: press the “T” key to open the chat window.
  • Pocket Edition: tap on the chat button  at the top of the screen.
  • Xbox One: press the D-Pad (right)  on the controller.
  • PS4: press the D-Pad (right)  on the controller.
  • Nintendo Switch: press the right arrow button  on the controller.
  • Windows 10 Edition: the “T” key to open the chat window.
  • Education Edition:  the “T” key to open the chat window.

  1. Type commands on the chat window

Through the chat windows you can set commands to do many things: build on the ground, raise buildings, hollow structures, dig instantly. Now I’ll explain step by step how to do it. First calculate the volume area following this formula:

Volume = (Xgreater – Xlesser + 1) x (Ygreater – Ylesser + 1) x (Zgreater – Zlesser + 1)

Greater is the larger of the two corresponding coordinate values, lesser is the smaller of the two corresponding coordinate values.

Simple example:

Xgreater = 6    Xlesser = -3

Ygreater = -1   Ylesser = -1

Zgreater = 6    Zlesser = -3

So the volume is:

Volume = (6 – -3 + 1) x (-1 – -1 + 1) x (6 – -3 + 1)Volume = (10) x (1) x (10)

Volume  = 100 blocks

Finally the command is:

/fill ~-3 ~-1 ~-3 ~6 ~-1 ~6 sand_block

OPTION 1: Cover the Ground

For cover the ground use the formula above to calculate area and volume then enter this command: (following the previous calculated area example)

/fill ~-3 ~-1 ~-3 ~6 ~-1 ~6 sand

OPTION 2: Build a Structure

First the region must not be where we are in this case, otherwise we will get stuck inside it, so we must avoid combining negative and positive coordinates by using only positive values ​​for the X and Z coordinates. For example, let’s fill a region next to us with iron blocks with the following command:

/fill ~1 ~0 ~1 ~10 ~10 ~10 iron_block

If you want to have a hollow structure then enter this command:

/fill ~1 ~-1 ~1 ~10 ~5 ~10 granite hollow

OPTION 3: Mine Instantly

In this case just use this command:

/fill ~-5 ~-10 ~-5 ~5 ~-1 ~5 granite destroy

The message “1210 blocks filled” will appear in the lower left corner of the game window. Now you can collect all these items and add them to your inventory. Isn’t it fantastic?