Freeze time, control the weather and spawn diamond ponies with this Minecraft cheat sheet.

By Daniel Furn

Published: Tuesday, 07 February 2023 at 12:00 am


Minecraft can be a tricky game for newcomers to navigate. 

However, there are plenty of minecraft commands which you can use to improve your blocky adventures.

They range from simple options that let you handle routine interactions more quickly to more unusual commands which enable you do everything from teleport to change the weather.

You’ll be pleased to know that these aren’t the kind of toxic cheats that have been plaguing games such as Call of Duty Warzone – they’re only allowed in worlds where cheats are enabled, and are more focused on enhancing creative power than wiping out enemies.

So to take the hard work out of crafting and speed up your inventory navigation, here’s a list of the best Minecraft commands and cheats – which are achieved by something called console commands.

It’s not as complicated as it sounds, however, and all is explained below. You can also see our guide on how to tame a fox in Minecraft, and how to enable ray-tracing in the block-builder.

In the meantime, why not check out some of the best skins you can get your hands on in Minecraft, the best house ideas to build or the best Minecraft seeds.

How to use Minecraft commands

Firstly, as with most mods, these cheats are only available on PC, so console players will have to grind the old-fashioned way. Secondly, these can only be used on worlds where cheats are enabled – you’ll be asked this when you create a world, or opening a single-player game to LAN and selecting ‘Allow Cheats’.

With your cheat-enabled world ready and loaded, all you need to do is enter some commands now – with the first step to press the ‘C’ key to bring up the command bar.

The command bar is where you’ll enter the commands, and each one must be prefixed by a forward slash (/). You’ll also have to choose targets to be the recipients of your cheats – but rather than type out full names, you can use this shorthand target selector shortcuts:

That’s the basics – now you just need to enter your desired cheat through with the following console commands.

What are the best Minecraft console commands?

There are dozens of cheat codes to discover in Minecraft, but these five are a great place to start.

Read on to discover many more Minecraft console commands…

Minecraft player console commands

""
Mojang

Kill

/kill [player]
Kills your character. If there are other players in your world, you can also target them by typing their name.

Teleport

/tp [player] <x y z>
Teleport yourself  to specified coordinates in the world. again, can be used on another player by adding their name.

Status Effects

/effect <player|entity> <effect> [duration]
Applies the chosen effect to the specified player or entity, with the duration in seconds.

Clear Status Effects

/effect clear <player|entity> [effect]
Clears either all effects or  just a specified effect from a player or entity

Enchantment

/enchant <player> <enchantment> [level]
Applies a specified enchantment to the chosen player’s selected item, at an option of their choosing.

Experience

/experience add <player> <amount>
Adds the stated experience points to a specified player. Adding the the word levels at the end will add experience levels instead.

Help

/help [CommandName]
Provides more information on the selected command.

Give

/give <Player> <Item> [Amount]

Give another player a specified amount of an item in your inventory.

Minecraft World Console Commands

""
Minecraft with ray tracing
Nvidia

Seed Code

/seed
Gives you a seed code so you can recreate your world later.

Set World Spawn Location

/setworldspawn [x y z]
Set the world spawn location either to the player’s current position or a set of entered coordinates.

Change Game Mode

/gamemode <type> [player]

Change the game mode type to either survival, creative, adventure, or spectator.

Change Difficulty Level

/difficulty <level>
Change the difficulty level to either peaceful, easy, normal, or hard.

Change World Time

/time set <value>
Change the world game time with the following values: 0 = Dawn, 1000 = Morning, 6000 = Midday, 12000 = Dusk, or 18000 = Night.

Stop Day/Night Cycle

/gamerule doDaylightCycle false
Turn the day/night cycle off, and change false to true to restart it.

Weather

/weather <type> [duration]
Change the weather,  with the type as either clear, rain, or thunder and an optional duration in seconds.

Turn Off Weather Changes

/gamerule doWeatherCycle false
Turn off weather changes, replacing false with true once again to reactivate.

Clone Blocks

/clone <x1 y1 z1> <x2 y2 z2> <x y z>
Clones the blocks between coordinates <x1 y1 z1> and <x2 y2 z2>, and place them at coordinates <x y z>.

Atlantis mode

/atlantis

A creative one this one – raise the water level in your world to imitate Atlantis.

Change Fall damage

/falldamage
Turn fall damage on and off.

Fire damage

/firedamage
Turn off and on fire damage.

Water damage

/waterdamage
Change whether water damage is enabled

Instant plant

/instantplant
Planted seeds grow instantly.

Instant mine

/instantmine
Enables one-click mining.

Minecraft Item and Mob commands

""
Mojang

Add to Inventory

/give <player> <item> [quantity]
Adds a specified item to the player’s inventory, in the chosen quantity if possible.

Keep Inventory After Death

/gamerule keepInventory true
You do not lose your inventory items after dying. Again, replace true with false to undo.

Summon Entities

/summon <entity> [x y z]
Spawns the mod or other entity at the player’s location, or chosen coordinates.

Store items

/dropstore
All inventory items are stored in a newly spawned chest.

Item damage

/itemdamage
Weapons no longer take damage or degrade.

Duplicate

/duplicate
Copies the equipped item stack.

Smelt item

/superheat
Smelts selected items.

Ride

/ride
Turns the selected creature into a mount.

Freeze

/freeze
Freezes selected mobs.

Check out some of the best subscription deals in gaming below:

Visit our video game release schedule for all upcoming games on consoles. Swing by our hubs for more gaming and technology news.

Looking for something to watch? See our TV Guide