To give 20 experience levels to the player called DigMinecraft in Minecraft 1.13, 1.14, 1.15, 1.16, 1.17 and 1.18: /xp add DigMinecraft 20 levels. To give 8 experience points to the nearest player: /xp add @p 8 points. To remove 3 experience points from all players: /xp add @a -3 points. To set the experience levels of a random player to 50:
There are other answers below:
Experience Command in Minecraft Java Edition (PC/Mac) In Minecraft Java Edition (PC/Mac), there are different syntaxes depending on whether you would like to add, query or set the experience of a player. To add experience to a player: /experience add
Adds or removes player experience. Java Edition experience add
You need Minecraft 1.0.0 & Single Player Commands to do this!Type this: Xp add 999999999
- Xp Command in Minecraft Java Edition (PC/Mac) In Minecraft Java Edition (PC/Mac) 1.13, 1.14, 1.15 and 1.16, there are different syntaxes depending on whether you would like to add, query or set the experience of a player. To add experience to a player: /xp add <targets> <amount> [levels¦points]
- Similar search: how to add xp in minecraft