15 Must-Know Minecraft Commands

Whether you like using cheats or prefer playing the standard way, Minecraft's built-in commands are pretty awesome. They let you do cool things and change your game world in ways you usually can't. Some commands are more helpful than others, depending on what you're doing, but they can all make your Minecraft life easier. So, let's check out some of the most useful commands you should know!

Top Minecraft Commands to Know

Minecraft has over 100 commands! We've picked out some of the best ones that let you do things you can't do with regular blocks. How useful they are depends on what you like to do in the game, so try them out and see what you think.

Here's a quick look:

CommandWhat It Does
/tpLets you teleport anywhere in the world.
/gamemodeChanges the game mode (creative, survival, spectator, adventure).
/summonCreates any block, mob, or item you want.
/locateShows you the coordinates of structures, biomes, or points of interest.
/timeChanges or checks the time in your world.
/gameruleChanges the rules of the game.
/fillFills an area with blocks, items, or even portals.
/killKills any player or creature.
/camerashakeTurns on or off a camera shaking effect.
/giveGives any item to a player.
/cloneCopies blocks from one place to another.
/helpGives you info on all the commands in Minecraft.
/fillbiomeChanges the biome of an area.
/musicPlays, pauses, or controls music tracks.
/enchantAdds enchantments to items you or other players are holding.

Let's look at each of these commands in more detail:

1. Teleport

  • Syntax: /tp or /teleport <target> <location coordinates>
  • Example: /tp @s 112 14 423

Nether portals are fast, but nothing beats teleporting. Plus, teleporting is the easiest way to bring other players with you when traveling — unless you're using a boat.

2. Change Game Mode

  • Syntax: /gamemode <mode name>
  • Example: /gamemode creative

Minecraft has different game modes that change how you play. This command lets you switch between them easily:

  • Survival: The standard mode with exploring and trying to survive. You can respawn if you die.
  • Creative: Great for building. You can't be hurt, and all monsters ignore you.
  • Spectator: Lets you fly around the world like a ghost, even through blocks.
  • Adventure: Used for playing custom adventure maps. It limits what players can mine or craft.

3. Summon Any Entity

  • Syntax: /summon <entity name>
  • Example: /summon minecraft:warden

Entities are any moving objects in Minecraft. With this command, you can bring anything into your world, including mobs, boats and minecarts, gravity-affected blocks, usable items, and even mobs riding other mobs. This command even lets you create things that aren't normally in the game, like a giant zombie using /summon giant.

4. Locate Structures

  • Syntax: /locate <structure | biome | poi> <name>
  • Example: /locate structure minecraft:ancient_city

Finding rare structures can be nearly impossible in a normal world — woodland mansions being a perfect example. That's where the locate command comes in. Just tell the game what you want to find, and it will give you the exact coordinates. Then, use the teleport command to get there fast. There's also a /locatebiome command to track down specific biomes.

5. Change the Time

  • Syntax: /time <add | set | query> <time>
  • Example: /time set day

Time moves faster in Minecraft than in real life, but it can still feel slow. Use the time command to jump between different times of day or skip ahead a few hours. This is especially useful for growing crops. Note that this command changes the current time, but not the speed of time — for that, use the gamerule command below.

6. Change Game Rules

  • Syntax: /gamerule <rule name> <change>
  • Example: /gamerule randomTickSpeed 233

This is a powerful command that lets you change how the game works — from the speed of time to mob spawn rates and player abilities. Be careful though, because some changes can permanently affect your world.

7. Build Structures and Place Blocks

  • Syntax: /fill <location start> <location end> <block name>
  • Example: /fill 11 23 34 ~ ~ ~ minecraft:sculk

Builders will love the fill command. It lets you instantly create cube-shaped structures out of any placeable item — blocks, light, air, water, and even portal frames. It's one of the fastest ways to build large structures in the game.

8. Kill Mobs

  • Syntax: /kill <target name or code>
  • Example: /kill steve

If you're ever in a tough spot — a creeper that spawned too close, or an unplanned fight with a Wither — the kill command can save you. It instantly eliminates any creature, and they still drop experience and loot as if you defeated them normally. You can also use it to respawn yourself if you're glitched, though you'll need to collect your inventory afterwards.

9. Camera Shake Effect

  • Syntax: /camerashake <target> [intensity] [time] [shake type]
  • Example: /camerashake @s 0.25 5 positional

Minecraft doesn't have many visual effects, but players on Bedrock and Education Editions can use the camerashake command to create a shaking camera effect — like an earthquake without any actual destruction.

10. Get Any Item

  • Syntax: /give <target> <item> <quantity>
  • Example: /give @s minecraft:apple 999

Creative mode lets you get most items easily, but some things — like command blocks — are only accessible with the give command. You can also control exactly how many of an item to spawn. Some players use this to access unreleased items from beta versions of the game.

11. Clone Locations

  • Syntax: /clone <area begin> <area end> <destination area> [mask mode] [clone mode]
  • Example: /clone 123 21 322 122 25 325 453 664 665 replace move

The clone command is essentially copy-and-paste for your Minecraft world. Find the coordinates of an area you want to duplicate and place it anywhere else. Want a desert temple sitting in the middle of the ocean? Now you can have it.

12. Learn More Commands

  • Syntax: /help <command name>
  • Example: /help teleport

If you want to learn more about how a specific command works, just use the help command. It explains the syntax and usage of every command available in the game — great for when you can't remember the exact format.

13. Change Biomes

  • Syntax: /fillbiome <area start> <area end> <biome name>
  • Example: /fillbiome 123 44 231 122 54 234 minecraft:plains

The fillbiome command is a newer addition that lets you change the biome of any area. The blocks themselves don't change, but the environment, weather, and mob spawning rules will. You can even move biomes between dimensions, which opens up some interesting possibilities for farms.

14. Play Music

  • Syntax: /music <play | queue | stop> <track name> [volume] [fade seconds] [repeat mode]
  • Example: /music play record.cat 1 0 loop

Minecraft's music is great, and this command lets you play your favorite in-game tracks whenever you want. If you're on a multiplayer server, just make sure everyone agrees on the song first.

15. Enchant Items

  • Syntax: /enchant <target> <enchantment> [level]
  • Example: /enchant @s sharpness 2

Enchantments are key in Minecraft. This command lets you push them past their normal limits — some enchantments capped at level 3 in-game can go up to level 5 with this command. You can also use it to enchant items that normally can't be enchanted.

How to Use Minecraft Commands

You can use commands in Minecraft by typing them into the chatbox. This works on both Java and Bedrock versions. If you want to edit and reuse commands, you can use a command block. To run a command, type / followed by the command. Most commands have extra options that let you customize them further. With these commands, you'll be able to do so much more in Minecraft.

Frequently Asked Questions

What Are Some of the Most Useful Minecraft Commands?

Some of the most useful commands include /summon, /locate, /tp, and /gamemode. Summon can spawn any mob, locate helps find biomes and structures, tp teleports you anywhere, and gamemode switches between survival, creative, and other gameplay styles.

What Is the Best Minecraft Command for Building?

The /fill command is the best for building complex and massive structures. It can fill a confined space with any block or item you want, saving you a huge amount of time.

What Do @a, @e, @p, @r, and @s Mean in Minecraft?

These are target selectors used in commands. @a affects all players, @e affects all entities, @p affects the nearest player, @r affects a random player, and @s affects yourself.

How Do You Use the /give Command in Minecraft?

Use the following syntax: /give <target> <item> <amount>. This gives the specified player any number of a chosen item. For example, /give @s minecraft:apple 10 gives yourself 10 apples.

Comments