Cách Tạo Command Block Trong Minecraft / Top 11 # Xem Nhiều Nhất & Mới Nhất 3/2023 # Top View | Hoisinhvienqnam.edu.vn

How To Use The Setblock Command In Minecraft

This Minecraft tutorial explains how to use the /setblock command with screenshots and step-by-step instructions.

You can replace a block with another block using the /setblock command in Minecraft. Let’s explore how to use this cheat (game command).

Supported Platforms

The /setblock command is available in the following versions of Minecraft:

Platform Supported (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, Nintendo Switch, and Windows 10 Edition are now called Bedrock Edition. We will continue to show them individually for version history.

Requirements

To run game commands in Minecraft, you have to turn cheats on in your world.

SetBlock Command

Examples

How to Enter the Command

1. Open the Chat Window

The 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:

For Java Edition (PC/Mac), press the T key to open the chat window.

For Pocket Edition (PE), tap on the chat button at the top of the screen.

For Xbox One, press the D-Pad (right) on the controller.

For PS4, press the D-Pad (right) on the controller.

For Nintendo Switch, press the right arrow button on the controller.

For Windows 10 Edition, press the T key to open the chat window.

For Education Edition, press the T key to open the chat window.

2. Type the Command

In this example, we will replace a block with a birch wood plank using the following command:

/setblock ~1 ~0 ~1 planks 2

Type 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 /setblock command would replace the block at ~1 ~0 ~1 with a birch plank. This is the block that is 1 block East, 0 blocks downward, and 1 block South of where the command is run.

For the replacement block, we use a name of planks and a DataValue of 2 to represent a birch wood plank. See a list of all Minecraft Item Names and DataValues.

You will see the message “Block placed” appear in the lower left corner of the game window to indicate that the setblock command has completed.

Congratulations, you have learned how to use the /setblock command in Minecraft.

Other SetBlock Cheats

You can use other setblock commands in Minecraft such as:

Other Game Commands

You can use other commands and cheats in Minecraft such as:

Góc Chia Sẻ: Cách Xây Nhà Bằng Command Block Cực Đơn Giản.

Ngày càng nhiều bạn trẻ biết đến tựa game sáng tạo Minecraft. Đây chính là tựa game đem lại rất nhiều trải nghiệm cực kỳ mới lạ cho người chơi. Do đó, nhiều bạn trẻ lựa chọn Minecraft cho những giờ phút giải lao, thư giãn. Hôm nay, chúng tôi sẽ giới thiệu cho các bạn cách xây nhà bằng command block trong game Minecraft cực đơn giản.

Giới thiệu về game Minecraft

Nếu bạn đang tìm một tựa game mà tại đó các bạn có thể thoải mái sáng tạo cho riêng mình một khu vực riêng thì Minecraft sẽ là game cực hợp cho bạn. Với game Minecraft, trí sáng tạo của mỗi người chơi sẽ được bung xõa hết sức. Thông thường, để tạo nên kiến trúc, phong cảnh hay những thứ khác trong game thì cần có những mã lệnh để điều khiển.

Command block là gì?

Để có thể nhập được các mã lệnh mang tính chất phức tạp hơn để tạo sự mới lạ, hấp dẫn hơn cho Minecraft thì command block sẽ là công cụ hỗ trợ hiệu quả nhất. Thông thường, command block trong Minecraft được chia thành 3 dạng cơ bản nhất gồm: dạng Impulse, dạng Chain, dạng Repeat.

Dạng Impulse: Đây là một dạng command block có màu cam nổi bật. Dạng này được dùng khi người chơi nhập các khối lệnh đơn.

Dạng Chain: Đây là một dạng command block có màu xanh lá cây. Dạng này có chức năng khá quan trọng là lập trình các chuỗi lệnh được nhập vào.

Dạng Repeat: Đây là một dạng command block có màu tím. Dạng này được dùng khi người chơi muốn nhập các chuỗi lệnh có xu hướng lặp đi lặp lại.

Ngoài ra, nếu bạn muốn sử dụng công cụ command block thì chỉ có thể áp dụng khi đang chơi ở chế độ sáng tạo của game. Ngược lại, khi đang chơi ở chế độ sinh tồn thì công dụng của công cụ command block sẽ không thể áp dụng được.

Cách xây nhà bằng command block trong Minecraft

Cách xây nhà bằng command block Minecraft PE là điều rất nhiều người chơi quan tâm. Đây là một trong những khối lệnh có tính phức tạp cao trong Minecraft. Áp dụng các lệnh command block xây nhà Minecraft PE cũng tốn khá nhiều thời gian. Do đó các người chơi nên lưu mã lệnh xây nhà nhanh trong Minecraft, đây cũng chính là cách xây nhà bằng một khối lệnh.

Khối lệnh về cách xây nhà bằng command block:

/summonFallingSand~~45 ~ {Time:1,Block:command_block,TileEntityData:{Command:”fill ~~1~~~-41~air”},Riding:{id:FallingSand,Time:1,Block:redstone_block,Riding:{id:FallingSand,Time:1,Block:command_block,TileEntityData:{Command:”fill~-14~-32~-11~-12~-40~-11cobblestone”},Riding:{id:FallingSand,Time:1,Block:redstone_block,Riding:{id:FallingSand,Time:1,Block:command_block,TileEntityData:{Command:”fill ~-11 ~-30 ~-14 ~-11 ~-38 ~-12cobblestone”},Riding:{id:FallingSand,Time:1,Block:redstone_block,Riding:{id:FallingSand,Time:1,Block:command_block,TileEntityData:{Command:”fill ~-14 ~-28 ~-15 ~-12 ~-36 ~-15cobblestone”},Riding:{id:FallingSand,Time:1,Block:redstone_block,Riding:{id:FallingSand,Time:1,Block:command_block,TileEntityData:{Command:”fill ~-15 ~-26 ~-14 ~-15 ~-34 ~-12cobblestone”},Riding:{id:FallingSand,Time:1,Block:redstone_block,Riding:{id:FallingSand,Time:1,Block:command_block,TileEntityData:{Command:”fill ~-14 ~-24 ~15 ~-12 ~-32 ~15cobblestone”},Riding:{id:FallingSand,Time:1,Block:redstone_block,Riding:{id:FallingSand,Time:1,Block:command_block,TileEntityData:{Command:”fill ~-11 ~-22 ~12 ~-11 ~-30 ~14cobblestone”},Riding:{id:FallingSand,Time:1,Block:redstone_block,Riding:{id:FallingSand,Time:1,Block:command_block,TileEntityData:{Command:”fill ~-14 ~-20 ~11 ~-12 ~-28 ~11cobblestone”},Riding:{id:FallingSand,Time:1,Block:redstone_block,Riding:{id:FallingSand,Time:1,Block:command_block,TileEntityData:{Command:”fill ~-15 ~-18 ~12 ~-15 ~-26 ~14cobblestone”},Riding:{id:FallingSand,Time:1,Block:redstone_block,Riding:{id:FallingSand,Time:1,Block:command_block,TileEntityData:{Command:”fill ~12 ~-16 ~-11 ~14 ~-24 ~-11cobblestone”},Riding:{id:FallingSand,Time:1,Block:redstone_block,Riding:{id:FallingSand,Time:1,Block:command_block,TileEntityData:{Command:”fill ~15 ~-14 ~-14 ~15 ~-22 ~-12cobblestone”},Riding:{id:FallingSand,Time:1,Block:redstone_block,Riding:{id:FallingSand,Time:1,Block:command_block,TileEntityData:{Command:”fill ~12 ~-12 ~-15 ~14 ~-20 ~-15cobblestone”},Riding:{id:FallingSand,Time:1,Block:redstone_block,Riding:{id:FallingSand,Time:1,Block:command_block,TileEntityData:{Command:”fill ~11 ~-10 ~-14 ~11 ~-18 ~-12cobblestone”},Riding:{id:FallingSand,Time:1,Block:redstone_block,Riding:{id:FallingSand,Time:1,Block:command_block,TileEntityData:{Command:”fill ~12 ~-8 ~15 ~14 ~-16 ~15cobblestone”},Riding:{id:FallingSand,Time:1,Block:redstone_block,Riding:{id:FallingSand,Time:1,Block:command_block,TileEntityData:{Command:”fill ~15 ~-6 ~12 ~15 ~-14 ~14 cobblestone”},Riding:{id:FallingSand,Time:1,Block:redstone_block,Riding:{id:FallingSand,Time:1,Block:command_block,TileEntityData:{Command:”fill ~12 ~-4 ~11 ~14 ~-12 ~11 cobblestone”},Riding:{id:FallingSand,Time:1,Block:redstone_block,Riding:{id:FallingSand,Time:1,Block:command_block,TileEntityData:{Command:”fill ~11 ~-2 ~12 ~11 ~-10 ~14 cobblestone”},Riding:{id:FallingSand,Time:1,Block:redstone_block,Riding:{id:FallingSand,Time:1,Block:command_block,TileEntityData:{Command:”fill ~-10 ~-7 ~-13 ~10 ~-2 ~-13 cobblestone”},Riding:{id:FallingSand,Time:1,Block:redstone_block,Riding:{id:FallingSand,Time:1,Block:command_block,TileEntityData:{Command:”fill ~-13 ~-5 ~-10 ~-13 ~ ~10 cobblestone”},Riding:{id:FallingSand,Time:1,Block:redstone_block,Riding:{id:FallingSand,Time:1,Block:command_block,TileEntityData:{Command:”fill ~-10 ~-3 ~13 ~10 ~2 ~13 cobblestone”},Riding:{id:FallingSand,Time:1,Block:redstone_block,Riding:{id:FallingSand,Time:1,Block:command_block,TileEntityData:{Command:”fill ~13 ~-1 ~-10 ~13 ~4 ~10 cobblestone”} }}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}

Chỉ với một khối lệnh này, các bạn đã có được lệnh xây nhà hiện đại trong Minecraft PE. Ngoài ra, lệnh xây thành phố trong Minecraft, lệnh xây nhanh trong Minecraft, lệnh xây khách sạn trong Minecraft đều tương tự như khối lệnh trên. Do đó, đây chính là khối lệnh nên tải về nhất cho người chơi Minecraft.

How To Use The Effect Command In Minecraft

This Minecraft tutorial explains how to use the /effect command with screenshots and step-by-step instructions.

You can give a player an effect (ie: potion effect) or remove an effect from a player whenever you want using the /effect command in Minecraft. Let’s explore how to use this cheat (game command).

Supported Platforms

The /effect command is available in the following versions of Minecraft:

Platform Supported (Version*)

Xbox 360

No

PS3

No

Wii U

No

* The version that it was added or removed, if applicable.NOTE: Pocket Edition (PE), Xbox One, PS4, Nintendo Switch, and Windows 10 Edition are now called Bedrock Edition. We will continue to show them individually for version history.

Requirements

To run game commands in Minecraft, you have to turn cheats on in your world.

Effect Command

Examples

How to Enter the Command

1. Open the Chat Window

The 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:

For Java Edition (PC/Mac), press the T key to open the chat window.

For Pocket Edition (PE), tap on the chat button at the top of the screen.

For Xbox One, press the D-Pad (right) on the controller.

For PS4, press the D-Pad (right) on the controller.

For Nintendo Switch, press the right arrow button on the controller.

For Windows 10 Edition, press the T key to open the chat window.

For Education Edition, press the T key to open the chat window.

2. Type the Command

We will cover examples of how to use the /effect command to give an effect using both the Effect Name as well as the Effect ID. Also, we will show you how to use the /effect command clear all effects from a player.

Add Effect using Effect Name

Let’s start by showing how to add an effect to a player using an Effect Name.

For example, you could add the strength effect to the player called DigMinecraft with the following command:

/effect DigMinecraft minecraft:strength 45 3

Type the command in the chat window and press the Enter key to run the command.

This /effect command uses a Name value of strength, a duration of 45 seconds, and an amplifier of 3. This will give the player called DigMinecraft the effect of Strength IV for 45 seconds.

The amplifier is used to increase the level of the effect. These are some effect/amplifier combinations for the strength effect so that you can better understand what the amplifier value does in the /effect command.

Once you have entered the command, you will see the message “Given Strength (ID 5) x 3 to DigMinecraft for 45 seconds” appear in the lower left corner of the game window. This indicates that that effect has been given.

The player called DigMinecraft has been given Strength IV for 45 seconds. The game control to view the current effects for your player depends on your version of Minecraft.

For Java Edition (PC/Mac), press the E key to open the inventory menu and you will see the current effects.

For Pocket Edition (PE), you will see buttons for the current effects appear on the right edge of the screen. Just tap on the effect that you wish to view and it will show you the name of the effect and the duration.

For PS3 and PS4, press the Triangle button on the PS controller to open the inventory menu and see your current effects.

For Xbox 360 and Xbox One, press the Y button on the Xbox controller to open the inventory menu to view your current effects.

For Windows 10 Edition, press the E key to open the inventory menu and you will see the current effects.

For Wii U, press the X button to open the inventory menu to see the current effects.

For Nintendo Switch, press the X button to open the inventory menu to see the current effects.

For Education Edition, press the E key to open the inventory menu and you will see the current effects.

See a list of all Minecraft Effects, if you need an Effect ID or Name value.

Add Effect using Effect ID

In the first example, we added an effect to a player using an effect Name (ie: strength). Now let’s show you how to add an effect using the Effect ID.

For example, you could add the Jump Boost effect to the player called DigMinecraft with the following command:

/effect DigMinecraft 8 50 1

This /effect command uses an ID value of 8, a duration of 50 seconds, and an amplifier of 1. This will give the player called DigMinecraft the effect of Jump Boost II for 50 seconds.

The amplifier is used to increase the level of the effect. These are the effect/amplifier combinations for the Jump Boost effect.

Once the cheat has been entered, you will see the message “Given Jump Boost (ID 8) x 1 to DigMinecraft for 50 seconds” appear in the lower left corner of the game window.

The player called DigMinecraft has been given Jump Boost II for 50 seconds.

See a list of all Minecraft Effects, if you need an Effect ID or Name value.

Clear All Effects

You can also use the /effect command to clear all effects from a player.

For example, you could remove all effects from the player called DigMinecraft with the following command:

/effect DigMinecraft clear

Type the command in the chat window and press the Enter key to run the command.

This /effect command will clear all of the effects from the player called DigMinecraft.

Once the cheat has been entered, you will see the message “Took all effects from DigMinecraft” appear in the lower left corner of the game window. This indicates that all effects given to DigMinecraft are now removed.

Congratulations, you have learned how to use the /effect command in Minecraft.

Effect Lists

Find the effect ID or name to use in the /effect command from one of the lists below:

Other Game Commands

You can use other commands and cheats in Minecraft such as:

How To Use The Teleport Command In Minecraft

This Minecraft tutorial explains how to use the /teleport command with screenshots and step-by-step instructions.

You can use the /teleport command to teleport a player or entity to a set of coordinates in the game (see also /tp command). Let’s explore how to use this cheat (game command).

Supported Platforms

The /teleport command is available in the following versions of Minecraft:

Platform Supported (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, Nintendo Switch, and Windows 10 Edition are now called Bedrock Edition. We will continue to show them individually for version history.

Requirements

To run game commands in Minecraft, you have to turn cheats on in your world.

Teleport Command

Examples

How to Enter the Command

1. Open the Chat Window

The 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:

For Java Edition (PC/Mac), press the T key to open the chat window.

For Pocket Edition (PE), tap on the chat button at the top of the screen.

For Xbox One, press the D-Pad (right) on the controller.

For PS4, press the D-Pad (right) on the controller.

For Nintendo Switch, press the right arrow button on the controller.

For Windows 10 Edition, press the T key to open the chat window.

For Education Edition, press the T key to open the chat window.

2. Type the Command

In this example, we will teleport the player named DigMinecraft to the coordinates (-203, 63, 255):

/teleport DigMinecraft -203 63 255

Type 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.

Once the cheat has been entered, the entity will be teleported to the new coordinates.

In this example, DigMinecraft has been teleported to the coordinates (-202.5, 63.0, 255.5).

TIP: The /teleport command may adjust your teleportation coordinates slightly to avoid teleporting you partially inside of an object.

In this example, DigMinecraft was teleported to (-202.5, 63.0, 255.5) even though we entered (-203 63 255) as the destination coordinates.

Congratulations, you just learned how to use the /teleport command in Minecraft!

Other Game Commands

You can use other commands and cheats in Minecraft such as: