Minecraft command block program. How to give yourself a command block in Minecraft

A command block in Minecraft is a block into which you can enter various commands. After receiving a signal from the red stone, it will begin to complete the task assigned to it. The block greatly enhances the player experience and has many uses in gameplay. Thus, many gamers have a question about how to make a command block in Minecraft.

Creating a Command Block

It’s not possible to just take and make a command block (from English “command block”) in Minecraft. However, it can be obtained using special cheats and commands.

  1. Start a single player game in Maine in creative mode.
  2. In the world settings, enable the function of using cheats.
  3. Puzzled by the question of how to make a command to issue a block in Minecraft, you need to open the console.
  4. In the console line you will need to enter the command: give *player nickname* command_block.

After executing this command, the block will be in the hand of the corresponding player's character.

You can give a block to yourself, to another player, or to an entire group. They cannot be used in survival mode.

How to use the block

The block is widely used in the game, executing various commands.

When the command block is in the character's hands, right-click on the ground to place it. After this, you need to click the same button on the attribute itself.

This will open a command block window where you can enter the required task or change its parameters. In the future, changes can be made at any convenient time. If anything was done incorrectly, the user will receive a corresponding notification in the same window.

Blocks can be in passive mode, triggered by a chain reaction through similar objects, or triggered by a signal transmitted by a red stone. The command block can also have a direction, according to which you can build a whole chain of blocks that are triggered one after another.

If desired, the player can set a binding for the block. Using this function, you can kill specific entities or everyone in the area, in addition to the player himself. The block can also be configured to interact with other players.

In some situations, a command block can be used to teleport one player or an entire group. To do this, you will need to correctly specify not only the command, but also the coordinates.

In principle, the command block supports a lot of tasks, a full list of which can be found on numerous Internet resources. You can view the entire list of possible commands directly inside the game by entering /help in the chat window.

Video: How to use the command block in Minecraft.

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 for the 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 game world. 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 indicate all the necessary conditions, commands and other information, for example, 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.

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 here, but not all of them work in Minecraft on Android, IOS and Windows 10 versions.

Last time we explained the positioning system and its associated commands and arguments. Just making game cards is why people usually want to learn how to use command blocks. If you're here for this reason, you can look forward to other lessons that will focus on mapping. First, we will add knowledge about the missing arguments.

Next argument. This argument, as you might, returns "type" and "object type", in other words, which object is involved. You can also use the prefix "!" to make a selection of other types of objects. Let's now try what we just learned. Find our two pigs closest to you.

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

Or if you are making a selection of all objects but don't want the player. These arguments represent "experience levels" or the number of "levels" of experience that is "green" that you use for the enchantment. The current level is displayed above the active inventory with a green number. So let's write a simple alert script that will let players know how this is happening. You will need two command blocks to connect to the clock. The only problem is that the script will spam chat players every time the circuit is completed, see how to deal with it in the scoreboard system tutorial.



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 - 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 ~
  • 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 /kill @e command will kill all skeletons, and the /kill @e command 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.


Commands for manipulating the world

However, this is a real scenario where you can invent thousands of people with the right knowledge. Now you can imagine the commands used to manipulate the world, which will be useful for you, for example, when you create a playable map yourself or simply when you want to adapt a test world.

You set this mode by default when you create a world, it's creative. Try to change it now to survival. When a new player joins the world, the game mode will be set to survival. As you can guess, this command changes the difficulty. There are four in the game, and you can specify them in different ways.

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.


The difficulty is saved for each world separately, so if you go into settings you will see the difficulty of the last world loaded. As you know, a difficulty can be "locked" for a given world, making it impossible to change. However this command doesn't look at locking so it is not 100% secure, however when cheats are disabled a player in a locked world cannot change it. If the command is run on the server, the difficulty changes, but the next time the server starts, it will again be the server default because it is set by the server properties at startup time.


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.

You can make this command one of the few when cheats are disabled. It has no arguments and displays the seed of the world where it is. This number tells the world generator “how to generate it”, i.e. two newly created worlds with the same seed will look the same. This number can be entered when creating a world.

If it rains, it stops, and if not, it starts. The first required argument is the weather condition for setting the command. Clearly, rain does not mean rain means thunderstorm rain means rain and beating.

  • If the flash hits a vine, it charges it.
  • If he hits a pig, he will make Pigman.
You can also specify a duration. This is the minimum amount of time the condition will take. As time passes, he will be able to set a new status in the game again. This time is given in so-called “ticks”, you can enter a value between 1.



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.

Also known as Boss Update, is the addition of slash commands. What are slash commands, you ask? If you've played the PC version of the game, you probably know they're there. In the chat window, you must type a slash (/) and then enter a command.

So let's try to turn on the storm now. If you play in desert biomes like I do, you'll only see cloudy skies but no rain or lightning. This is because each biomass has its own temperature, which determines whether it rains, snows, or nothing at all.

Either execute only the command, then the location is set in accordance with the coordinator of the performer or enter the coordinates. As you may have experienced, this personal spawn point is always set next to the bed you sleep in - upon death, you will end up at your base, not your starting point. If you want to set your own spawn point to where you are now, you don't need to provide any arguments. When you set it on another player, but you don't need to specify the coordinates at the point where you are currently located.

Slash commands in 0.15.9/0.16.0

Commands provide an incredible amount of functionality to the player on the PC version of Minecraft. The beta version of Pocket Edition 0.15.9/0.16.0 is currently available. We got our hands on the beta and here are the commands we found.

/clearfixedinv- Completely clears the specified player's inventory or only removes objects specified by ID from it.

Otherwise, the command requires a complete specification. Use this command to determine the number of hours. The query command tells you how much time has passed since a certain point. This can also be seen in the debug screen. . You probably have a few more questions about exactly how platform-wide convergence should shake out.

Q: Is the best update available for all editions? If there are platforms you're interested in where we haven't been yet, please let us know. Question: Is the child safe update better for children? We're not quite ready to announce a release date yet, but we're aiming for a release this year. Question: What is the best way to update the redemption process for disc owners?

/clone [mode] [mode2]- Clone the area from point 1 (x1 y1 z1) to point 2 (x2 y2 z2) to point 3 (x3 y3 z3) using mode (mode) and sub mode (mode2). Mode (mode) can have 3 values: replace, masked and filtered, and sub mode (mode2) can be normal, force or move.

/deop- Removes operator privileges from the player.

/execute - Executes a given command regarding an entity. Relative coordinates are specified by the x, y and z parameters. If the detect parameter is specified, then the specified command is triggered only if there is a block with the specified ID and metadata at coordinates x2,y2,z2.

Please be prepared for a short wait though as it may take several days to process all redemption requests. Question: What's the deal with the five hour requirement? When you launch it, you will see the name of the game on the splash screen. This is very interesting work, but presents many challenges to the development process. You can continue playing the old version of the console to continue earning what you missed.

Will they translate to the new console version? Q: Are DLC added to the console editions? Q: When will console players be able to use custom skins or create custom super flat and boosted worlds? The server browser has a list of verified servers that you can join with one click.

/fill [Block parameters] [Replacement method]- Fills the selected area from to with blocks with block parameters [Block Parameters] using the replacement method [Replacement Method] p.

Replacement methods:

  • keep - will only replace air blocks
  • hollow - creates a cube with nothing inside
  • outline - identical to hollow, except that this replacement method will leave the interior unchanged
  • destroy - will replace all blocks in the specified area with the ability to pick them up as drops
  • replace - will replace all blocks in the specified area

There is also an alternative command that only works with the replace method:
fill replace

This requires a lot of administrative and backend functions so that they can focus on creating and maintaining great online communities. Q: How do potential server partners begin to embrace the server browser? While we have three servers at launch, we plan to introduce more servers to the game over time.

Over time we plan to add more servers. Q: Why did you choose these partners over others? On consoles, platform restrictions limit server access to partner servers only. Will the studio stop updating the game because new gameplay and mini-games are available through the servers? Q: How to play mini-games from the old version of the console?

Translation of parameters:

  • TileName - name of the new block
  • dataValue - parameters of the new block
  • replaceTileName - name of the block that needs to be replaced
  • replaceDataValue - parameters of the block that needs to be replaced

/gamemode [target]- Changes the game mode for a specific player. Survival (survival, s or 0), Creativity (creative, c or 1), Adventure (adventure, a or 2), Observation (spectator, sp or 3).

Q: Will you invite links for all platforms? Q: Are the servers safe for my children? Our official server partners have also taken steps to ensure safe and easy online play for all ages, including chat filtering, in-game reporting, and moderation at all times.

Parents can disable chat, allowing children to join servers but not see or participate in any on-server communications with other players. Parents can limit multiplayer to "friends" or "none," which prevents kids from connecting to servers at all. Q: What should I do if someone is bullying me?

If the player's nickname is not specified, the command will change the game mode for the one who entered it. For the command to work, the player must be online.

/give [quantity] [additional information]- Gives the player a certain item/block in the specified quantity according to data numbering.

For example, if you enter /give John 4, it will give the player with the nickname John 1 block of cobblestone, /give John 35 64 11 (will give a full stack of blue wool, /give John 278 1 1000 - a diamond pickaxe damaged by 1000 units, and /give John 373 10 8193 will give you 10 vials of regeneration potion.

/help [page | command] or/? [page | team]- Displays a list of all available console commands. The list is divided into pages, so the command can take a page number as an argument. You can also display help for a specific command. Some commands are not included in the help.

/kill [player]- Kills the player, inflicting about 3.4x1038 points of damage, with effects similar to Void damage (armor is ignored). Useful if the player is lost, stuck, or starving (if the player can easily find things after death). Works in Creativity mode.

/list- Displays a list of all players connected to the server.

/msg

/op - Gives the specified player operator privileges.

/say - Shows all players on the server your message.

/setblock [Extra options ]- Places a block at specified coordinates. For example, the command /setblock ~ ~1 ~ minecraft:stone will place a stone above the player who called the command.

/setfixedinvslot- Adds a slot to the inventory on the right

/setworldspawn - Sets the spawn point for the entire world according to the player’s coordinates or those specified in the command syntax. Example: /setworldspawn 50 74 -87

/spawnpoint [target]- Sets the spawn point for the player. If no player is specified, the command is executed for the player who typed the command. If coordinates are not specified, the spawn point is set to the current position.

/summon [coordinates] [additional parameters]- Spawns the specified entity at coordinates with the specified parameters. If coordinates are not specified, the player's current position will serve as the spawn point. For example: /summon Pig ~ ~ ~ (Saddle:1,CustomName:"Mr. Pig",CustomNameVisible:1).

This command will create a pig with a saddle and the name Mr. Pig. The name can be seen even through the walls. If CustomNameVisible is zero, then the nickname is visible only if the crosshair is aimed at the mob.

/teleport - Teleports the entity to x, y, z coordinates. The x and z values ​​must be between 30000000 and -30000000, and the y values ​​must be between -4096 and 4096.

Use the y-angle for horizontal rotation (180 North, 0 South, 90 West, and -90 East) and the x-angle for vertical rotation (-90 up, 90 down).

/tell - Sends a private message to the player.

/testforblock [Add. options]- Checks for the presence of a block on the coordinates, and if it is present there, the comparator will output a signal. You can also use this command to check for items in chests.

/testforblocks [Mode]-Checks the coincidence of two areas and if both areas are identical, the comparator will output a signal. The “mode” section can take the values ​​masked or all; with masked, air is not taken into account.

/time add - Adds the specified value to the current time of day. The number parameter can take non-negative integer values.

/time query

  • daytime – Displays the number of game ticks that have passed since dawn
  • gametime – Displays the age of the world in game ticks
  • day – Displays the number of elapsed game days

/time set - Sets the time of day. The number parameter can take integer values ​​in the range from 0 to 24000. 0 is dawn, 6000 is noon, 12000 is sunset, and 18000 is midnight (that is, the hours are divided in half). day is equivalent to 1000 (dawn) and night - 13000 (sunset).

/toggledownfall- Precipitation switch.

/tp - Teleports the first player to the second, that is, “player1” to “player2”

/w - Sends a private message to another player. Used on servers to write something to another player without others seeing.

/xp - Gives the specified player a certain amount of experience points, valid values ​​from 0 to 2,147,483,647. If you enter l after the number, the specified number of levels will be added. In addition, levels can be lowered, for example -10l will reduce the player's level by 10.

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, 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 the PC version of the game (they are not available in Minecraft Pocket Edition or 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 on local network”, check the “Activate codes” box 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 the 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 these additional options:

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

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 - 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 /kill @e command will kill all skeletons, and the /kill @e command 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 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.