This Minecraft tutorial explains how vĩ đại use the /xp command vĩ đại increase your experience points with screenshots and step-by-step instructions.
If you want a quick way vĩ đại gain experience points or even experience levels in the game, you can use the /xp command vĩ đại add as much experience as you need (see also the /experience command). Let's explore how vĩ đại use this cheat (game command).
Bạn đang xem: ep do minecraft
Subscribe
Supported Platforms
The /xp command is available in the following versions of Minecraft:
Platform | Supported (Version*) |
---|---|
![]() | Yes (1.3.1) |
![]() | Yes (0.16.0) |
![]() | No |
![]() | Yes (1.2) |
![]() | No |
![]() | Yes (1.14.0) |
![]() | No |
![]() | Yes (1.5.0) |
![]() | Yes (0.16.0) |
![]() | 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 vĩ đại show them individually for version history.
Requirements
To run rẩy game commands in Minecraft, you have vĩ đại turn cheats on in your world.
Xp Command
- Java
- PE
- Xbox
- PS
- Nintendo
- Win10
- Edu
Xp Command in Minecraft Java Edition (PC/Mac)
In Minecraft Java Edition (PC/Mac) 1.13, 1.14, 1.15, 1.16, 1.17, 1.18, 1.19 and 1.20, there are different syntaxes depending on whether you would lượt thích vĩ đại add, query or mix the experience of a player.
To add experience vĩ đại a player:
/xp add <targets> <amount> [levels¦points]
To query the experience of a player:
/xp query <targets> <levels¦points>
To mix the experience of a player:
/xp mix <targets> <amount> [levels¦points]
In Minecraft Java Edition (PC/Mac) 1.8, 1.9, 1.10, 1.11 and 1.12, there are different syntaxes depending on how much experience you would lượt thích vĩ đại add.
To add experience points vĩ đại a player:
/xp <amount> [player]
To add experience levels vĩ đại a player:
/xp <amount>L [player]
Definitions
- targets or player is the name of the player (or a target selector) that you wish vĩ đại target.
- amount is the amount of experience. If you specify
levels
orL
after the amount (depending on your version of Minecraft), you will add experience levels. Otherwise, you will only add experience points. You can remove experience by entering a negative amount when adding experience vĩ đại a player. - levels is used vĩ đại indicate experience levels.
- points is used vĩ đại indicate experience points.
Xp Command in Minecraft Pocket Edition (PE)
In Minecraft Pocket Edition (PE), there are different syntaxes depending on how much experience you would lượt thích vĩ đại add.
To add experience points vĩ đại a player:
/xp <amount> <player>
To add experience levels vĩ đại a player:
/xp <amount>L <player>
Definitions
- amount is the amount of experience vĩ đại add vĩ đại the player. If you specify
L
after the amount, you will add experience levels. Otherwise, you will only add experience points. You can remove experience by entering a negative amount. - player is the name of the player (or a target selector) that you wish vĩ đại give the experience vĩ đại.
Xp Command in Minecraft Xbox One Edition
In Minecraft Xbox One Edition, there are different syntaxes depending on how much experience you would lượt thích vĩ đại add.
To add experience points vĩ đại a player:
/xp <amount> <player>
To add experience levels vĩ đại a player:
/xp <amount>L <player>
Definitions
- amount is the amount of experience vĩ đại add vĩ đại the player. If you specify
L
after the amount, you will add experience levels. Otherwise, you will only add experience points. You can remove experience by entering a negative amount. - player is the name of the player (or a target selector) that you wish vĩ đại give the experience vĩ đại.
Xp Command in Minecraft PS4 Edition
In Minecraft PS4 Edition, there are different syntaxes depending on how much experience you would lượt thích vĩ đại add.
To add experience points vĩ đại a player:
/xp <amount> <player>
To add experience levels vĩ đại a player:
/xp <amount>L <player>
Definitions
- amount is the amount of experience vĩ đại add vĩ đại the player. If you specify
L
after the amount, you will add experience levels. Otherwise, you will only add experience points. You can remove experience by entering a negative amount. - player is the name of the player (or a target selector) that you wish vĩ đại give the experience vĩ đại.
Xp Command in Minecraft Nintendo Switch Edition
In Minecraft Nintendo Switch Edition, there are different syntaxes depending on how much experience you would lượt thích vĩ đại add.
To add experience points vĩ đại a player:
/xp <amount> <player>
To add experience levels vĩ đại a player:
/xp <amount>L <player>
Definitions
- amount is the amount of experience vĩ đại add vĩ đại the player. If you specify
L
after the amount, you will add experience levels. Otherwise, you will only add experience points. You can remove experience by entering a negative amount. - player is the name of the player (or a target selector) that you wish vĩ đại give the experience vĩ đại.
Xp Command in Minecraft Windows 10 Edition
In Minecraft Windows 10 Edition, there are different syntaxes depending on how much experience you would lượt thích vĩ đại add.
To add experience points vĩ đại a player:
/xp <amount> <player>
To add experience levels vĩ đại a player:
/xp <amount>L <player>
Definitions
- amount is the amount of experience vĩ đại add vĩ đại the player. If you specify
L
after the amount, you will add experience levels. Otherwise, you will only add experience points. You can remove experience by entering a negative amount. - player is the name of the player (or a target selector) that you wish vĩ đại give the experience vĩ đại.
Xp Command in Minecraft Education Edition
In Minecraft Education Edition, there are different syntaxes depending on how much experience you would lượt thích vĩ đại add.
To add experience points vĩ đại a player:
/xp <amount> <player>
To add experience levels vĩ đại a player:
/xp <amount>L <player>
Definitions
- amount is the amount of experience vĩ đại add vĩ đại the player. If you specify
L
after the amount, you will add experience levels. Otherwise, you will only add experience points. You can remove experience by entering a negative amount. - player is the name of the player (or a target selector) that you wish vĩ đại give the experience vĩ đại.
Examples
- Java
- PE
- Xbox
- PS
- Nintendo
- Win10
- Edu
Example in Java Edition (PC/Mac) 1.13, 1.14, 1.15, 1.16, 1.17, 1.18, 1.19 and 1.20
To give đôi mươi experience levels vĩ đại the player called DigMinecraft in Minecraft 1.13, 1.14, 1.15, 1.16, 1.17, 1.18, 1.19 and 1.20:
/xp add DigMinecraft đôi mươi levels
To give 8 experience points vĩ đại the nearest player:
/xp add @p 8 points
To remove 3 experience points from all players:
/xp add @a -3 points
To mix the experience levels of a random player vĩ đại 50:
/xp mix @r 50 levels
To query the experience levels of the nearest player (you can only query one player at a time):
/xp query @p levels
Example in Java Edition (PC/Mac) 1.11 and 1.12
To give 3 experience points vĩ đại the player called DigMinecraft in Minecraft 1.11 and 1.12:
/xp 3 DigMinecraft
To give 7 experience points vĩ đại a random player:
/xp 7 @r
To give 5 experience levels vĩ đại the player called DigMinecraft:
/xp 5L DigMinecraft
To give 12 experience levels vĩ đại all players:
Xem thêm: cách giải phương trình lớp 8
/xp 12L @a
To take away 3 experience levels from a random player:
/xp -3L @r
Example in Pocket Edition (PE)
To give 6 experience points vĩ đại the player called Axe2Grind in Minecraft PE:
/xp 6 Axe2Grind
To give 25 experience levels vĩ đại all players:
/xp 25L @a
To take away 2 experience levels from the nearest player:
/xp -2L @p
Example in Xbox One Edition
To give 5 experience points vĩ đại the player called TheEarthMover in Minecraft Xbox One Edition:
/xp 5 TheEarthMover
To give 30 experience levels vĩ đại all players:
/xp 30L @a
To take away 7 experience levels from a random player:
/xp -7L @r
Example in PS4 Edition
To give 3 experience points vĩ đại the player called DigMinecraft in Minecraft PS4 Edition:
/xp 3 DigMinecraft
To give 25 experience levels vĩ đại all players:
/xp 25L @a
To take away 2 experience levels from the nearest player:
/xp -2L @p
Example in Nintendo Switch Edition
To give 9 experience points vĩ đại the player called DigMinecraft in Minecraft Nintendo Switch Edition:
/xp 9 DigMinecraft
To give 18 experience levels vĩ đại all players:
/xp 18L @a
To take away 4 experience levels from all players:
/xp -4L @a
Example in Windows 10 Edition
To give 15 experience points vĩ đại the player called TheExcavator in Minecraft Windows 10 Edition:
/xp 15 TheExcavator
To give 8 experience levels vĩ đại the nearest player:
/xp 8L @p
To take away 5 experience points from a random player:
/xp -5 @r
Example in Education Edition
To give 4 experience points vĩ đại the player called TheEarthMover in Minecraft Education Edition:
/xp 4 TheEarthMover
To give 30 experience levels vĩ đại a random player:
/xp 30L @r
To take away 4 experience levels from all players:
/xp -4L @a
How vĩ đại Enter the Command
1. Open the Chat Window
The easiest way vĩ đại run rẩy a command in Minecraft is within the chat window. The game control vĩ đại open the chat window depends on the version of Minecraft:
2. Type the Command
We will cover examples of how vĩ đại use the /xp command vĩ đại add experience points vĩ đại a player as well as experience levels.
Add Experience Points
Let's start by showing how vĩ đại add experience points vĩ đại a player.
For example, you could add 3 experience points vĩ đại the player called DigMinecraft with the following command:
/xp 3 DigMinecraft
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 vĩ đại run rẩy the command.
Once the cheat has been entered, the experience points will be added vĩ đại the player's experience bar.
You will see the message "Given 3 experience vĩ đại DigMinecraft" appear in the lower left corner of the game window.
You have now given 3 experience points vĩ đại the player called DigMinecraft.
Add Experience Levels
In the first example, we added experience points. Now let's show you how vĩ đại add experience levels using the /xp command.
When you use the L
attribute with the /xp command, you add experience levels vĩ đại a player. An experience level is one entire bar filled. When you add an experience level, you will see the experience level counter for the player increase.
For example, you could add 5 levels of experience vĩ đại the player called DigMinecraft with the following command:
/xp 5L DigMinecraft
Type the command in the chat window and press the Enter key vĩ đại run rẩy the command.
Before the /xp command is entered, the player is at experience level 2.
Xem thêm: tin học 7 kết nối tri thức
Once the cheat has been entered, you will see the message "Given 5 levels vĩ đại DigMinecraft" appear in the lower left corner of the game window.
Now the experience counter for DigMinecraft has increased from 2 vĩ đại 7 because you have given 5 experience levels vĩ đại this player.
Congratulations, you just learned how vĩ đại use the /xp command in Minecraft!
Bình luận