How to write commands in Minecraft on your phone. Command blocks in Minecraft PE. How to use the command block. Command block commands. How to make a command block: ways to obtain it

It's no secret that Minecraft is a game that allows you to interact with a huge number of different blocks. They all have different functions, appearance, location in space, and it is from them that the game world is made up. There are earth blocks, water blocks, stone blocks and so on. You can take them into your inventory or place them back in the world, you can process them, obtaining, for example, the material itself from a block of stone, which can then be processed. In general, the concept of the game is based on blocks, but there is one example that is completely different from the rest - the command block. Various things play an important role in Minecraft, and this object is more related to the console than the game itself. At first this may sound quite strange, but if you look into it, everything will be quite obvious.

Teams in Minecraft

If you play exclusively in the single-player mode of Minecraft, then you may not even know that this project has a console. It significantly expands the functionality of the game, but this is mainly relevant exclusively for multiplayer mode. The fact is that the server administrator uses the console and the commands that can be entered there to set special conditions game. in Minecraft it serves the same purpose, but in a slightly different way. First, let's look at how commands are used in principle. The administrator can call the console at any time during the game and enter a command there that will change a certain aspect of the game. This can be something mundane, for example, adding monsters or restoring the natural landscape, or something global - even changing the game mode. As you can see, commands in Minecraft give the administrator the full powers of a god in his separate world games. But why then have a command block in Minecraft if the administrator can simply enter commands and activate them in the console?

Command block

Many Minecraft fans are not aware of the existence of a command block, and if they have seen it, they do not know how to use it. In fact, everything is quite simple - the command block in Minecraft is used to automate certain commands and create specific conditions and events. That is, the administrator can place a command block on the map, assign certain commands for it that will be launched when the player activates this block - and now the event for this game is ready. In the block field you can specify who the effects will affect, what they will be, and much more. Thus, command blocks in Minecraft 1.7.2 serve to diversify the gameplay.

Command block conditions

It's unlikely that anyone can argue with the fact that the command block in Minecraft 1.5.2 and later versions is a very powerful and functional object. That is why a simple player cannot get it. This block, as mentioned earlier, is available exclusively to server administrators; it cannot be crafted or knocked out of mobs. The only way for an ordinary player on the server to obtain such an object is through cheat codes, but for this you can be instantly banned. Moreover, if you are not banned for receiving a command block, then its use will certainly not go unnoticed, and you will still lose access to the server. Therefore, it is better to play by the rules, and if you want to use the command block, you can create your own server where you will have all the rights, including access to this object.

Using a command block

As for directly using the command block, everything is quite simple. First, the necessary commands are prescribed to him - the administrator can do this by right-clicking on the block - a field will appear on the screen in which you will need to specify everything the necessary conditions, commands and other information, such as text messages to players. The block is then placed in the game world where players can find it. A red stone is placed next to the block, and when activated, a signal is transmitted to the command block. Naturally, you can set the conditions so that the command is executed continuously or periodically at equal intervals. Thus, you can set fairly clear conditions for the execution of the desired command if you know how to use the command block in Minecraft. Teams can be very diverse, so you can create unique conditions for the players on your server.

Command block activation

In addition to activating the command block using redstone, you also need to know how to activate it when creating a server. You should understand that server planning includes detailed configuration of absolutely everything that will touch your world. Among the huge amount of data that you will need to customize in the server properties, there is one line - enable-command-block. It is she who is responsible for whether there will be a command block on your server or not. A value of true enables the command block, and a value of false disables it.

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 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.

When creating any playable map that will differ from randomly generated areas, construction, pixel art or story scenarios, the server administrator cannot do without using the “built-in” functions. To implement them, you can use a command block. This special device, in which you can write a system command, starting from the player receiving a resource and ending with his teleportation to a specified location. But how do you issue yourself a command block?

Warning

There are only two ways to purchase this item. Both of them are that you will need to use system commands. This comes from the fact that it is impossible to make (craft) with improvised materials. That is why the question: “How to issue a command block to yourself?” - remains relevant always. No matter what mods you set for yourself, no matter how you experiment with the ingredients, nothing will work out for you. Anyone who claims that by downloading his mod you will be able to create command blocks is a scammer who is trying to plant a virus on you. So how do you issue yourself a command block?

Methods

The first method of obtaining a command block is that you can create a map in creative mode. Command block will be available for pickup among other items.

The second method is a little more complicated. To do this, you will have to use How to issue yourself a command block using the system? To do this, you will have to open the chat and write the following: /give [name:command_block [number]. This command will also be the answer to the question of how to give it to another player.

All syntax is written without parentheses. Instead of the character's name, you must indicate the nickname of the desired player, the number is the number of command blocks received. By the way, the main condition for this command to work is permission to use cheats. If this feature is disabled, you will not receive this item neither in single-player nor multiplayer.

Application

So, let's say you figured out how to give yourself command block, and it is in your inventory. Now let's learn how to use it.

To place a block on the ground, drag it to the quick access panel. After that, select it and click on in the right place. At this moment, a control interface will open in front of you, with which we will enter the function. It is worth considering that one command block can execute only one instruction.

However, it is not always necessary for the player to be able to find a command block and use it. It is much more interesting for the user to press the lever, and a mountain of gold or necessary items appears in front of him. In this case, you can use redstone circuits.

Teams

In order to use a command block, it is not enough to know how to obtain or install it. The most important thing is to be able to correctly write the instruction syntax. To do this, it is important to remember a few simple rules.

  1. First the command itself is written. Any function that can be activated using the console can be written here.
  2. Then the “area of ​​application” is set. That is, the player to whom the effect or coordinates of the appearance of the item will be applied.
  3. And finally, additional arguments that allow you to clarify the characteristics of the object.

In general, the command will look like this.

/[command] [player nickname or coordinates] [parameters]

To make it clearer, let's give a few real examples. Let's start with how to issue items with a command block.

/give @p iron_ingot 30

Using this instruction, the command block will give the nearest player within a radius of 10 blocks iron ingots - 30 pieces. Now let's see how to work with coordinates.

/spawn 10 20 30 /summon EnderDragon

Actually, from the syntax it is already clear that the command summons a dragon at certain coordinates. Finally, note that the full list of commands used by the command block can be seen by entering /help in the chat.

It is quite possible that this item is not particularly familiar to you; moreover, its use and activation in this game are generally mysteries. But if you start playing online, then it will be useful for you to know how to use the command block in Minecraft and what it is for. However, first things first!



As you have already noticed, the Minecraft game allows each of its users to interact with many different blocks. They differ from each other in functions, appearance and placement in space. By collecting them all together, each hero seems to discover a new world for himself!


There are so many different blocks that can be carried as inventory and then placed back into the game. From them, after the processing process, you can get various materials, which can also be changed later.



Actually, the whole point of Minecraft is based on blocks. Among them there is one that is completely different from the rest - this is the command block. It most likely can be attributed to the so-called console commands that have great importance in Game. Let's find out why.

Teams in Minecraft

It is difficult to guess the presence of a console if you constantly play only in single player mode. And all because it only matters in multiplayer mode. Thanks to it, the gaming functionality is significantly expanded. The server admin manages the game process using the console in which he enters commands. The command block in the game does the same thing, just a little differently. To make it clearer, let's look at the principle of using commands.



If the administrator wants to make changes to the game, then he just needs to call the console and enter the appropriate command into it. He can make changes at any stage of the gameplay, ranging from minor adjustments (introducing additional mobs into the game) to significant changes (changing the game mode).


Thus, the admin, with the help of commands, has the opportunity to make the game the way he imagines it. It is equivalent to Minecraft game to the creator with unlimited possibilities. But if an administrator can activate commands simply by typing them into the console, is anything else needed?


Fans of the game (not all, of course, but most of them) don’t even think about the fact that there is a command block in it. But even when they are aware that it exists, they have not the slightest idea how to use it. Although there is nothing complicated about it. Using this block, some commands are automated and precise conditions and events are created.



In other words, as soon as the admin places a command block on the map, as well as writes specific commands for it, and the player activates it, a new event will occur in the game space. You can write a lot in the block field, for example, what the effects will be or who they will affect. As you can see, in order to make the game more diverse, you just need to use command blocks in Minecraft.

Who has access to the command block?

The command block in Minecraft version 1.5.2, and, of course, in those releases that came later, is not only powerful, but also very functional object. And you can't argue here. This is the reason why it is inaccessible to the average player. It can only be used by server admins. It cannot be created or obtained by knocking it out of mobs during the game.



There is, of course, one option for ordinary players, but if you use it, be prepared for the fact that you can be banned at the same moment. It's about about cheat codes. But even if the ban bypasses you, this does not mean that you will be able to access the server. And all because your use of the command block cannot go unnoticed.


That is, you have only one option - play according to the rules. But still, there is another way: create your own server yourself and then control of the game will be entirely at your disposal.

How to use the command block in Minecraft?

The command block is very easy to use. First you need to write a command: with the right mouse button, the administrator brings up a window with a field. In this field, he indicates everything that is necessary for this: conditions, commands, and so on. For example, text messages addressed to players. The next thing the admin should do is place the block in the game. And there the players will already find him.



There must be a red stone installed near each such block. If activated, it will give a signal to the command block. In order for this command to be constant or periodic at regular intervals, you just need to set the conditions in a certain way.


That is, knowing how to use the command block in Minecraft, you can set specific conditions for executing the command you need. And since these teams can be anything, it will be interesting for players on your server to play depending on the game conditions created here.


How to activate a command block in Minecraft?

In Minecraft, a red stone has a special purpose: it powers the command block. You ask: how to activate it? Everything is very simple! To create your own server, you need to completely customize everything individually for yourself. A lot of work awaits you. In order to decide whether or not you will have a command block, you need to go to the server, or rather, to its properties. There you will see the following entry:


enable-command-block

If you specify true, then you activate the block, and if you select false, then you disable it.


Conclusion

We will be very pleased to know that the information in this article was useful to you. You can write a comment in which you give her an objective assessment. Tell your friends about this resource! Thank you for your attention!

Video

We are waiting for your comments, feel free to write!

Commands (or codes) allow you to change the Minecraft game world or even other players. A command block is an element in the game that stores a specific command. When the block is activated, the command is triggered. This allows you to create fun toys, convenient tools and even complex, exciting maps.

Steps

Part 1

Accessing Command Blocks

    Open Minecraft on your computer (Windows or Mac). Command blocks are available in the PC version of the game (they are not available in Minecraft Pocket Edition and in Minecraft for game consoles).

    Enter a world where you can open the console. Command blocks are elements in the game that provide access to the Minecraft console. They are powerful tools that can change the entire game - so they are only available in certain circumstances:

    • On multi-user servers, command blocks can only be used by server operators. You need to ask the operator to give you access to command blocks, or .
    • In a single-player game, activate codes (if you did not do so when creating the world). To do this, open the menu, select "Open in local network", check the box next to "Activate codes" and click "Create a world". This will last for one game session, but you can repeat the process if you want to add more command blocks.
  1. Switch to Creative mode. This is the only mode in which you can create command blocks. Use the following command to achieve this:

    • Press "T" to open the console, or press "/" to open the console and automatically enter a forward slash (/) at the command line.
    • Type "/gamemode c" (no quotes hereafter) and press Enter to enter Creative mode.
    • Once you've finished creating command blocks, enter "/gamemode s" to enter Survival mode or enter "/gamemode a" to enter Adventure mode.
  2. Create command blocks. Open the console (press "T") and enter the command "/give your_minecraft_username minecraft:command_block 64"

    • Please note that when entering your username, the letters are case sensitive.
    • If nothing happens, update Minecraft to version 1.4 (or later). By updating the game to latest version, you will have access to all commands.
    • You can replace the number "64" with any number representing the number of blocks. 64 is the complete set of command blocks.

    Part 2

    Using Command Blocks
    1. Install the command block. In your inventory, look for the command blocks you created. These are brown cubes with gray control panels on each side. Place one command block on the ground as you would with other items.

    2. Open the command block interface. Go to the command block and right-click on it. A pop-up window with a text field will open.

      • If nothing happens, the command blocks are most likely blocked on the multiplayer server. A user with access to the server.properties file must open this file and set the "enable-command-block" option to "true" and the "op-permission-level" option to "2" (or higher).
    3. Enter the command. Type a command in the command block text box, and then click Done to save the command to the block. Below are examples of some commands, but first, experiment with the "summon Sheep" command.

      • To see a list of commands, open a console (not a command block) and type “/help.”
      • Unlike the console, you do not need to enter a forward slash (/) in a command block text window.
    4. Activate the block using red stone. Connect the red stone to the command block and place the pressure plate on the red stone. Step on the pressure plate to activate the red stone and a sheep should appear next to the block. This will happen when any player or mob activates a red stone.

      • This works the same as a normal redstone activation. You can replace the pressure plate with a button, lever, or other activation device. You can even place the button directly on the command block.
      • Any player can activate a command block, but only a player with access permission can change the command.
    5. Learn the special syntax. For the most part, the code in command blocks is similar to the commands in a regular console. If you are not familiar with the console, skip to the next section. If you already know how to use console commands, understand the following additional parameters:

      • @p - Targets the player closest to the command block (no matter how far away they are).
      • @r – aimed at a random player.
      • @a – targets every player, including you.
      • @e – targets every element, i.e. players, objects, enemies and animals. Be careful with this setting.
      • You can use these options wherever you enter the name of a player, object, enemy, or animal.
    6. Modify the syntax for more control (if you want). You can create additional specific commands by adding modifiers after @p, @r, @a, @e. Such modifiers look like [(argument)=(value)]. There are many arguments and values ​​available. Full list can be found on the Internet, but here are some examples:

      • Command with modifier @r will have an effect on a random sheep.
      • Command with modifier @e will have an effect on any object (player, mob) in the “Creativity” mode. The "m" argument stands for Mode and the "c" argument stands for Creativity.
      • Symbol "!" reverses the specified value. For example, @a will have an effect on any player, Not part of a team called Commando (teams only exist on special maps created by players).
    7. Use the Tab key for help. If you know a command but are not sure how to use it, press the Tab key to open help for that command. Press the Tab key a second time to scroll through the list of options.

      • For example, go back to the command to call a sheep and remove the word "Sheep". Press the Tab key to view a list of players or mobs that can be summoned.

    Part 3

    Examples of command blocks
    1. Create a teleportation block. In the command block, enter the command “tp @p x y z”, where instead of x, y, z, substitute the corresponding coordinates of the teleportation point (for example, “tp @p 0 64 0”). When someone activates this block, the player closest to them will disappear and appear at the specified coordinates.

      • Press F3 to display the coordinates.
      • You can replace "@p" with another parameter. If you enter a username, that user will be teleported, even if someone else activates the block. If you enter "@r", a random player will be teleported.
Share