Cách dùng lệnh fill trong minecraft


--- Bài bắt đầu hơn ---

This Minecraft tutorial explains how to use the /fill commvà with screenshots & step-by-step instructions.

Bạn đang xem: Cách dùng lệnh fill trong minecraft

You can fill an area or outline with a particular block using the /fill comm& in Minecraft. Let’s explore how to use this cheat (game command).

*
Subscribe

Supported Platforms

The /fill commvà is available in the following versions of Minecraft:

PlatformSupported (Version*)

*
Xbox 360

No

*
PS3

No

*
Wii U

No

*
Education Edition

Yes

* The version that it was added or removed, if applicable.

NOTE: Pocket Edition (PE), Xbox One, PS4, Nintenvị Switch, & Windows 10 Edition are now called Bedrochồng Edition. We will continue khổng lồ show them inpidually for version history.

Requirements

To run game commands in Minecraft, you have sầu lớn turn cheats on in your world.

Fill Command

Volume Calculation

You can use the following calculation lớn determine how many blocks will be included in the fill region.

The formula for volume is:

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_block

In this example:

So 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 blocks

Examples

How to lớn Enter the Command

1. xuất hiện the Chat Window

The easiest way khổng lồ run a command in Minecraft is within the chat window. The game control khổng lồ open the chat window depends on the version of Minecraft:

For Java Edition (PC/Mac), pss the T key to lớn open the chat window.For Pocket Edition (PE), tap on the chat button
*
at the top of the screen.For Xbox One, pss the D-Pad (right)
*
on the controller.For PS4, pss the D-Pad (right)
*
on the controller.For Nintenbởi Switch, pss the right arrow button
*
on the controller.For Windows 10 Edition, pss the T key lớn open the chat window.For Education Edition, pss the T key lớn open the chat window.

2. Type the Command

We will cover examples of how khổng lồ use the /fill commvà lớn cover the ground under you, build a solid structure, build a hollow structure, and mine a large area instantly.

Cover the Ground under You

Let’s start by showing how to lớn 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 bloông chồng with the following command:

/fill ~-5 ~-1 ~-5 ~5 ~-1 ~5 quartz_block

Type the command in the chat window. As you are typing, you will see the commvà appear in the lower left corner of the game window. Press the Enter key to lớn run the comm&.

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 khổng lồ indicate that the fill comm& has completed.

Build a Solid Structure

Next, let’s look at how khổng lồ 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 stuchồng inside the fill region.

Xem thêm: Tổng Hợp Cách Đánh Lô Hàng Ngày Chính Xác Nhất, Lụm Tiền Đều Tay

If we avoid combining negative sầu và positive coordinates (& only use positive sầu values for the X and Z coordinates), the structure should be constructed next to us.

For example, let’s fill a region next lớn us with blocks of redstone with the following command:

/fill ~1 ~0 ~1 ~10 ~10 ~10 redstone_block

Type the command in the chat window & pss the Enter key lớn run the command.

This /fill comm& 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 khổng lồ indicate that the fill comm& has completed.

This is a very fast way lớn build a tower or other large solid structure.

Build a Hollow Structure

One of the most powerful uses of the /fill commvà is to lớn build a hollow structure. This is a quick and easy way khổng lồ 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 hollow

Type the comm& in the chat window và pss the Enter key khổng lồ run the comm&.

This /fill commvà would build a hollow structure where the outer bloông chồng is made of cobblestone & 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 & hollowed out on the inside. You can then use this as the frame of your house!!

TIP: If you wanted to vị this with oak wood planks, just change the Minecraft ID to planks:

/fill ~1 ~-1 ~1 ~10 ~5 ~10 planks 0 hollow

A hollow oak wood plank structure would be a great frame for a house!

Mine a Large Area Instantly

One interesting feature of the /fill comm& is that you can use this command to lớn 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 lớn ground màn chơi (-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 destroy

Type the commvà in the chat window & pss the Enter key to lớn run the command.

This /fill commvà would replace all blocks in the fill region, including air. The replaced blocks will be dropped và can then be collected as if they were mined with a pickaxe cộ 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 commvà has completed. All of the mined items would start popping up above sầu the fill region. You can run over và pick up all of these items to add them khổng lồ your inventory.

This is a great way to quickly mine diamonds, iron ore, gold ore, redstone and other valuable items!!

The /fill commvà is very powerful & can be used khổng lồ quickly create so many structures. Give it a try and see what you can create!