Minecraft How To Cheat Commands In Game
Minecraft cheats are largely achieved via Minecraft commands, a series of little codes and phrases you can use to change the game in useful ways. The way players use console commands for PC is simple. All you have to do is open the chat window in your game, and then type “/” plus your command. And there are loads of ways to modify most Minecraft commands. Nope, not a “cheat”. To use a Minecraft command or cheat, all you need to do is hop into your Minecraft game and tap the “/” key to open up the console. Every command in Minecraft must start with a “/”, but using this shortcut will automatically add the “/” prefix so you can just start typing the command you want to use. List of cheats and commands in Minecraft: Pocket Edition Clear items from a player’s inventory. A full day in Minecraft is 24000 game ticks, which is equivalent to 20 minutes real life time. Given below is a detailed list of all Commands in Minecraft. 1 List of Commands 1.1 ability 1.2 alwaysday 1.3 clear 1.4 clone 1.5 connect 1.6 deop 1.7 difficulty 1.8 effect 1.9 enchant 1.10 execute 1.11 fill 1.12 function 1.13 gamemode 1.14 gamerule 1.15 give 1.16 help 1.17 immutableworld 1.18.
- Minecraft Commands: The Working Minecraft Cheats You Need To ..
- Minecraft How To Cheat Commands In Game Mode
- Minecraft Commands Pc
- Commands For Minecraft Mobile
This Minecraft tutorial explains how to use the /xp command to increase your experience points with screenshots and step-by-step instructions.
If you want a quick way to gain experience points or even experience levels in the game, you can use the /xp command to add as much experience as you need (see also the /experience command). Let's explore how to use this cheat (game command).
Supported Platforms
The /xp command is available in the following versions of Minecraft:
Platform | Supported (Version*) |
---|---|
Java Edition (PC/Mac) | Yes (1.3.1) |
Pocket Edition (PE) | Yes (0.16.0) |
Xbox 360 | No |
Xbox One | Yes (1.2) |
PS3 | No |
PS4 | Yes (1.14.0) |
Wii U | No |
Nintendo Switch | Yes (1.5.0) |
Windows 10 Edition | Yes (0.16.0) |
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.
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 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:
To query the experience of a player:
To set the experience of a player:
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 like to add.
To add experience points to a player:
To add experience levels to a player:
Definitions
- targets or player is the name of the player (or a target selector) that you wish to 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 to a player. - levels is used to indicate experience levels.
- points is used to 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 like to add.
To add experience points to a player:
To add experience levels to a player:
Definitions
- amount is the amount of experience to add to 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 to give the experience to.
Xp Command in Minecraft Xbox One Edition
In Minecraft Xbox One Edition, there are different syntaxes depending on how much experience you would like to add.
To add experience points to a player:
To add experience levels to a player:
Definitions
- amount is the amount of experience to add to 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 to give the experience to.
Xp Command in Minecraft PS4 Edition
In Minecraft PS4 Edition, there are different syntaxes depending on how much experience you would like to add.
To add experience points to a player:
To add experience levels to a player:
Definitions
- amount is the amount of experience to add to 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 to give the experience to.
Xp Command in Minecraft Nintendo Switch Edition
In Minecraft Nintendo Switch Edition, there are different syntaxes depending on how much experience you would like to add.
To add experience points to a player:
To add experience levels to a player:
Definitions
- amount is the amount of experience to add to 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 to give the experience to.
Xp Command in Minecraft Windows 10 Edition
In Minecraft Windows 10 Edition, there are different syntaxes depending on how much experience you would like to add.
To add experience points to a player:
To add experience levels to a player:
Definitions

- amount is the amount of experience to add to 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 to give the experience to.
Xp Command in Minecraft Education Edition
In Minecraft Education Edition, there are different syntaxes depending on how much experience you would like to add.
To add experience points to a player:
To add experience levels to a player:
Definitions
- amount is the amount of experience to add to 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 to give the experience to.
Examples
- Java
- PE
- Xbox
- PS
- Nintendo
- Win10
- Edu
Example in Java Edition (PC/Mac) 1.13, 1.14, 1.15 and 1.16
To give 20 experience levels to the player called DigMinecraft in Minecraft 1.13, 1.14, 1.15 and 1.16:
To give 8 experience points to the nearest player:
To remove 3 experience points from all players:
To set the experience levels of a random player to 50:
To query the experience levels of the nearest player (you can only query one player at a time):
Example in Java Edition (PC/Mac) 1.11 and 1.12
To give 3 experience points to the player called DigMinecraft in Minecraft 1.11 and 1.12:
To give 7 experience points to a random player:
To give 5 experience levels to the player called DigMinecraft:
To give 12 experience levels to all players:
To take away 3 experience levels from a random player:
Example in Pocket Edition (PE)
To give 6 experience points to the player called Axe2Grind in Minecraft PE:
To give 25 experience levels to all players:
To take away 2 experience levels from the nearest player:
Example in Xbox One Edition
To give 5 experience points to the player called TheEarthMover in Minecraft Xbox One Edition:
To give 30 experience levels to all players:
To take away 7 experience levels from a random player:
Example in PS4 Edition
To give 3 experience points to the player called DigMinecraft in Minecraft PS4 Edition:
To give 25 experience levels to all players:
To take away 2 experience levels from the nearest player:
Example in Nintendo Switch Edition
To give 9 experience points to the player called DigMinecraft in Minecraft Nintendo Switch Edition:
To give 18 experience levels to all players:
To take away 4 experience levels from all players:
Example in Windows 10 Edition
To give 15 experience points to the player called TheExcavator in Minecraft Windows 10 Edition:
To give 8 experience levels to the nearest player:
To take away 5 experience points from a random player:
Example in Education Edition
To give 4 experience points to the player called TheEarthMover in Minecraft Education Edition:
To give 30 experience levels to a random player:
To take away 4 experience levels from all players:
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 /xp command to add experience points to a player as well as experience levels.
Add Experience Points
Let's start by showing how to add experience points to a player.
For example, you could add 3 experience points to the player called DigMinecraft with the following command:
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 experience points will be added to the player's experience bar.
You will see the message 'Given 3 experience to DigMinecraft' appear in the lower left corner of the game window.
You have now given 3 experience points to the player called DigMinecraft.
Add Experience Levels
In the first example, we added experience points. Now let's show you how to add experience levels using the /xp command.
When you use the L
attribute with the /xp command, you add experience levels to 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 to the player called DigMinecraft with the following command:
Type the command in the chat window and press the Enter key to run the command.
Before the /xp command is entered, the player is at experience level 2.
Once the cheat has been entered, you will see the message 'Given 5 levels to DigMinecraft' appear in the lower left corner of the game window.
Now the experience counter for DigMinecraft has increased from 2 to 7 because you have given 5 experience levels to this player.
Congratulations, you just learned how to use the /xp command in Minecraft!
Other Experience Information
Other Game Commands
You can use other commands and cheats in Minecraft such as:
Here is all known working commands and cheats in Minecraft right now. They can help you to enhance your game experience to the maximum.
List of Commands and Cheats
Introduction
Minecraft commands enable you to have a complete control of the game. There is so much you can do: copy a build, change the mode of the game, or play extra smart and even cheat a little bit, Minecraft console commands can help you in so many ways in your daily game. Plenty of different commands exist and they differ a lot in terms of how complex they are, but we have decided to overview those that are the most useful and will give you an upper hand in the game. Play Minecraft with your friends and see how they react when you demonstrate your newly gained mastery of the game.
How to Enter the Minecraft Console Commands
Just press the forward-slash key (/) and a small window will pop up. Enter the code, press enter and this will be enough to have your command activated.
Shorthand Code Commands for Minecraft
Below we give you some shorthand codes so that you do not need to type various player names. It will save you the trouble of typing names like “Sniper_Boar_Dev_34” each time someone joins in. Forger game cheat table.
- @p – the player nearest to you.
- @r – a random player.
- @a – all players.
- @e – all entities in the world.
- @s – yourself.
Minecraft Clone Command
- /clone <x1> <y1> <z1> <x2> <y2> <z2> <x> <y> <z>
This command enables you to copy a selection of blocks and move it to your chosen location. It’s handy when you are building, e.g., a city are and want to have many identical buildings in different areas. Start with “<x1> <y1> <z1>”. “<x2> <y2> <z2>” is where you finish, and with “<x> <y> <z>” you point out where you wish the cloned blocks to be located.
For instance: /clone 100 234 -10 200 100 0 300 200 100.
Minecraft Difficulty Command
- /difficulty <difficulty>
Its function is to change the in-game difficulty. Instead of the latter section of the code enter one of these:
- peaceful.
- easy.
- normal.
- hard.
For instance: /difficulty peaceful
Minecraft Effect Command
- /effect <player> <effect> [seconds] [amplifier] [hideParticles]
This command adds a status effect to the selected player. The conditions “[seconds]”, “[amplifier]”, and “[hideParticles]” are not obligatory, so you can disregard them, however, you use them if you decide to change the length, or the strength of the effect, and you also need to decide if the effect shows as particles. When you decide that a player no longer needs an effect, just type “/effect <player> clear”.
For instance: /effect PCGamer water_breathing 30
Minecraft Commands: The Working Minecraft Cheats You Need To ..
Minecraft Enchant Command
- /enchant <player> <enchantment ID> [level]
Minecraft How To Cheat Commands In Game Mode
When you want an enchantment in addition to the item the player is holding, use this command. It can be enchantment you choose to have, they can be selected from a book or enchant table. Take a look at the list of Enchantment IDs.
For instance: /enchant PCGamer minecraft:smite 1
Minecraft Commands Pc
Minecraft Exp Modifier Command
- /xp <amount> [player]
Grants a number of experience points to the targeted player. If you prefer to add levels (understandable, as it’s easier in case of enchanting) type “/xp <amount>L [player]”.
For instance: /xp 100L PCGamer
Change the Gamemode Command
- /gamemode <mode>
This command is for changing the game mode. If you want to change the mode for a selected player, you need to add the player’s name at the end of the code. Instead of “” enter one of the options below:
- Survival.
- Creative.
- Adventure.
- Spectator.
For instance: /gamemode Survival
Minecraft Give Item Command
- /give <player> <item> [amount]
Adds an item to the player’s inventory. You will need this if you want start a run having all of the diamond gear. Remember that the amount section is only applicable to stackable items. That means, you cannot have 100 diamond swords in one go, no matter how great it sounds. To see all of the IDs, check out the list here.
For instance: /give PCGamer diamond_sword 1
If a command doesn’t work, help is available here:
- /help [command name]
It gives extra information regarding any console command. If the command you are trying is not working properly, enter the above command before the name of the command that doesn’t work and you will be given more details about how it is supposed to function.
For instance: /help kill
Commands For Minecraft Mobile
Minecraft Keep Inventory Command
- /gamerule keepInventory true
This command enables you to keep all the items in your inventory even if you die. Changing “true” to “false” turns it off again.
Minecraft Kill Command
- /kill
Use it to kill everything and everyone, even the player, i. e. yourself. If you wish to kill another player, you need to use “/kill <player>”, and if your target is a mob, use “/kill @e[type=mobType]”.
Minecraft Play Sound Command
- /playsound <sound> <player>
Use this command to play a specific sound file. For example, it can be used to have a soft sound a doorbell every time someone opens a door. You can find all the sound file names here.
For instance: /playsound minecraft:entity.elder_guardian.ambient voice @a
How to Check the World Seed in Minecraft
- /Seed
If you want to replay the seed from the start or pass it on to someone, this will show you the seed for their current world.
Set World Spawn in Minecraft
- /setworldspawn
This works if you want to change the world spawn to the location where you are standing. It is also possible to set it to a location decided in advance with “/setworldspawn <x> <y> <z>”
For instance: /setworldspawn 100 80 0.
Stop Time from Changing
- /gamerule doDaylightCycle false
This completely turns the daylight cycle off so it’ll always be the current time of day. To reenable the cycle, replace “false” with “true.”
Spawn a Mob
- /summon <entity_name> [x] [y] [z]
Brings a mob to a designated location. Get rid of the “[x] [y] [z]” at the end and you can have the mob spawn on top of you if you wish. Be careful though – if you’re spawning the Wither have to be quick to get away to save your skin.
Minecraft Teleport Command
- /tp [target player] <x> <y> <z>
It teleports the selected player to a location of your choice. Just imagine – you can teleport your friend up into the sky – wouldn’t it be fun?.
For instance: /tp PCGamer 100 0 10.
Change Minecraft In-Game Time
- /time set <value>
Allows you to set the in-game time. You need to add one of the numbers listed below to alter the time of day according to you preference:
- 0 – Dawn.
- 1000 – Morning.
- 6000 – Midday.
- 12000 – Dusk.
- 18000 – Nightist.
Minecraft Change Weather Command
- /weather <clear/rain/thunder>
Just like the name prompts, this command changes the weather in the game. i.e. “/weather thunder” starts a violent storm with thunder. This command is fantastically useful if you’re targeting charged creepers.