Minecraft commands list: all the best cheats

 Minecraft commands - Herobrine stands in a pool of lava on fire holding an enchanted diamond sword in front of a ruined portal.
Minecraft commands - Herobrine stands in a pool of lava on fire holding an enchanted diamond sword in front of a ruined portal.

Need help from Minecraft commands and cheats to do the heavy lifting on a problem in your latest world? If Minecraft is a true sandbox then it should be yours to modify and play with in any way you want. Whether you'd like the specific enchanted sword of your dreams, to call a truce with the hordes of creepers blowing up the statue you're working on, or just to help a buddy on your multiplayer server whose gotten lost in the expanse of Minecraft's cubic wilderness—having your hands on the full Minecraft commands list is the most important tool to keep in your toolbox when preparing for success.

Best of Minecraft

Minecraf 1.18 key art
Minecraf 1.18 key art

Minecraft update: What's new?
Minecraft skins: New looks
Minecraft mods:  Beyond vanilla
Minecraft shaders: Spotlight
Minecraft seeds: Fresh new worlds
Minecraft texture packs: Pixelated
Minecraft servers: Online worlds
Minecraft commands: All cheats

Just like all the rest of Minecraft, using commands has gotten simpler and more accessible with each successive version. Instead of having to pore over lists of ID's for your enchanting commands nowadays, the game is kind enough to lend you a hand by showing a options when you type your command in.

We've taken our experience with (over)using the best Minecraft cheats and used it to set you up with the best Minecraft commands in their own section. The kind of stuff you'll get addicted to, like teleporting around, buffing up your experience points, or just giving you stacks of sponges to clear out that pesky lake. There are even more commands than we have listed here for you to investigate, including a bunch of specific game rule setting adjustments. This list gathers together all the commands you're most likely to need.

How to use Minecraft commands

How to turn on cheats in Minecraft

Some of the entries on the command list can be used any time you play Minecraft, but others require you to turn cheats on. You'll do this when creating your world initially, either by setting "Allow Cheats: On" in the world creation menu or by selecting Creative Mode, which automatically allows cheats—so you can utilize all of the cheats list you'd like.

How to use Minecraft commands

Need More Cheat Sheets?

Fallout 4 cheats: Nuclear codes
Minecraft commands: Unblocked
RDR2 cheats: Most wanted
GTA 5 cheats: Phone it in
Sims 4 cheats: Life hacks
Ark cheats: Expedited evolution

Press "T" to open the Minecraft command line, which is where you can type any of  cheats you need. You can also press the / key to open the commands box with the / before each one already included for you.

When typing in many of these commands, Minecraft will now attempt to autocomplete for you, so pay attention to the options! Either type out one of the suggestions or use your arrow keys to select from the list above your chat box and the "tab" key to insert it.

Some commands like /locate will help by suggesting options to help you put together a long command like "/locate biome minecraftsunflower_plains" that you likely won't have memorized. This makes commands like /gamemode and /difficulty easier to fire off quickly.

Best Minecraft commands

Minecraft commands - Alex holds two diamonds in a village.
Minecraft commands - Alex holds two diamonds in a village.

Want to make it rain diamonds? Or maybe you just want to skip looking at the full Minecraft commands list and get only the highlights? It's your lucky day, since we've curated a few of the best Minecraft cheats to make it even easier on you:

Minecraft command targets

Below are the shorthand codes to save you from typing in different player names. These are worth memorizing so you don’t have to type in names like “Sniper_Kitty_Bruv_91” every time some jobber joins your game.

  • @p – the player nearest to you

  • @r – a random player

  • @a – all players

  • @e – all entities in the world.

  • @s - yourself

Minecraft commands list

Minecraft commands - Alex riding a skeleton horse in front of a glacier
Minecraft commands - Alex riding a skeleton horse in front of a glacier

Need the full Minecraft cheat list, so you can be prepared for any situation? We've got them collected so you can summon up whatever you need for the situation, or just make it daytime forever.

  • /gamerule doDaylightCycle false: This is the always daytime command equivalent for Java version.

  • /clone x1 y1 z1 x2 y2 z2: This command is useful for duplicating structures or other builds you've created.

  • /effect: The /effect command can be used for a lot of things. For instance "/effect give @s minecraft:night_vision 180" will give you night vision for three minutes, useful for exploring caves without a torch. You can see what all the available effects are on the Effect list.

  • /enchant: The enchant command can be used on any enchantable item you're holding. Use "/enchant @s minecraft:unbreaking" to make whichever tool you're holding unbreakable.

  • /fill x y z x y z [block]: Fills an area with a specified type of block. Make use of the autocomplete suggestions to search for the blocks you want. Useful for creating a river by filling an area with water or excavating by filling with air.

  • /gamerule: There are specific gamerule commands on this list of gamerules we find useful, but be aware you can type in the command and scroll through the options too.

  • /kill: By default, the /kill command will kill everything, including you, so be specific! Using the @e target will allow you to specify a specific mob type with "/kill @e[type=mobType]". Murder responsibly.

  • /locate: The locate command will tell you the coordinates of the nearest specified biome, structure, or point of interest. You can then use the /tp command to go there! Try searching for the nearest witch hut or blacksmith.

  • /me: Type anything you want after this to print the words in chat as if you've said them.

  • /place: This command can get complex, but it will allow you to place lots of different structures. You can also specify coordinates at the end of this command to tell the game where exactly to place things.

  • /seed: This command will show you your world seed in chat, which you can then click on to copy. Handy if you want to share a world seed with a friend!

  • /setblock x y z [block]: This command turns a block at specific coordinates into a different one, a bit like the /fill command.

  • /setworldspawn: By default, this will change the world spawn point to your current location. You can also use /setworldspawn x y z to specify a location instead.

  • /spawnpoint: Unlike world spawn, this sets the respawn point for a specified player when they die.

  • /summon: The /summon command can be used to call forth any mob you like. Try "/summon minecraft:enderman" to summon an Enderman at your location.

  • /weather: This command will let you set the current weather to rain, clear, or thunder.

Bedrock-specific commands:

  • /alwaysday or /daylock: These two commands will make it so night never falls in your world.

  • /toggledownfall: This command will make it rain or snow. It will also make precipitation stop.