Minecraft cheat codes: list

Minecraft cheat codes: list

If you are a Minecraft player, you will be pleased to know that you can apply various cheat codes in the game and customize your experience. Here we explain everything you need to know to turn on cheats and give you a list of the available cheat codes in Minecraft.

How to turn on cheat codes?

To turn on cheat codes when creating a new game:

  1. Select a single-player game.
  2. Click on the Allow Cheats button to toggle it on/off.
  3. Create a new world.

To turn on cheat codes in an existing game:

  1. While you are playing in a world, open the game menu by pressing Esc.
  2. Select Open to LAN, and then click on the Allow Cheats button to toggle it on/off.
  3. Click Start LAN World.

To enter a cheat code:

  • Open the chat and type one of the commands listed below

What are player cheat codes?

  • /effect <player|entity> <effect> [duration]
    It applies the effect to the specified player or entity, for a specified duration.
    A list of effect codes is here.
  • /effect clear <player|entity> [effect]
    It clears all the effects, or optionally just the specified effect, from the player or entity.
  • /enchant <player> <enchantment> [level]
    It applies the specified enchantment to the specified player's selected item, at an optional level.
    A list of enchantment codes is here
  • /experience add <player> <amount>
    It adds the specified amount of experience points to the specified player. Put the word levels on the end to add experience levels instead.
  • /give [playername] [item] [amount]
    It gives the specified player, the specified amount of the specified item.
  • /kill [player]
    It Kills the specified player
  • /tp [player] <x y z>
    It teleport the specified player to the location specified by the coordinates

What are world cheat codes?

  • /clone <x1 y1 z1> <x2 y2 z2> <x y z>
    It clones all the blocks located in the region between coordinates <x1 y1 z1> and <x2 y2 z2>, then put them with coordinates <x y z> in the lower northwest corner.
  • /difficulty <level>
    It sets the difficulty level (use peacefuleasynormal, or hard).
  • /gamemode <type> [player] 
    It sets the game mode type (use survivalcreativeadventure, or spectator) for yourself or an optional player.
  • /gamerule <rule> [value]
    It queries the value of a game rule or amends it if an optional value is entered.
    A list of rule codes is here
  • /time set <value>
    It sets the world game time, using 0 for Dawn, 1000 for Morning, 6000 for Midday, 12000 for Dusk, or 18000 for Night as the value.
  • /gamerule doDaylightCycle false
    It turns off the day/night cycle, you can replace false with true to reactivate.
  • /gamerule doWeatherCycle false 
    It turns off weather changes, you can replace false with true to reactivate.
  • /seed
    It produces a seed code so you can recreate your world later.
  • /setworldspawn [x y z]
    It sets the world spawn location to the player's current position or optionally to the specified coordinates.
  • /weather <type> [duration] 
    It sets the weather type (use clearrain, or thunder) for an optional duration set in seconds.
any more questions about Minecraft? check out our forum!