This Minecraft tutorial explains how to use the /fill command with screenshots and step-by-step instructions. Show You can fill an area or outline with a particular block using the /fill command in Minecraft. Let's explore how to use this cheat (game command). SubscribeSupported PlatformsThe /fill command is available in the following versions of Minecraft:
* The version that it was added or removed, if applicable. RequirementsTo run game commands in Minecraft, you have to turn cheats on in your world. Fill CommandVolume CalculationYou can use the following calculation to determine how many blocks will be included in the fill region. The formula for volume is: Volume = (Xgreater - Xlesser + 1) x (Ygreater - Ylesser + 1) x (Zgreater - Zlesser + 1)Greater is the larger of the 2 corresponding coordinate values and lesser is the smaller of the 2 corresponding coordinate values. Let's calculate the volume for the following command: /fill ~-5 ~-1 ~-5 ~5 ~-1 ~5 quartz_blockIn this example: Xgreater = 5 Xlesser = -5 Ygreater = -1 Ylesser = -1 Zgreater = 5 Zlesser = -5So our volume calculation would be: Volume = (5 - -5 + 1) x (-1 - -1 + 1) x (5 - -5 + 1) Volume = (11) x (1) x (11) Volume = 121 blocksExamplesHow to Enter the Command1. Open the Chat WindowThe easiest way to run a command in Minecraft is within the chat window. The game control to open the chat window depends on the version of Minecraft:
2. Type the CommandWe will cover examples of how to use the /fill command to cover the ground under you, build a solid structure, build a hollow structure, and mine a large area instantly. Cover the Ground under YouLet's start by showing how to replace a region of blocks that are beneath where you are standing. For example, let's cover the ground below us in a 11x1x11 area with quartz block with the following command: /fill ~-5 ~-1 ~-5 ~5 ~-1 ~5 quartz_blockType the command in the chat window. As you are typing, you will see the command appear in the lower left corner of the game window. Press the Enter key to run the command. This /fill command would replace 121 blocks beneath you with blocks of quartz. You will see the message "121 blocks filled" appear in the lower left corner of the game window to indicate that the fill command has completed. Build a Solid StructureNext, let's look at how to build a solid rectangular structure. Since we are filling a solid structure, we want to make sure that the region is not where we are standing, otherwise we will be stuck inside the fill region. If we avoid combining negative and positive coordinates (and only use positive values for the X and Z coordinates), the structure should be constructed next to us. For example, let's fill a region next to us with blocks of redstone with the following command: /fill ~1 ~0 ~1 ~10 ~10 ~10 redstone_blockType the command in the chat window and press the Enter key to run the command. This /fill command would fill a solid structure of 1100 blocks of redstone right beside us. You will see the message "1100 blocks filled" appear in the lower left corner of the game window to indicate that the fill command has completed. This is a very fast way to build a tower or other large solid structure. Build a Hollow StructureOne of the most powerful uses of the /fill command is to build a hollow structure. This is a quick and easy way to build the frame of a house or shelter. For example, let's build a large hollow cobblestone structure with the following command: /fill ~1 ~-1 ~1 ~10 ~5 ~10 cobblestone 0 hollowType the command in the chat window and press the Enter key to run the command. This /fill command would build a hollow structure where the outer block is made of cobblestone and the inside of the structure is filled with air. You will see the message "380 blocks filled" appear in the lower left corner of the game window to indicate that the fill command has completed. Now if you break the outer layer of the structure, you can see that it is empty and hollowed out on the inside. You can then use this as the frame of your house!! TIP: If you wanted to do this with oak planks, just change the Minecraft ID to planks: /fill ~1 ~-1 ~1 ~10 ~5 ~10 planks 0 hollowA hollow oak planks structure would be a great frame for a house! Mine a Large Area InstantlyOne interesting feature of the /fill command is that you can use this command to quickly mine a large area as big as you want and as deep as you want. For example, let's mine starting 10 blocks deep (-10) up to ground level (-1), that is 5 blocks away from us in all horizontal directions with the following command: /fill ~-5 ~-10 ~-5 ~5 ~-1 ~5 cobblestone 0 destroyType the command in the chat window and press the Enter key to run the 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. All of the mined items would start popping up above the fill region. You can run over and pick up all of these items to add them to your inventory. This is a great way to quickly mine diamonds, iron ore, gold ore, redstone and other valuable items!! The /fill command is very powerful and can be used to quickly create so many structures. Give it a try and see what you can create! Congratulations, you have learned how to use the /fill command in Minecraft. Other Fill CheatsYou can use other fill commands in Minecraft such as: Other Game CommandsYou can use other commands and cheats in Minecraft such as: |