How to enable command block in single player. How to give yourself a command block in Minecraft? Right-clicking a command block

  • 28.07.2019

Commands (or codes) allow you to change game world Minecraft or even other players. 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, handy 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 computer version games (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 Minecraft consoles. 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 full set 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 click on it right click mice. 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 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. The full list can be found on the Internet, but here are a few 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.

Today we will talk about what a command block is in Minecraft, how to get it, why it is needed and how, where and what it can be used for.

What are command blocks?

In Minecraft, a command block (CB) can automatically execute certain console commands as long as it is activated by a red stone.

They work in adventure mode, and allow map creators to improve interaction with the player. In this case, the player is not able to destroy blocks and build new ones.

In Survival mode, command blocks cannot be interacted with or destroyed.

They cannot be created through crafting, and they cannot be found in the inventory when playing in creative mode. Creative players and server admins can use the "give" console command to obtain KB or make it available to other players. It looks like this:

/give minecraft:command_block

When typing the command, remove the parentheses around the player name and number:

/give atombox minecraft:command_block 1

KB has a graphical interface with a text field, accessible by right-clicking the mouse.

Only players in creative mode and players with administrator status on the server can place command blocks, enter commands and save changes.

For their use in single player or multiplayer worlds, you must enable LAN mode and enable cheats.

Where are command blocks used?

Have you ever played on adventure maps where it's always night, or where the weather never changes? You may have downloaded maps where players receive special rewards, upgrades, or experience by pressing a button or completing a task. All this becomes possible thanks to KB. When creating your Minecraft map, you need command blocks if:

  • Do you want constant day or night;
  • Do you want to change the weather;
  • Do you want to change the difficulty of the game;
  • You want to produce a specific sound;
  • You want to send a message to the player;
  • You want to teleport to another location;
  • You want to give players items.

There are many videos on YouTube describing a variety of Minecraft maps. Multiplayer maps are especially popular. There are many categories of Minecraft maps available for download that use command blocks to enhance the player's experience. There are many reasons for map developers to use them. Among them are cards of the following categories:

  • Adventure cards;
  • Parkour maps;
  • Puzzle cards;
  • Survival cards;

Adventure cards are focused on the plot, and the gamer acts as the main character of the story. Previously, adventure maps relied on telling a story through signs and books, but now the storytelling is available through dialogue and sounds, all thanks to KB.

Parkour maps force the player to get from one end of the world to the other with a minimum number of deaths. They often contain incredible jumps and other deadly obstacles. Command blocks make it possible to set character spawn points in front of complex obstacles.

Puzzle cards emphasize problem-solving skills by introducing mazes, traps, and other challenges. Some of these cards have a plot, just like adventure cards. Using KB allows such maps to more easily suggest directions, story-related dialogue, and sounds.

Survival Cards may focus on survival in single player or multiplayer, or include a story along the way. KBs can give players a starting spawn point as well as story-related information. The possibilities here are endless.

How to use a command block

Installing them is easier than most Minecraft players think. The commands can be confusing, but some of them (like setting the time of day) are very simple to program. Big projects You can plan later, but first try to master the basics of placing, configuring and using KB.

Remember that command blocks can only appear in creative game mode. To switch to it, you need the appropriate privileges on the server (if available) or activated cheats.


In the chat field, type "/gamemode c", "/gamemode creative" or "/gamemode 1" without quotes.

2. Right-click on the command block

In creative mode, to access a command block, right-click on it. To generate it, you need to use the “give” command, as described above in the text:

/give minecraft:command_block

Command blocks only work when connected to the redstone electrical circuit (by the way, there is good mod, allowing to increase the distance of energy transmission). Right-clicking opens a dialog box where you can enter a server command. The maximum command length can be 254 characters.

3. Enter the command and click "Done"

When you enter a command into a block, you need to indicate which player it is directed at. This can be done by entering the player's name or selecting three different variables: "@p" (closest player), "@r" (random player) or "@a" (all players). These variables are especially useful in situations where the player activating the command is unknown. After specifying the command, click “Done” to save it.


Remember that one KB can only execute one command!

Practical use cases

The following examples are simple and practical command block applications in single and multiplayer in Minecraft worlds.

How to change the rules of the game

Game rules are a relatively new feature that allows players and command blocks to change certain basic settings Minecraft world. There are nine described game rules that can be controlled using the command block on the map.

Can be used game rules to create a permanent daylight or darkness, disable mob spawning, item drops from mobs, and much more. When entering the "gamerule" command, use the following command:

Game rule Effect of the rule
commandBlockOutput Enables/disables text input in KB
doDaylightCycle Enables/disables day/night cycle
doFireTrick Enables/disables fire propagation/disappearance
doMobLoot Enables/disables item drops from mobs
doMobSpawning Enables/disables mob spawning
doTileDrops Enables/disables items falling out of the KB when they are destroyed
keepInventory Enables/disables saving items in the inventory after the death of a player
mobGriefing Enables/disables destruction of KB by creepers or edge wanderers
naturalRegeneration Enables/disables health regeneration for players


How to set the weather

Some maps have a dark theme that goes perfectly with rainy weather or thunder, while others are best played with clear skies. There are many options for controlling the weather using command blocks. A simple example of a weather command:

In this case, the word input can be replaced with “clear” (clear), “rain” (rain) or “thunder” (thunder).


You can connect a button or lever to the command block to manually change the weather, or create an automatic redstone circuit to constantly change the weather. This is easily achieved by using repeaters, a button and a building block.

How to set the spawn point

Spawn points are an important component of many Minecraft maps, including adventure, parkour maps, puzzles and others. Having to replay the map from the very beginning every time you die is extremely annoying. Using the “spawnpoint” command, you can save your game progress and be reborn after death at the nearest completed checkpoint. The command looks like this:

By connecting a command block to a building block with a button or pressure plate, players can set a spawn point at the location of the command block.


If you need something more complicated, you can add coordinates to the command to specify the location of the spawn point.

Running from one place to another is tiring, especially on a multiplayer server. Using the “teleport” command, players can move to specific coordinates in the Minecraft world or to the locations of other players. Enter in the command block:

With them you can have a certain set of coordinates for teleporting the player, like the location of the next part of the adventure map.


If the block is not intended for a specific player, "@p" can be used to select the closest player.

If you're on a multiplayer server, you can bind the command block to yourself by using your Minecraft username.

These are just a few options for using command blocks in single-player and multiplayer Minecraft games. There are many significantly more complex commands and redstone schemes that map makers use.

The command block appeared in popular game Minecraft only from version 1.4, where they open latest features for game participants. With this version, gamers learned about the concept of a command block, as well as its connections with the console command. It is impossible to create it yourself.

The command block is a special item; various codes can be entered and written into it. After this, it begins to execute the intended command when it receives a redstone signal. Such a universal thing significantly expands the powers and capabilities of map creators that feature an adventure mode. IN similar places you can privatize the area. It can be opened in Minecraft using the right mouse button. As a result, you will see a window in which certain characters are written.

How to make it


Most players will be disappointed because it is impossible to do such a thing on their own. The reason for this limitation is due to the fact that it opens up incredible opportunities, namely that thanks to it you can manage the map, chat with all the players at once. Therefore, you cannot do it yourself, but there is a unique chance to get it.

Purchase options:

  1. If you are the creator of the server, you can easily use it.
  2. You can also get permission from the administrator of a specific server, namely ask for rights. To do this, use next function- give Player command_block. Enter your character's name.
  3. You can make a command block in Minecraft using a special cheat code. But, you will only need to play on a specific server that supports the use of such codes. The final stage is activation, which is carried out thanks to the action of the red stone.

Teams

If you want to get the entire list of commands that can be used, then use the chat and enter the word help. For example, to get ten iron ingots, you need to enter the following form - give @p iron_ingot 10. Another one will allow you to teleport to the desired point with the specified coordinates, namely tp Player 42 21 60.

Pointers to Minecraft players.

  • @e – absolutely all entities in the game;
  • @a – all Minecraft participants;
  • r is the maximum search radius;
  • rm – minimum radius;
  • m is a game mode.

As you can see, this is a fairly practical, interesting and easy-to-use program that allows you to increase your powers, adrenaline and pleasure in the game to the maximum. It is important that you cannot build or craft it yourself, so you need to use a special command, then you will succeed. Have a good game and new victories.

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 is a special device in which you can record 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. The Command Block will be available for purchase 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 in either single or multiplayer games.

Application

So, let's say you figured out how to give yourself a command block, and it's 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 be able to press a lever and a mountain of gold or necessary items. 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 be issued to 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, we note that full list The commands used by the command block can be seen by typing /help into the chat.

Command block- a non-transparent block that cannot be crafted. This block is necessary to activate a variety of commands that are written in the command console.

How to get a command block in Minecraft?

To get it, you need to enter the following command in the chat without parentheses: /give [Your_Nick] command_block [Desired number of blocks]. For example, /give Razmik command_block 1. After pressing the Enter button, the command block will appear in your inventory.

How to activate a command block in Minecraft?

You can activate the code you entered in the command block using a lever, redstone, redstone torches, or through a button.

Let's look at the simplest commands that can be used in a command block.

  • Changing the time of day. For example, you want night to fall. To do this, install the block, click on it with LMB and enter the following command in the console: /time set night.
  • Teleportation. For example, you need to teleport to some point on the map. To do this, go to the selected point, press F3 and remember coordinates x,y,z. Then we go to the command block and enter the following command: /tp @p 252 56 -175. The numbers 252 56 -175 are the coordinate values ​​x,y,z.

There are a huge number of commands, the simplest of them are given above.

GIVEAWAY OF ACCOUNTS/KEYS/BASES/FREETIES

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 during use will also not work. game mode creative. To functionally obtain such blocks, it is necessary to apply a pair of sufficient simple commands, which, in fact, will allow their call to be fulfilled. 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.

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 is a special device in which you can record 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. The Command Block will be available for purchase 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 in either single or multiplayer games.

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 the desired 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 some 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.

The same commands as in regular chat. What is a 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 level experience.
  • 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 title that this mode The command block 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 options.
  • 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.

Many of you know that in Minecraft it is possible to achieve the goals the player needs by writing in command line a certain team. 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 an interesting thing as a command block. The essence of this device is that it executes your console commands, receiving a signal from the 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. You obviously won’t get by with “trachtibidoch” here, but there’s no smell of nuclear physics here either, so fears aside. 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 which commands are applied. Eg, @a- the first 8 crafters from the list, @a- last 8.