Download Article
Download Article
Everyone hates long, boring days where the only thing to do is lay out a road or roof. Isn’t Minecraft supposed to be fun? If you want a new, faster way to build large structures, /fill is a simple Minecraft command that can solve this problem. This wikiHow tutorial will explain how to use /fill and save yourself a ton of time!
Using the Fill Command in Minecraft
Type /fill into the chat. Make sure you include the forward slash or the command won't work. Then, type the coordinates of the starting and ending squares of the area that you want to fill. You can only use this command to build squares or rectangles.
Steps
-
1Find a spot to build . An ideal spot would be flat and open with plenty of space.
- You can technically build anywhere and use /fill to flatten the land out.
- Know that the /fill command can only build squares or rectangles.
-
2Press the F3 key on your keyboard once you’ve found your spot. This will show you the coordinates of your position in the game. Look for the X, Y, and Z coordinates.
- You will be inputting these coordinates into the /fill command.
- You can also pull up your coordinates by pressing the FN and F3 keys at the same time.
Advertisement -
3Go to one of the corners of the rectangle you plan to create using the /fill command. This will be one of your “endpoints” in the command. Write down the coordinates of the block on which you are standing, as this is the first part of your rectangle.
-
4Go to the opposite corner of the rectangle you wish to create. For example, if you’re on standing at the bottom left corner, walk to the top right corner.
- You could also do this with a cube. For example, if you’re standing at the back top left corner, move to the front bottom right.
-
5Begin typing the command. First, type /fill into the chat. The forward slash is required to make the command work. Next, type the XYZ coordinates you wrote down previously. Next, type the XYZ coordinates of the block on which you are standing now.
- You can also do /fill <first set of coordinates> ~ ~ ~ <block> to fill from the first set to where ever you are standing without manually inputting coordinates.
- <block> is a stand-in for what you’re going to do in the next step. Don’t type it in the command. Don’t submit the command yet either.
-
6Choose a block to fill the area. Press F3 and H at the same time on your keyboard. Now you can see the Block IDs. Select your block from the creative menu. Go into your inventory and hover over the block you desire. Under the block's name, there should be something in gray text that says "yourobject". Replace "yourobject" with the ID of the block you wish to place.
- You can also type "minecraft:" and then hit tab until you see your block. You can type the first few letters of your block (like you would while searching for it in the creative inventory) and hit tab to narrow down the search.
-
7Consider using optional modifiers. These modifiers include:
- hollow: makes the inside of the rectangle hollow
- replace: replaces all blocks of one type in the area with another, ie /fill <set 1> <set 2> minecraft:diamond_block replace minecraft:clay
- destroy: not only replaces all blocks, but breaks them and turns them into items you can pick up as if they were mined)
- keep: fills air and leaves blocks inside the rectangle unaffected
- outline:outlines the blocks already placed with the block you choose
-
8Observe the picture above. It is an example combining all of the previous information.
- This is an example of a correctly typed command. Be sure to have the /fill, the two sets of coordinates, and the block you wish to use.
- Example typed: /fill -299 64 -110 -334 79 -138 minecraft:diamond_block
Advertisement
Community Q&A
Search
-
QuestionIs this possible to do in Education Edition?PuppyDog123ABCCommunity AnswerYes, you can do this in any edition unless you type the wrong coordinates.
-
QuestionDoes this work on Bedrock Edition?PuppyDog123ABCCommunity AnswerYes, it does.
-
QuestionHow do I remove blocks using commands?PuppyDog123ABCCommunity AnswerType "/fill x y z air" then it will be gone! (Don't type the speech marks.)
Ask a Question
200 characters left
Include your email address to get a message when this question is answered.
Submit
Advertisement
Video
Tips
- If the chat box is blocking the coordinates, press F3 + D to clear the chat.Thanks
- If you have a hard time remembering coordinates, you can type the first set into chat or the command and return to them with the up arrow key to see them again.Thanks
- When reading the coordinates, the read X as east/west, Y as up and down, and Z as north/south.Thanks
Submit a Tip
All tip submissions are carefully reviewed before being published
Name
Please provide your name and last initial
Thanks for submitting a tip for review!
Advertisement
Warnings
- The maximum number of blocks you can replace at once is 32768.Thanks
- Only let trusted people use this command. Someone with bad intentions can fill an area with air or TNT to erase your builds or damage the world.Thanks
- Do not summon large amounts of liquid or blocks with animation—like seaweed—unless you are sure your computer can handle that.Thanks
- You cannot undo your mistakes, so be very careful when you type the coordinates.Thanks
Advertisement
About This Article
Thanks to all authors for creating a page that has been read 269,187 times.
Reader Success Stories
- "Thanks, because I always fill manually, and it is annoying."
Advertisement