How to Use the Fill Command in Minecraft Bedrock - Prima Games

How to Use the Fill Command in Minecraft Bedrock

Makes building houses much easier!

by Madison Benson
Minecraft Fill Command

Whether you’re playing in survival, creative, or hardcore, building in Minecraft has many uses. The endless possibilities allow you to create nearly any house, farm, or other structures you wish. While building by hand is necessary for some situations, using commands speeds up the process if you know how to use them. Continue reading to learn how to use the Fill command in Minecraft Bedrock Edition.

How to Use the Fill Command in Minecraft Bedrock

Before starting, enable cheats on your world by going into your settings and scrolling down until you find “Activate Cheats.” Doing this allows you to use commands and other cheats while disabling achievements. If you plan on using this command in a command block, be sure to enable command blocks as well in this menu.

Related: Best Minecraft Speedrunning Seeds

When you first type the /fill command ingame, you’ll discover a long string of text with various sections. These tags indicate how you structure your message and what information you must provide for the command to work. Below is a quick summary of this text:

  • /fill (x y z coordinates #1) (x y z coordinates #2) (block) [type] (replace/hollow/destroy/outline/keep) (block #2) [type]

To get a better idea of what these parts mean, read below for descriptions of each section:

  • x y z coordinates: You need two sets of coordinates for any fill command. The first part indicates where your filled blocks will begin, while the second shows where it ends. For example, If you start the line with “/fill 1 10 10 5 10 20, the fill region will span from the coordinates 1, 10, 10 to 5, 10, 20. If you do not have coordinates enabled, head into your world settings and enable “Show Coordinates”.
  • Block #1: The first block in the line describes the block you’re using to fill the area. For example, writing “1 10 10 5 10 20 stone” will fill the defined region with stone. You’ll end the command here if you want to fill the space without changing the block type.

From this point onwards, the extra tags are optional and only required if you need a more advanced command:

  • Type: Necessary if you need a specific block variant. For example, using “stone 1” instead of “stone” will fill the area with granite. Similarly, you can add tags such as “[waterlogged=true]” or “[facing=north]” if you’re using stairs.
  • Replace: Fills the entire space with your specified block. If you do not add this to your command, the command will execute this by default.
  • Hollow: Creates a hollow area in the defined region. While the outside fills with your specified block, the inner space is replaced by air.
  • Destroy: Fills the entire space with your specified block but destroys them in the process. By executing this command, any destroyed blocks will drop to the ground, allowing you to pick them up. Be careful using this in large regions since the dropped items may lag your game.
  • Outline: Replaces the outside blocks of a defined region with your specified block but does not change the inner blocks. Unlike the hollow command, outline does not replace the inner blocks with air unless it is already present.
  • Keep: Replaces any air blocks in the region with the defined block. Any blocks that are not air will not change.
  • Block #2 and Type: Similar to Block #1 and Type, this part defines a second block to use in the command. This is only useful if you want to replace a particular block with another. For example, typing “/fill 1 10 10 5 10 20 stone 0 dirt” will replace every stone block in the region with dirt. This is especially helpful if you accidentally typed in the wrong block and want to undo the error.

In Minecraft Bedrock, the fill command allows you to make considerable changes to your world without placing or breaking blocks by hand. By specifying what block you want to use and how you’re filling the space, you can create the foundation for a house, make a platform or dig out a massive mine. Be careful when using it since you can’t undo the command once you execute it.

Minecraft is available to play on PC, Xbox One, Xbox Series X|S, Nintendo Switch, PlayStation, and mobile devices. For more information about the game, check out How to Recover a Hardcore World and How to Find the Deep Dark Biome.

You may also like