The same commands as in regular chat. What is it command block, how to get it and how to use it? In this article we will tell you about it!

This is really a very useful block and it expands the possibilities of creating maps in Minecraft

You can find a complete list of commands at, but not all of them work in Minecraft on Android, IOS and Windows 10 versions.

+ command blocks in MCPE:

  • Unlike the PC version, in PE command blocks do not place heavy loads, i.e. FPS will be stable.
  • The command block interface is adapted for mobile devices.
- command blocks in MCPE:
  • Too little functionality.
How to get a command block?
In the game, you cannot get a command block by crafting, but you can issue it using the command /give Steve command_block, Where Steve nickname of the player to whom the team will give this block. Instead of Steve, you can also use @p, meaning you give the block to yourself. Don't forget to enable cheats in the world settings.


How to enter a command into a command block?
To do this, you need to open its interface. This is done very easily, just tap on it. In field Entering a command The command block itself fits in, which the command block will execute. Just below is a field where you can see an error if you entered something wrong.


Example commands:
  • give @p apple 5 - gives the player five apples.
  • setblock ~ ~+1 ~ wool - places a block of wool at the player's coordinates.
  • tp Player 48 41 14 - moves a player with the nickname Player to a point at coordinates x=48, y=41, z=14
Who do command blocks work with?
Thanks to pointers, you can point to the player or creature on whom the command will be executed:
  • @p is the player who activated the command.
  • @a - all players.
  • @r is a random player.
  • @e - all entities (including mobs).
Auxiliary pointers:
How can I make it so that, for example, it moves all the players to some point except itself? Yes, it’s easy, for this you need to use additional pointers, for example: tp @a 228 811 381- teleports all players except the player with the nickname Admin exactly x=228, y=811, z=381. All parameters:
  • x - coordinate along the X axis. If you put instead of the value ~
  • y - coordinate along the Y axis. If you put instead of the value ~ , then the dot will be the command block.
  • z - coordinate along the Z axis. If you put instead of the value ~ , then the dot will be the command block.
  • r - maximum search radius.
  • rm - minimum search radius.
  • m - game mode.
  • l - maximum experience level.
  • lm - minimum experience level.
  • name - player's nickname.
  • c is an additional argument to @a that limits the number of players to execute the command. For example, if you enter @a, the command will affect the first five players from the list, @a will affect the last five from the list.
  • type - as an example, the command /kill @e will kill all skeletons, and the command /kill @e will kill all non-player entities.
Example command:
  • give @p gold_ingot 20 - gives the nearest player who is within a radius of 10 blocks 20 gold bars.

Command block modes

There are three command block modes available: pulse, chain, and repeat - the color of the block changes depending on the mode.
  • Pulse mode (orange): activates the specified command
  • Chain mode (green): the command will work if the block is attached to another command block and connects to other command blocks
  • Repeat mode (blue): The command is repeated every tick as long as the block has power.


Pulse mode
These are ordinary command blocks that are used to interact with chain blocks, but you can simply execute commands in these blocks.


Chain mode
I think it’s already clear from the name that this command block mode works according to the “chain” scheme.

Please note that for the chain type to work, you need a command block with a pulse, which will send the signal, as well as a red stone block, without which the command block with the chain type will not work.


Team title and its parameters:
  • title clear - clears messages from the player's screen.
  • title reset - clears messages from the player screen and resets settings.
  • title title - the title that shows the text on the screen.
  • title subtitle - a subtitle that is displayed when the title appears.
  • title actionbar - displays a caption above the inventory.
  • title times - appearance, delay and disappearance of text. The default values ​​are: 10 (0.5 s), 70 (3.5 s) and 20 (1 s).
Example of command execution:
  • title @a title §6Start - title with orange color.
  • title @a actionbar Hello! - displays text above the inventory.
  • title @a subtitle Chapter 1 - subtitle.

The execution of any actions assigned by the game participants is carried out by command blocks. You won't be able to create a team like this while playing in survival mode. Summoning them as tools while using creative game mode will not work either. To functionally obtain such blocks, you need to use a couple of fairly simple commands, which, in fact, will allow you to call them. Let's look at a few simple methods.

Get a Command Block in Minecraft: Method 1

Launch Minecraft and select single player mode. Create a world with cheats enabled.

Open the chat window and press the “/” key. This symbol will open a window in which you can enter commands.

Enter the destination you need by selecting from the following lines:

  • “/give” the name of minecraft:command_block and the required number - after entering it into the console, the summoned items will appear among the tools;
  • “/setblock x y z minecraft:command_block” – this line turns one of the blocks into another, making it a command block, and to find it, you need to press F3 and select one of the found ones;
  • “/summon Item x y z (Item: (id:minecraft:command_block, Count:1))” – by entering this sequence, the game participant will summon blocks where he needs them.

Get a Command Block in Minecraft: Method 2

Launch the game, select single player mode. Log in to an existing world, perhaps it will be a server. Enter the chat required to set commands by clicking on “/”.

Enter one of the suggested options:

  • “/give name minecraft:command_block required number” – this line allows you to summon the required number of items and add them to your existing inventory;
  • “/setblock x y z minecraft:command_block” – if you enter this text, you can replace any existing block with a command block, and to determine the location where it is located, you need to press the F3 key;
  • “/summon Item x y z (Item: (id:minecraft:command_block, Count:1))” – blocks will appear in the specified area.

Get a Command Block in Minecraft: Method 3

  • Using the "E" key, drag the block and place it on the panel. Click on the right mouse button and place the item on the ground.
  • Click on it again with the same mouse button. This will open a menu where you can configure actions.
  • In this window you need to enter the symbol “/”. The options in these blocks are similar to those used in chat. They are sometimes connected to an electrical board. This allows commands to be executed automatically.
  • Press the “/” key, a console window will appear in which write the word “help”. After it, type the name of the item to which the sequence of commands is prescribed.

In which a long-awaited innovation was added - command blocks.

Using command blocks, you can set specific commands that can apply both to the entire server and to a random player.

Important to know: Commands can only be set to create a game world and only in creative mode. Command blocks do not work in Survival mode.

Many players do not know or understand how to use these blocks and what commands need to be entered to make them active.

To get a command block you need to open the chat and enter the command /give @p command_block

Then we select it and install a lever or any other activator to it.

How to specify a command for a command block?

In order for a command block to perform a particular function, it needs to be given a specific command. To do this, click on the command block and a window with settings will open. In the “Console command” field we need to enter the command we need.

Below you will find the Top 15 most popular commands for the command block on mobile Minecraft.

Top 15 commands for Minecraft PE

/title @a title Your message. Using this command, you can write and transmit some message or instruction to everyone on the server.

/effect @a regeneration 2000 2000. Regeneration command. 2000 is a level and quantity.

/tp @a 0 0 0 . Where are your coordinates, and 0 0 0 are the coordinates where you need to teleport. To find out your coordinates you need to download a special mod.

/clone~ -1~1~3~3~-3~4~-1~-3 Command for an endless road for a trolley. That is, the road will be constantly cloned and created.

/setblock its coordinates diamond_block . Command for an endless diamond block. This way you can get rich very quickly.

/weather rain . Command to change the weather to rain.

/weather clean .Command to change to clear weather, turns off the rain.

/gamemode 0 – Quickly switch to Survival mode. /gamemode 1 – switch to creative mode. We set for whom the mode will change, for example /gamemode 0 @a - this way the mode will be applied to all players.

/time set night – this command changes the time of day to night. /time set day – thanks to this command, the day will come in Minecraft.

/give @a diamon 1 – a command that gives you items that you specify. In our case, these are diamonds. Where is 1 the number of diamonds.

/spawnpoint – thanks to this command you can set the spawn point after you die.

/kill – A command that kills everything on the map. You can specify what exactly needs to be killed, for example, animals or creeps.

/difficulty – a program that changes the difficulty of the game. You can bet from 0 to 3.

/say – a command with which you can also communicate with players on the server.

A command block is a cell in which you can enter various commands. The block itself begins completing the task when it receives a signal from the red stone. This block well expands the actions when creating maps in minecraft, or where there is a right to privatize some part or territory. The use of such a block is simply necessary in some game situations, when everything can depend only on you. And the commands that you can enter can save others or protect you in this pixel world.

So, let's look at how to make a command block in Minecraft 1.8.9 without mods. I would like to immediately disappoint you that it is simply impossible to create a command block. But it is possible to get it, since this is in charge of the server administrator. Or the player himself in single player mode. To receive it, you need to type /give Player command_block . The player value is the name of the player who needs this block.

After we learned how to make a command block in Minecraft 1.8.9 without mods, we need to figure out how to write the command itself into it. To do this, you need to open a command block, and this is done using the mouse button. You need to right-click on the block. Next, a window appears in which the command itself is entered. By the way, a little lower there is a log line in which you can conveniently monitor the results of executed commands, as well as errors that may have occurred.

In order to explore the entire list of available commands, you need to type /help in the chat window.

Using a command block will clearly make your game and performance easier, because with such a block you can perform many actions by writing the necessary commands into them. Also, depending on the type of game, you may have some privileges, since you are able to reward your comrades or yourself. Also, the distribution of commands can be adjusted to those nearby, to a random player, to all players in the world, or to all entities that live throughout the map.

Many of you know that in Minecraft it is possible to achieve the goals the player needs by writing a certain command on the command line. It is very comfortable. It is also very convenient to download free games for Android and enjoy your favorite game from your phone or tablet. But you should always strive to improve convenience. At this point, the developers were promoted to such interesting thing, like a command block. The essence of this device is that it fulfills your console commands, receiving a signal from redstone (attention to the screen). With the advent of this block, the capabilities of crafters creating maps with adventure mode have significantly expanded.

Of course, having such functionality, the command block is not at all “eager” to succumb to crafting. Only the “chiefs” of servers - their administrators - can get it in multiplayer. To do this in " server.properties"they need" enable-command-block» set to position « true" Why is such a useful thing only available to management in a multiplayer game? Everything is very logical. Imagine that two neighboring gardeners will pray at the same time: one for rain, the other for clear skies. Who should I answer? First or second? That’s how it is in Minecraft, if all crafters could get to the command block, whose will, whose commands should he carry out?

But single people can also get a magic box. To do this, you need to write the following cheat code in the settings: /give @p command_block. Considering the number of cheat codes, the owner of the command block becomes a truly cool crafter. Do you want to become your own director? Try this device.

Signposts

However, such a multifunctional box requires the ability to use it. “Trachtibidoch” is clearly not enough here, but nuclear physics there is no smell here, so fears go away. Let's start with the fact that you need to use the command block through an interface with a text area. You can save changes made only if you have the status of a server administrator and creative mode. The entered commands will be executed in Minecraft by activating the block with redstone. To use a full command block, it is very useful to use special pointers to gamers:

  • @p - to the nearest player
  • @a - a “hint” to all crafters, if the situation allows it
  • @r - random player
  • @e - pointer to all Minecraft entities

For example, if you have good mood, and you want the crafter closest to the device to enrich himself with cobblestones, you need to issue the following: /give @p (4). The id of the cobblestone is indicated in parentheses. Do you want to communicate with crafters in writing? Enter in the interface field: /w @a [your text]. You can write, for example: “What do you want here, next to my command block?”

Pointer Arguments

The pointer to a specific crafter can become even more specific if you use arguments that should be specified separated by commas and in [square] brackets, for example, like this: @p. Minecraft has the following arguments:

  • X, Y, Z- coordinates of the search center. If we set the value to “~” (tilde), then the center will be our command device
  • r- search radius (maximum)
  • rm- search radius (minimum)
  • m- game mode argument
  • l- experience level (maximum)
  • lm- experience level (minimum)
  • name- player nickname
  • c is a special argument for the pointer " @a" Its purpose is to limit the number of crafters to whom commands are applied. Eg, @a- the first 8 crafters from the list, @a- last 8.