In the previous articles, we discussed various ways to customize the Minecraft experience. The center of interest of this post is another feature of Minecraft, and that is the use of commands in the game. Minecraft commands are quite useful to modify and manage the world you have created. There is a wide range of commands with many possibilities. Some commands are simple for basic interactions, and some are powerful commands to modify almost everything in the world.
How to Enter Minecraft commands:
Entering the Minecraft command is as simple as creating a new world from the menu. Once you are in the world, press the forward-slash “/” key to get the command bar, where you will type your command. Every command you enter must start with a forward slash (/) if you play it as a single player.
If you are getting the error “command not found,” then press the “Esc” key, then go to “Open to LAN” options and “Allow Cheats: ON” and click on “Start LAN World“:
How to select targets with Minecraft commands:
Before exploring Minecraft commands, let’s talk about how to select a target. For instance, if you want to give some items to a player, you have to select that player and target that player using “@<Selector Variable>“. Here is the list:
|@a||To target all Players|
|@e||To target all Entities (Bats, Arrows, Creepers, etc.)|
|@p||To target the nearest Player|
|@r||To target a random Player|
|@s||To target the person executing the command (yourself)|
The above mentions target selectors greatly help to target players without specifying their names.
Let’s discuss some well-known commands and their usage in Minecraft:
To get help and usage about any command, use help with a forward slash:
To get help with the “gamemode” command, use:
Minecraft has 2 modes, the creative mode where you have unlimited resources, you can fly, and no mob attacks while in survival mode, your health keeps on dropping, and there are mob-attacks as well, but with the usage of the command, the mode of the game can be changed immediately. Press forward, slash “/” and type:
If you are in creative mode, use the same command to get into the survival mode:
You can also enable adventure and spectator mode.
Another important command you must know is changing game difficulty. You got to set game difficulty before generating your world. But with the command, the difficulty level can be modified at any time. Press “/” and type:
To add more challenges to your game experience, replace easy with normal or hard. But if the game is getting more difficult, then use difficulty level “peaceful”.
If you are interested in generating the seed of your world so you can use it to load an identical world in the future, then used the command given below:
This command will generate a seed code.
It would not be easy to move from place to place on feet if your world is gigantic. In this situation, teleport command can help you. With the use of this command, you can teleport anywhere in your world. Another benefit is that you can also teleport other players and items using this command. Teleport command is a big time-saver; to use it, press forward slash “/”:
Type “tp” select target as discussed above and input coordinates x, y, and z.
Another interesting command is changing the weather. To change the weather, type the following command:
For the <type> field, use “clean”, “rain,” or “thunder,” and in the time field, input the number of seconds you want to keep that weather.
The above command will change the weather to thunder for 30 seconds.
Summon command is another handy Minecraft command you must know. Using this command, you can instantaneously get any object, item, or mob at your specified location. The syntax is
Just type the name of any Minecraft entity and then specify the position and NBT. Position and NBT is an option. For instance, if you want to summon a horse, use:
This command is simple but important to remember. In Minecraft, 50 seconds of real-time equals 1 hour Minecraft, and 20 minutes of real-time equals 1 day of Minecraft. With command, you can also set time:
The <Time> could be a letter “day”, “midnight”, “night”, “noon” or you can put a number as well, a list of time numbers is given below:
|0||For day time|
The above command will set the time to dusk. But there is a command as well to stop the time as well.
To stop the time ticking, use:
If you want to play under permanent sunlight or permanent moonlight, then use the above command. To resume the time use:
Who wants to hit several times to mine when there is a quick way to do it. To enable one-click mine with any tool, use the command:
To kill anyone in the game, use the “kill” command, you can target yourself or any other character in the game:
For the most part, Minecraft is moving from place to place; how about changing the moving speed, yes! That’s is possible in Minecraft. You can change the speed using the command:
Every creature has its own default movement speed, but the maximum value is 1024.
Disabling the fire damage and fall damage could be quite helpful. To disable it fire damage use:
And to disable fall damage use:
Commands can be cheats for some people, but they are used to save time and shape your gameplay according to your preference. In this post, we learned another technique to modify the Minecraft game experience. Being a sandbox game, there is a lot to explore in Minecraft. Still, sometimes exploration becomes tedious and monotonous, and to overcome it, they add an interesting layer of features. There are plenty of commands used for various purposes, but in this, we covered those commands that you must know if you are new to this feature.