Xem 14,850
Cập nhật thông tin chi tiết về How To Use The Gamerule Command In Minecraft mới nhất ngày 04/07/2022 trên website Trucbachconcert.com. Hy vọng nội dung bài viết sẽ đáp ứng được nhu cầu của bạn, chúng tôi sẽ thường xuyên cập nhật mới nội dung để bạn nhận được thông tin nhanh chóng và chính xác nhất. Cho đến thời điểm hiện tại, bài viết này đã đạt được 14,850 lượt xem.
--- Bài mới hơn ---
This Minecraft tutorial explains how to use the /gamerule command with screenshots and step-by-step instructions.
You can either set or check the value of a game rule using the /gamerule command in Minecraft. Let’s explore how to use this cheat (game command).
Supported Platforms
The /gamerule command is available in the following versions of Minecraft:
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 inpidually for version history.
Requirements
To run game commands in Minecraft, you have to turn cheats on in your world.
Gamerule 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), pss 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, pss the D-Pad (right) on the controller.
- For PS4, pss the D-Pad (right) on the controller.
- For Nintendo Switch, pss the right arrow button on the controller.
- For Windows 10 Edition, pss the T key to open the chat window.
- For Education Edition, pss the T key to open the chat window.
2. Type the Command
We will cover examples of how to use the /gamerule command to set a gamerule as well as how to see what the current setting is for a gamerule.
Set the Value of a Gamerule
To set the doDayLightCycle gamerule to false and stop time, you would need to type the following command:
/gamerule doDaylightCycle false
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.
You will see the message “Game rule has been updated” appear in the lower left corner of the game window to indicate that the gamerule command has completed.
Check the Value of a Gamerule
In this next example, we will show you how to check the value of a gamerule for your world.
In this example, we want to see what our KeepInventory gamerule is currently set to. This is the gamerule that allows you to keep your inventory after dying.
To check the value of the KeepInventory gamerule, you would need to type the following command:
/gamerule KeepInventory
Type the command in the chat window and pss the Enter key to run the command.
This command would display what the KeepInventory gamerule is currently set to. The value returned is either true or false.
In this example, you will see the message “KeepInventory = false” appear in the lower left corner of the game window. Since the KeepInventory gamerule is set to false, you lose all of your inventory when you die. You can use the gamerule command to set KeepInventory to true to retain your inventory after dying.
Congratulations, you have learned how to use the /gamerule command in Minecraft.
Other Game Commands
You can use other commands and cheats in Minecraft such as:
--- Bài cũ hơn ---
Bạn đang xem bài viết How To Use The Gamerule Command In Minecraft trên website Trucbachconcert.com. Hy vọng những thông tin mà chúng tôi đã chia sẻ là hữu ích với bạn. Nếu nội dung hay, ý nghĩa bạn hãy chia sẻ với bạn bè của mình và luôn theo dõi, ủng hộ chúng tôi để cập nhật những thông tin mới nhất. Chúc bạn một ngày tốt lành!