FaceTime Like A Pro (eBook)

Get our exclusive Ultimate FaceTime Guide 📚 — absolutely FREE when you sign up for our newsletter below.

All Minecraft cheats and commands: Full list and how to use them

From quick teleports and free diamonds to weather controls and large-scale building tools, Minecraft commands offer plenty of ways to customize your world. This guide covers useful examples and setup instructions.

Minecraft seems like a simple game at first, but there’s a lot more to it than meets the eye. From collecting resources and crafting items to fighting hostile mobs and exploring massive worlds, there’s always something new to discover. However, keeping track of every gameplay mechanic can feel overwhelming, especially if you’re just starting out.

That’s where Minecraft commands come in. These built-in instructions let you control different aspects of your world, whether you want to switch to Creative mode, teleport to a location, change the weather, summon mobs, or give yourself valuable items. Some players use them to make Survival easier, while others rely on them to experiment with builds and create custom experiences.

To help you get started, here’s a guide to the most useful Minecraft cheats and commands, including how to enable cheats, how to use commands, and examples for different gameplay situations.

All Minecraft commands at a glance

Minecraft command
CommandWhat it does
/help [CommandName]Provides detailed info about a specific console command.
/give <player><item>[Amount]</item></player>Provides a player with a certain amount of a selected item.
/tp [TargetPlayer] x y xMoves a player to a selected portion of the map.
/kill [TargetPlayer]Kills a mob or player.
/gamemode creativeSwitches your entire server to Creative Mode.
/weather WeatherTypeChange the weather to Rain, Thunder or Snow.
/timeChange the time of day.
/gamemode survivalSwitch your server to Survival Mode.
/difficulty [Setting]Change difficulty between Peaceful, Easy, Normal and Hard.
/summonCreate the target object.
/seedDisplay the code for your current seed.
/atlantisIncrease the amount of water in your world.
/falldamageEnable or disable fall damage.
/instantmineMine anything in the world with one single click.
/firedamageEnable or disable fire damage.
/waterdamageEnable or disable water damage.
/dropstoreStore your inventory in a chest.
/duplicateMake a duplicate of the item you are holding.
/instantplantGrow plants instantly.
/gamerule keepInventory trueKeep all your items after death.
/gamerule doDaylightCycle falsePuts an end to the day/night cycle.
/rideMakes one entity ride another in Java Edition.
/FreezeFreezes all mobs.
/superheatTurns all items into their smelted form.
/itemdamageStops wear damage on all weapons.
/locate [location name]Gives you the coordinates for generated structures.
/camerashakeShakes the camera.
/clearspawnpointRemoves spawn point for a player.
/connectConnects to the WebSocket servers on the provided URL.
/deopRevokes operator status for players.
/dialogueOpens NPC dialogue for players.
/effectAdds or removes status effects.
/enchantAdds an enchantment to the player’s selected item.
/eventTriggers an event for the specific object(s).
/fillFills all or parts of a region with a specific block.
/fogAdds or removes a fog setting file.
/damageApplies damage to entities.
/execute summonAllows customisation of a newly spawned entity.

How to enable cheats in Minecraft

In order to use Minecraft commands, you’ll first need to enable cheats in your world. The process is quite different for Java and Bedrock Edition, so let’s walk you through the steps for each version.

Your Complete iOS 26 Playbook:

Get our exclusive Ultimate iOS 26 Guide 📚 — absolutely FREE when you sign up for our newsletter below.

[convertkit form=6147905]

1. Java Edition

New World

  1. Launch Minecraft.
  2. Choose Singleplayer from the main menu.
  3. Click on Create New World.
  4. Open the More World Options menu.
  5. Locate “Allow Cheats” and switch it ON.
  6. Create your world to start playing.

Existing World

  1. Load your single-player world.
  2. Press Esc to open the pause menu.
  3. Choose Open to LAN.
  4. Turn Allow Cheats to ON.
  5. Hit Start LAN World.

Note: Keep in mind that enabling cheats through Open to LAN is temporary. The setting applies to that LAN session rather than permanently changing the world’s original cheat setting.

2. Bedrock Edition

New World

  1. Open Minecraft.
  2. Click on Create New World and open settings.
  3. Find the Cheats section.
  4. Switch on the Activate Cheats option.
  5. Create the world and begin playing.

Existing World

  1. Return to the world selection screen and find your saved world.
  2. Click on the pencil icon right next to the world to edit its settings.
  3. Scroll down to the Cheats section.
  4. Switch on Activate Cheats.
  5. Load the world.

Note: Enabling cheats in a Bedrock world disables achievements for that world. This change cannot be reversed for that save, so consider making a backup before enabling cheats.

How to use Minecraft commands

Minecraft copper

Once cheats have been enabled, running commands in Minecraft is quite simple. Just follow these steps to enter and execute any command in your world:

  1. Press T on your Keyboard or open the chat window.
  2. Type / followed by the command you want to execute.
  3. Enter any additional information necessary for the command, such as the player’s name or coordinates.
  4. Press Enter or the send button on your platform to execute the command.
  5. The command will be executed as long as you have the required permissions.

Before experimenting with commands, there are a few things worth remembering. Minecraft commands and their effects can depend on whether you’re playing Java or Bedrock Edition. If you’re unsure what commands you have access to on a multiplayer or single-player server, you can type / in the chat window to see what’s available.

All Minecraft game mode and difficulty commands

Minecraft offers four main game modes, each designed for a different playstyle. You can switch between them using the /gamemode command.

1. Game mode commands

Minecraft lets you choose between four game modes: Survival, Creative, Adventure, and Spectator. Here are the commands to switch between each of them.

Game modeCommand
Survival/gamemode survival
Creative/gamemode creative
Adventure/gamemode adventure
Spectator /gamemode spectator

2. Difficulty commands

You can also adjust the difficulty of your world. There are four levels, and each affects the game in multiple ways.

DifficultyCommand
Peaceful/difficulty peaceful
Easy/difficulty easy
Normal/difficulty normal
Hard/difficulty hard

3. Minecraft teleport commands

Minecraft flying ghost
CommandWhat it does
/tp @s 100 70 100Teleports you to the coordinates X=100, Y=70, Z=100.
/tp PlayerName 100 70 100
Teleports a specific player to the specified coordinates.
/tp @s PlayerNameTeleports yourself to another player’s location.
/tp Player 1 Player2Teleports Player1 to Player2’s location.
/tp @a 100 70 1000Brings all players to the specified coordinates.
/tp @s ~ ~10 ~Moves yourself 10 blocks upward from your current position.
/tp @s ~10 ~ ~Moves yourself 10 blocks along the positive X-axis.
/tp @s ~ ~ ~ 10Moves yourself 10 blocks along the positive Z-axis.

4. Minecraft item and inventory commands

If you want to get specific items, clear your inventory, or enchant your equipment, these commands can save you plenty of time.

CommandEffect
/give <player> <item> [amount]Gives a player a specific quantity of items.
/clear [player] [item] [maxCount]Removes items from an inventory.
/itemModifies or replaces items in block or entity slots.
/replaceitemReplaces a specific item in inventory in Bedrock edition.
/enchant <player> <enchantment> [level]Applies an enchantment to the item a player is holding.
/lootGenerates or distributes loot from loot tables.
/recipe take <player> [recipe]Takes away a crafting recipe for a player in Java Edition.
/recipe give <player> [recipe]Gives access to a crafting recipe for a player in Java Edition.
/summon <entity>Summons a mob or entity.

5. Minecraft weather and time commands

Java and Bedrock Edition
CommandEffect
/weather clearClears all weather effects in the world.
/weather thunderBegins a thunderstorm.
/weather rainBegins rain.
/time query gametimeShows the total in-game time elapsed in ticks.
/time query daytimeShows the current time of day in ticks.
/time query dayShows the number of in-game days passed.
/time add <ticks>Pushes the in-game time by the specified number of ticks.
/time set daySets the time to day.
/time set noonSets the time to noon.
/time set nightSets the time to night.
/time set midnightSets the time to midnight.
/time set sunriseSets the time to sunrise.
/time set sunsetSets the time to sunset.

6. Minecraft mob and entity commands

CommandEffect
/summon <entity> [position]Spawns a mob or an entity at your specified coordinates.
/kill <target>Eliminates a targeted mob or player.
/tp <target> <destination>Teleports a mob, entity, or player to another location.
/effect give <target> <effect> [seconds] [amplifier]Applies any kind of status effect to a player or a mob.
/tag <target> add <name>Adds a tag to an entity in the world.
/ride <target> mount <vehicle>Displays the entity’s data in Java Edition.
/data get entity <target>=Makes one entity ride another in Java Edition.
/gamerule doMobSpawning falseStops the spawn of mobs.
/gamerule doMobLoot falseStops the loot drop from mobs.

7. Minecraft building and world-editing commands

Minecraft copper golem workshop

If you enjoy building structures, designing custom maps, or experimenting with different blocks, world-editing commands can make the process much faster.

CommandEffect
/fill <from> <to> <block>Completely fills an area with a specific block between two sets of coordinates.
/setblock <position> <block>Replaces or places a single block at your specified coordinate.
/clone <begin> <end> <destination>Copies blocks from one area to another.
/fill <from> <to> airClears blocks in a selected area.
/fill <from> <to> <block> outlineBuilds the outer boundary of an area without filling the interior.
/fill <from> <to> <block> hollowCreates a structure made out of walls with the chosen block.
/place structure <structure>Places a supported structure at your location.
/fill <from> <to> <block> replace <filter>Replaces specific blocks in a selected area.
/place feature <feature>Place a supported structure at your location.
/place structure <structure>Generates a supported world feature.
/locate structure <structure>Finds the coordinates of a specified structure.

Wrapping up

Minecraft commands are a useful way to control your world, whether you want to teleport to specific locations, give yourself diamonds, change the weather, summon mobs, or build structures faster. To use them, enable cheats in your world or make sure you have the required permissions on a multiplayer server, then enter your chosen command in the chat window.

Remember that Java and Bedrock Edition don’t support every command in exactly the same way. Check the syntax for your edition before using a command, and consider making a backup before experimenting with commands that modify large parts of your world.

FAQs

What is the most useful command in Minecraft?

The most useful command in Minecraft is the /teleport command as it allows you to save time while exploring or building.

Do Minecraft commands work in Survival mode?

Minecraft commands work in Survival mode, as long as you have cheats enabled in your world and have the permissions to use them.

Can you use commands in Minecraft without enabling cheats?

You generally can’t use most of the Minecraft commands without enabling cheats or having the right permissions. However, you can still use certain commands on multiplayer servers if you have permissions.

How do you get command blocks in Minecraft?

You can get command blocks in Minecraft by using the /give command. However, you will need to enable cheats first.

What is the command to get 64 diamonds in Minecraft?

To get 64 diamonds, use the following command: /give @s diamond 64.

How do you teleport to a village in Minecraft?

To teleport to a village in Minecraft, first find the coordinates of the nearest village, and then use the /teleport command.

Add Igeekblog as a preferred source on Google

Dhruv Bhatnagar
Dhruv Bhatnagar

Dhruv is an enthusiastic gamer, a lifelong Xbox loyalist, a Formula 1 fan, but above all, he's a journalist committed to strong principles. With experience at publications like GameRant, FandomWire and AFKGaming, writing about games just isn’t work for him, but it’s a passion.

Articles: 72

Leave a Reply

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