Minecraft Commands: Complete List of Useful Commands for Java and Bedrock

Minecraft commands are powerful tools that let you control your world, change game settings, teleport to locations, give yourself items, change the weather, and perform many other actions. They are especially useful when you want to build faster, test ideas, manage a multiplayer world, or experiment with different game mechanics.

Whether you play Minecraft Java Edition or Bedrock Edition on a Windows PC, Xbox, PlayStation, Nintendo Switch, or mobile device, commands can make gameplay much easier. Some commands are simple enough for beginners, while others are designed for advanced players and server administrators.

In this guide, you will learn the most useful Minecraft commands, what they do, and how to use them correctly.

What Are Minecraft Commands?

Minecraft commands are special text instructions that you enter into the game’s chat window. They allow you to perform actions that would normally take much longer during regular gameplay.

For example, instead of walking across your world to reach a distant location, you can use a teleport command. You can also change the time, switch game modes, summon mobs, give players items, and control weather conditions.

Most commands begin with a forward slash /.

For example:

/gamemode creative

This changes your current game mode to Creative.

How to Use Minecraft Commands

Using commands is straightforward, but you usually need cheats or the appropriate permissions enabled.

Step 1: Open Chat

Open the Minecraft chat window using the chat button for your platform.

On a Windows PC, the default chat key is usually T.

Step 2: Type a Slash

Start your command with /.

For example:

/time set day

Step 3: Enter the Command

Type the complete command and press Enter.

If the command is valid and you have permission to use it, Minecraft will perform the requested action.

How to Turn on Cheats in Minecraft

Many commands require cheats to be enabled.

When creating a new world, look for the option that allows cheats or commands. Turn it on before entering the world if you plan to use commands.

In an existing world, the process can vary between Java Edition and Bedrock Edition.

Keep in mind that enabling cheats can affect certain gameplay features, including achievements in some versions of Bedrock Edition.

Best Minecraft Commands for Beginners

If you are new to commands, start with the following options.

CommandWhat It Does
/gamemode creativeSwitches to Creative mode
/gamemode survivalSwitches to Survival mode
/time set dayChanges the time to day
/time set nightChanges the time to night
/weather clearClears the weather
/weather rainStarts rain
/teleportTeleports a player
/giveGives an item
/summonSummons an entity
/killRemoves an entity or player
/locateHelps locate structures or other points of interest
/difficultyChanges the difficulty

Minecraft Gamemode Commands

Game mode commands are some of the most commonly used commands.

Creative Mode

Use:

/gamemode creative

Creative mode gives you access to unlimited building resources and allows you to fly.

It is useful when building large houses, cities, farms, maps, and Redstone projects.

Survival Mode

Use:

/gamemode survival

This switches your player back to Survival mode.

In Survival, you need to collect resources, manage health and hunger, and survive hostile mobs.

Adventure Mode

Use:

/gamemode adventure

Adventure mode is commonly useful for custom maps and experiences where players should interact with the world in controlled ways.

Spectator Mode

Use:

/gamemode spectator

Spectator mode allows you to observe the world without playing it like a normal Survival or Creative player.

This mode is particularly useful for exploring builds or watching multiplayer worlds.

Minecraft Teleport Commands

Teleportation is one of the most useful features available through commands.

A basic example is:

/tp @s 100 70 200

This teleports the executing player to the specified coordinates.

You can also teleport one player to another player.

For example:

/tp PlayerName AnotherPlayer

The exact syntax and available options can vary between Java and Bedrock Edition.

Minecraft Time Commands

You can quickly control the time of day.

Set Day

/time set day

Set Night

/time set night

Set Noon

/time set noon

Set Midnight

/time set midnight

These commands are especially helpful for builders who want to work in daylight without waiting for the normal Minecraft day-night cycle.

Minecraft Weather Commands

Weather can be changed instantly with commands.

Clear Weather

/weather clear

Rain

/weather rain

Thunderstorm

/weather thunder

Weather commands are useful for testing builds, creating custom maps, or changing the atmosphere of your world.

Minecraft Give Command

The /give command lets you give items to a player.

A basic example is:

/give @s diamond 10

This gives the executing player 10 diamonds.

You can replace diamond with another valid item ID.

For example:

/give @s apple 5

The @s target selector means the command affects the player executing the command.

Minecraft Summon Command

The /summon command creates an entity at a specified location.

For example:

/summon zombie

This summons a zombie.

You can also summon other mobs and entities by using their appropriate IDs.

The summon command is popular among map makers, command creators, and players who want to experiment with different mobs.

Read Also: Yalla Yalla Game – Complete Guide to Online Gaming and Entertainment

Minecraft Kill Command

The /kill command can remove an entity or player.

For example:

/kill @s

This targets the player running the command.

Because this command can have immediate consequences, be careful when using target selectors.

Minecraft Locate Command

The /locate command helps you find structures and other locations in your world.

For example, players can use it to search for structures without manually exploring thousands of blocks.

The exact syntax depends on your Minecraft edition and version.

This command is particularly useful when you want to find locations such as villages or other generated structures.

Minecraft Difficulty Commands

You can change the difficulty of your world using the difficulty command.

Common options include:

/difficulty peaceful

/difficulty easy

/difficulty normal

/difficulty hard

Each setting changes how challenging Survival gameplay can be.

Peaceful removes many hostile-mob threats, while Hard provides a more challenging experience.

Minecraft Seed Command

The /seed command can display the seed of a world in versions where the command is available and you have permission to use it.

A Minecraft seed determines how the game generates the world.

Players often use seeds when they want to recreate a particular world or share an interesting world-generation setup with friends.

Minecraft Effect Command

The /effect command allows you to apply status effects to players or entities.

For example, you can give yourself a speed effect.

A command may look like:

/effect give @s speed 30

The exact syntax can differ between Java and Bedrock Edition.

Effects can be useful for testing, adventure maps, parkour challenges, and custom gameplay.

Minecraft Enchant Command

The enchant command allows players to apply certain enchantments to compatible items.

For example:

/enchant @s sharpness 5

The available enchantments and syntax depend on the Minecraft edition and version.

This command is useful when testing equipment or creating custom gameplay situations.

Minecraft XP Commands

You can use commands to add experience points or levels.

For example:

/experience add @s 10 levels

The exact syntax may differ depending on your Minecraft version.

Experience commands are helpful when testing enchantments, repairing equipment, or experimenting with game mechanics.

Minecraft Gamerule Commands

The /gamerule command is one of the most powerful command categories.

It allows you to change specific rules that control how your world behaves.

For example:

/gamerule keepInventory true

This can allow players to keep their inventory after dying.

Another useful rule is:

/gamerule doDaylightCycle false

This stops the normal day-night cycle.

Gamerules are especially useful for custom maps, building worlds, multiplayer servers, and controlled gameplay experiences.

Minecraft Keep Inventory Command

Many players use the keep inventory rule when they want a more relaxed Survival experience.

Use:

/gamerule keepInventory true

With the rule enabled, players can keep their inventory after death.

To turn it off:

/gamerule keepInventory false

The exact capitalization and syntax can vary depending on the edition.

Minecraft Commands for Building

Commands can save builders a huge amount of time.

Some of the most useful building commands include:

  • /fill
  • /clone
  • /setblock
  • /fillbiome in supported versions
  • /clone
  • /structure in supported Bedrock workflows

Fill Command

The /fill command lets you fill an area with a particular block.

For example:

/fill 0 64 0 10 64 10 stone

This can create a large area of stone much faster than placing blocks manually.

Always double-check your coordinates before using /fill, especially in an important world.

Minecraft Setblock Command

The /setblock command changes a specific block at a chosen coordinate.

For example:

/setblock 100 64 100 stone

This places or replaces the block at those coordinates.

It is useful for detailed builds and command-based map creation.

Minecraft Clone Command

The /clone command can copy blocks from one area to another.

This is extremely useful for builders who want to duplicate houses, walls, rooms, or other structures.

It can save hours when creating large projects.

Minecraft Target Selectors

Target selectors make commands much more powerful.

Some common selectors include:

SelectorMeaning
@sThe command executor
@pNearest player
@aAll players
@rRandom player
@eAll entities

For example:

/give @a bread 5

This targets all players.

Target selectors are especially important when creating multiplayer commands and command-block systems.

Minecraft Commands for Multiplayer

Commands can be useful for managing multiplayer worlds.

Depending on your permissions and version, commands can help you:

  • Change player game modes
  • Teleport players
  • Give items
  • Change world rules
  • Summon entities
  • Manage teams
  • Change weather
  • Control the time
  • Create custom challenges

Server owners should be careful when giving command permissions because some commands can significantly change the world.

Minecraft Command Blocks

Command blocks allow commands to run automatically.

They are widely used in custom Minecraft maps, adventure games, minigames, traps, puzzles, and automated systems.

A command block can execute a command without requiring a player to manually type it every time.

Command blocks are particularly powerful when combined with:

  • Redstone
  • Repeaters
  • Target selectors
  • Scoreboards
  • Functions
  • Multiple command blocks

If you are learning advanced Minecraft commands, command blocks are a good next step.

Minecraft Commands for Creative Mode

Creative players can use commands to speed up building and testing.

Useful commands include:

/gamemode creative

/give

/fill

/clone

/setblock

/time set day

/weather clear

These commands can turn a normal building session into a much faster creative workflow.

Minecraft Commands for Survival

Commands can also be useful in Survival, especially for players who want to customize their world.

Popular choices include:

  • Teleporting to a location
  • Changing weather
  • Changing the time
  • Keeping inventory after death
  • Locating structures
  • Changing difficulty
  • Giving specific items
  • Applying effects

Using commands changes the traditional Survival experience, so some players prefer to keep commands disabled for a more challenging playthrough.

Minecraft Java vs Bedrock Commands

Minecraft Java Edition and Bedrock Edition share many commands, but their syntax and available features are not always identical.

This is important when copying a command from a website, YouTube video, Reddit post, or Minecraft tutorial.

A command that works on Java Edition may require different syntax on Bedrock Edition.

Before using an advanced command, check whether it applies to your edition and current Minecraft version.

Why Minecraft Commands May Not Work

If a command does not work, there are several possible reasons.

Cheats Are Disabled

Some commands require cheats to be enabled.

You Do Not Have Permission

On multiplayer servers, you may not have permission to execute administrative commands.

The Syntax Is Incorrect

Even a small spelling or formatting mistake can cause a command to fail.

The Command Is From Another Edition

Java and Bedrock can use different command syntax.

The Command Changed

Minecraft receives regular updates, and command behavior can change between versions.

Are Minecraft Commands Cheating?

It depends on how you play.

In a normal Survival world, using commands can remove some of the challenge. Some players therefore consider them cheating.

Other players use commands as creative tools for building, testing, accessibility, custom maps, and multiplayer management.

There is no single correct way to play Minecraft. Commands are simply another tool available to players when the world settings and permissions allow them.

Best Minecraft Commands to Learn First

If you are completely new to commands, learn these first:

  1. /gamemode
  2. /teleport
  3. /give
  4. /time
  5. /weather
  6. /summon
  7. /kill
  8. /locate
  9. /gamerule
  10. /fill

Once you understand these, you can move on to command blocks, scoreboards, functions, and more advanced systems.

Minecraft Commands Cheat Sheet

Here is a quick reference for common commands:

CommandMain Use
/gamemodeChange game mode
/tp or /teleportTeleport players/entities
/giveGive items
/summonSummon entities
/killRemove entities
/timeControl world time
/weatherControl weather
/difficultyChange difficulty
/locateFind locations/structures
/effectApply status effects
/enchantAdd enchantments
/experienceAdd experience
/gameruleChange world rules
/fillFill an area with blocks
/setblockChange one block
/cloneCopy an area

Frequently Asked Questions About Minecraft Commands

What is the most useful Minecraft command?

For beginners, /gamemode, /teleport, /give, /time, and /gamerule are among the most useful commands because they cover common gameplay and world-management tasks.

How do I use commands in Minecraft?

Open the chat window, type /, enter the command and its required arguments, then press Enter. You may need cheats enabled or the correct permissions.

Can I use commands in Minecraft Survival?

Yes, if commands or cheats are enabled and you have permission to use them. Commands can change the normal Survival experience.

What command gives you items in Minecraft?

The /give command is used to give items to players. For example, /give @s diamond 10 gives the executing player 10 diamonds when the command is valid for the version being played.

What command teleports you in Minecraft?

The /teleport command, commonly shortened to /tp, is used to teleport players and entities.

What command changes Minecraft to Creative?

Use /gamemode creative when you have the required permissions.

How do I change Minecraft to day?

You can use:

/time set day

This changes the world’s time to daytime.

How do I stop rain in Minecraft?

Use:

/weather clear

This changes the weather to clear conditions.

How do I keep my inventory after dying?

Use the appropriate gamerule:

/gamerule keepInventory true

The exact command behavior can depend on your Minecraft edition and version.

Why can’t I use Minecraft commands?

The most common reasons are disabled cheats, insufficient permissions, incorrect syntax, or using a command format that belongs to a different Minecraft edition or version.

Conclusion

Minecraft commands give players much more control over their worlds. From changing the game mode and weather to teleporting, giving items, building large structures, and creating custom maps, commands can make Minecraft more flexible and creative.

For beginners, start with simple commands such as /gamemode, /give, /teleport, /time, and /weather. Once you understand the basics, you can explore gamerules, target selectors, command blocks, and advanced building commands.

Whether you play Minecraft on a Windows PC, console, or mobile device, learning commands can help you build faster, experiment with game mechanics, and create your own unique Minecraft experiences.

Leave a Reply

Your email address will not be published. Required fields are marked *