
Minecraft is a world of endless possibilities, and enabling cheats can take your experience to the next level. Whether you're playing Java or Bedrock Edition, cheats can alter the game's mechanics, allowing you to change the world, your equipment, and yourself.
Read more: 150+ best and stylish PUBG New State Mobile names for boys and girls (2024)
Minecraft player cheats and commands
- /kill [player]
Kill yourself (or specified player)
- /tp [player]
Teleport yourself (or specified player) to the coordinates entered
- /effect
[duration]
Applies the effect to the specified player or entity, for an option duration in seconds. A list of effect codes is here
- /effect clear
[effect]
Clear all effects, or optionally just the specified effect, from the player or entity
- /enchant
[level]
Apply the enchantment to the specified player's selected item, at an optional level. A list of enchantment code is here
- /experience add
Adds the stated amount of experience points to the specified player. Put the word levels on the end to add experience levels instead
Whether you're on Bedrock or Java Edition, speed up entering Minecraft cheats and commands by using these shortcuts:
- @p = the nearest player to you
- @r = a random player
- @a = all players in the world
- @e = all entities in the world
- @s = you
Minecraft world and environment cheats and commands
- /seed
Produces a seed code so you can recreate your world later
- /setworldspawn [x y z]
Set the world spawn location to the player's current position, or optional specified coordinates if entered
- /gamemode
[player]
Sets the game mode type (use survival, creative, adventure, or spectator) for yourself or an optional player
- /gamerule
[value]
Queries the value of a game rule, or amends it if an optional value is entered. A list of rule codes is here
- /difficulty
Sets the difficulty level (use peaceful, easy, normal, or hard)
- /time set
Sets the world game time, use 0 (Dawn), 1000 (Morning), 6000 (Midday), 12000 (Dusk), or 18000 (Night) as the value
- /gamerule doDaylightCycle false
Turn off the day/night cycle, replace false with true to reactivate
- /weather
[duration]
Sets the weather type (use clear, rain, or thunder) for an optional duration in seconds
- /gamerule doWeatherCycle false
Turn off weather changes, replace false with true to reactivate
- /clone
Clones the blocks in the region between coordinates
Minecraft Item and Mob cheats and commands
- /give
- [quantity]
Adds an item to player's inventory, in a specified quantity if the item is stackable. A list of item codes is here
- /gamerule keepInventory true
Keep your inventory items after you die, replace true with false to reverse
- /summon
[x y z]
Spawns the entity at the player's location, or optional specified coordinates if entered. A list of entity codes is here.
How to use Minecraft cheats and commands in Java Edition
To use cheats in Minecraft Java Edition, do the following:
- Open your Minecraft world.
- Click on the ‘Open to LAN’ button.
- Toggle the ‘Allow Cheats’ switch to the ‘ON’ position.
- Click on the ‘Start LAN World’ button.
- While in-game, press the ‘/’ key to open the chat menu.
- The chat menu will appear with a slash already typed in.
- Type your desired command or cheat in the chat menu.
- Use the exact syntax and formatting required for the command.
- Press the ‘Enter’ key to run the command.
- The command will be executed, and the result will be displayed in the chat menu.
How to use Minecraft cheats and commands in Bedrock Edition
To use cheats in Minecraft Bedrock Edition, even on consoles, follow these steps:
- Open your Minecraft world.
- Click on the ‘Settings’ button.
- Scroll down to the ‘Game’ menu.
- Toggle the ‘Activate Cheats’ switch to the ‘ON’ position.
- While in-game, press the ‘/’ key to open the chat menu.
- The chat menu will appear with a slash already typed in.
- Type your desired command or cheat in the chat menu.
- Use the exact syntax and formatting required for the command.
- Press the ‘Enter’ key to run the command.
- The command will be executed, and the result will be displayed in the chat menu.