How to use commands in Minecraft

How to use commands in Minecraft for PC

If you want to know how to use commands in Minecraft for PC, in the next chapters I will show you in detail how to perform this operation on both Java Edition, available for Windows, macOS and Linux, which on version Bedrock Edition for Windows 10 (the same also available for mobile devices and game consoles). If you want to know more about these versions of Minecraft, I suggest you consult my guide dedicated to the subject.



Minecraft Java Edition

How to use commands in Minecraft

If you own Minecraft Java Edition, you can easily enable the command console, which is useful for entering command strings, using two different methods.

First, you can enable the command console before creating a new world in Minecraft. To proceed in this way, after starting the game, select the items Single player> Create a new world, click the button commands, in order to change the wording to Yes, and press the button Create a new world.

Alternatively, if you have already created a world in Minecraft on which you did not initially enable cheats, press the key Esc to access the pause menu. At this point, click on the button Open in LAN and press on the item commands, to change it to Yes. Then confirm the operation by pressing the key Open the world in LAN.

I warn you that, in case you have not enabled the command console from the beginning of the creation of the world, the only way to activate it is by opening the world in LAN, as I explained to you in the previous paragraph. This procedure, however, will only allow you to enable the cheats temporarily (i.e. as long as the game session remains open).



This means that you will, from time to time, enable the LAN world to activate the command console. If, on the other hand, you have enabled the latter to create the world, this will always be active, even when exiting and re-entering the game world.

How to use commands in Minecraft

Now that you have enabled the console, go back to the game world and press the button T on the keyboard, in order to open the chat screen useful for entering commands. At this point, all you have to do is type in the character /, followed by the command name.

At the first typing of the character /, you will be shown in a box above the chat, in alphabetical order, all the commands you can enter. For example, if you want to change the game mode from Survival a Creative, you have to type the command / gamemode, then followed by the parameter creative, forming the complete string / gamemode creative.

Once this is done, you just have to press the button Submit on the keyboard, in order to send the command and perform the requested operation. A message will notify you that the command has been successfully sent. In case of failure, however, you will be notified of an error, highlighting the wrong argument of the text string entered.

An example of using the command console can be found in my guide on how to teleport on Minecraft, in which I told you about how to move from one place to another in the world of Minecraft knowing only the coordinates. But if you want to know more about the commands you can use in Minecraft, my advice is to consult the complete list available on the English Wiki hosted on Gamepedia.com.


Minecraft Bedrock Edition

How to use commands in Minecraft

If you own Minecraft Bedrock Edition, the Minecraft edition available on PC with Windows 10 and on all other devices, you can enable the command console through the world settings panel.


If you haven't created a world yet, start Minecraft and press the button Play present in the main screen. Once this is done, press on the items Create New> Create New World and scroll the screen until you find the item Activate the cheats present in the card Game. Therefore, move the appropriate lever next to this wording on ON and premium tasto Crea, to confirm.

If you have created a world without activating the tricks, you don't have to worry, the procedure is similar: press the key Esc, to access the pause menu of the current game session, and click on the item Settings. Then locate the entry Activate the cheats and move up Yes the lever next to it.


Now, all you have to do is enter the game world, press the button T on the keyboard, to open the chat, and then type a command, preceded by the character /. For the list of available commands, you can refer to either the one that is previewed on the chat screen, or you can consult the English Wiki hosted on Gamepedia.com.

Just to give you an example, if you want to duplicate the diamonds, what you have to do is use the command / give @s minecraft: diamond [number], replacing the tag [number] with the desired numerical value. If you would like to know more about this command, I can advise you to carefully read the tips I gave you in my guide on how to duplicate diamonds in Minecraft.

How to use commands in Minecraft for smartphones and tablets

How to use commands in Minecraft

As I have already told you in previous chapters, the version of Minecraft for smartphones and tablets it is the same as that available on other platforms, which is called Bedrock Edition.


In this case, for use the command console, all you have to do is read the tips I gave you in the previous chapter dedicated to this version of Minecraft. The operations to follow are the same as those to be performed on Windows 10, the only thing that changes is the procedure to open the chat during the game session: all you have to do is press onfumetto icon that you find at the top.

The procedure for entering the commands is also the same as the one I have already shown you in the chapter on Minecraft Bedrock Edition. Therefore, carefully follow all the suggestions I gave you in the latter, so as to be sure that you can use the command console correctly.

How to use commands in Minecraft for console

How to use commands in Minecraft

If you play the console version of Minecraft, also named Bedrock Edition, the activation of the command console and its use follow exactly what I have already described in detail in the chapter dedicated to this version of Minecraft for Windows 10.

Therefore, what I advise you to do is to read carefully what I have already explained to you in that chapter, so as to be sure that you can correctly use the command console on Minecraft.

How to use commands in Minecraft

add a comment of How to use commands in Minecraft
Comment sent successfully! We will review it in the next few hours.