Dwight Pavlovic | October 20, 2026

10 Cool Minecraft Console Commands

10 Cool Minecraft Console Commands

Minecraft console commands are shortcuts you type into the chat window, starting with a slash, to control your world. Some of the most useful are /tp to teleport, /summon to spawn mobs and items, /gamemode to switch modes, /weather and /time to change conditions, and /locate to find structures. To use them, turn on cheats in your world settings.

Minecraft® commands offer a useful layer of shortcuts and critical inputs for managing the world you've created in this expansive game. And when it comes to commands, there are many possibilities to consider.

They range from very basic options that help you handle routine interactions more quickly to more powerful commands you can use to manage everything from weather to the time of day.

To help you get started with a strong foundation, we're covering some great fundamental commands, plus a few lesser-known options. Here's our list of 10 cool Minecraft commands:

  1. Teleport from place to place

  2. Summoning objects and entities

  3. How to change difficulty

  4. Setting your world's weather

  5. How to change game mode

  6. Locating the closest in-game structure

  7. Sending private messages to other players

  8. Setting the time of day in your world

  9. Counting entities in your world

  10. Managing your team

Continue reading for a description of each command, with a link to the corresponding Minecraft Wiki entry so you can learn everything you need to use it. But first, a quick overview of commands.

What Are Console Commands and How Do You Use Them?

Console commands are a big part of how many players enjoy Minecraft. Using them on PC is simple: open the chat window in your game, type "/" followed by your command, and press Enter. Most commands also accept extra options that change what they do.

How to turn on cheats

Most commands require cheats to be turned on:

  • Java Edition: Turn on "Allow Cheats" when you create a world, or open the world to LAN and turn on cheats for that session.

  • Bedrock Edition: Turn on "Activate Cheats" in your world settings. Keep in mind that turning on cheats in Bedrock Edition disables achievements for that world.

Some commands work a little differently between Java Edition and Bedrock Edition, so check the wiki entry for your version.

Nope, not a "cheat"

In some games, commands like these are called "cheats." In Minecraft, how you use commands comes down to your style of play. Do you want to put in all the legwork all the time, or would you rather focus on bigger things? Ultimately, the choice is yours.

10 Best Minecraft Console Commands

1. Teleport from place to place

/tp: teleport

One of the most useful basic commands, teleport provides a quick way to master the huge scale of many Minecraft worlds. No more slogging back and forth between your major projects and collaborators because teleport helps you spend your time a bit more strategically.

The bigger and more ambitious your world becomes, the more likely you are to find a great use for teleport. In addition to moving yourself, you can also move mobs and even other players around your map.

2. Summoning objects and entities

/summon: spawns an entity at a location

Summon is another core Minecraft command that gets a lot of use. It instantly spawns an entity, such as a mob, a boat, or a lightning bolt, at your location.

You can also specify coordinates, so you can summon entities wherever you want, even if it's not where you're standing. For example, you can summon lightning exactly where you need it.

3. How to change difficulty

/difficulty: changes the difficulty setting

You may not need this command every time you play, but it's important when you do. Whether you want more of a challenge or need a breather, this simple command can help.

Your options are peaceful, easy, normal, and hard. For example, type "/difficulty peaceful" if you want a more relaxed game.

4. Setting your world's weather

/weather: sets the weather

In Minecraft, weather can be both a visual feature and an important game element. Rain, for example, affects how some crops grow and when certain mobs appear.

Simply enter the command and choose clear, rain, or thunder, with an optional duration. Each option has its own effects across Minecraft's biomes, and in cold biomes, rain falls as snow.

5. How to change game mode

/gamemode: switches your game mode

Minecraft offers four main game modes: survival, creative, adventure, and spectator. Hardcore is a separate world setting that players can't usually switch on and off.

Each mode emphasizes a different way to play. For example, "creative" is designed for builders and removes typical dangers, while "survival" focuses on gathering resources and staying alive.

6. Locating the closest in-game structure

/locate: finds the coordinates of the nearest structure or biome

Whether you're looking for a village or a stronghold, the locate command is a great way to find landmarks. Type /locate structure followed by the structure type, and Minecraft displays its coordinates. You can also locate biomes with /locate biome.

Pair it with the teleport command, and you can get around your world with ease.

7. Sending private messages to other players

/tell, /msg, or /w: sends a private message

By typing /tell followed by a player's name and your message, you can send important notes to other players or team members quickly. The /msg and /w commands do the same thing.

8. Setting the time of day in your world

/time: sets or changes the time of day

The time command is a simple way to set the time of day in your world. Along with the weather command, it's a handy workaround when you need daylight or want to skip the night.

Minecraft measures time in ticks. There are 20 ticks in one second, and a full day lasts 24,000 ticks, or 20 minutes in real time. You can also use presets like "/time set day" and "/time set night."

9. Counting entities in your world

/execute (Java Edition) and /testfor (Bedrock Edition)

These commands let you check for and count entities, such as players or mobs, that match certain conditions. In Bedrock Edition, use /testfor. In Java Edition, /testfor was removed, so use /execute if entity instead.

How you specify targets matters, so check the wiki entry for how to look for individual players or count groups of mobs in an area.

10. Managing your team

/team: manages teams in multiplayer (Java Edition)

Managing a large group of players can be hectic, but the team command makes it easier. You can create and remove teams, add and remove players, and change team settings.

Frequently Asked Questions

How do you use commands in Minecraft?

To use commands in Minecraft, turn on cheats in your world settings, open the chat window, type a slash followed by the command, and press Enter.

Do Minecraft commands disable achievements?

In Minecraft Bedrock Edition, turning on cheats to use commands disables achievements for that world. Java Edition doesn't have the same achievement restriction.

What is the teleport command in Minecraft?

The teleport command in Minecraft is /tp. It moves you, other players, or mobs to specific coordinates or to another player.

How do you find a village in Minecraft with a command?

To find a village in Minecraft, use the /locate structure command followed by the village type. Minecraft will display the coordinates of the nearest one.

Are Minecraft commands the same on Java and Bedrock?

Many Minecraft commands work on both Java and Bedrock Edition, but some have different syntax or are available on only one edition. Check the Minecraft Wiki entry for your version.

Just Some of the Ways to Maximize Your Time In-Game

Minecraft commands are extremely useful tools and shortcuts, from customizing weather and difficulty to moving around your world in seconds. Ready to learn more? You can find a complete list on the Minecraft Wiki commands page, which covers commands for both Java and Bedrock Edition.

Once you've mastered the basics, try adding more options and arguments to your commands to refine what you can achieve.

Keep the Fun Going

Looking for inspiration for your next project? Check out our list of amazing things to build in Minecraft, and if you also play Roblox, explore our Roblox character ideas.

A gaming laptop with a fast display and strong graphics makes your Minecraft worlds look and run their best, especially with shaders and large builds. Explore our HP gaming laptops to find the right fit.

About the Author

Dwight Pavlovic is a contributing writer for HP® Tech Takes. Dwight is a music and technology writer based out of West Virginia.

Disclosure: