Commands to the command block show the list. How to make a command block in Minecraft

The same commands as in regular chat. What is a command block, how do I get it, and how do I 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, the command blocks in PE do not make large loads, i.e. the FPS will be stable.
  • The command block interface is adapted for mobile devices.
- command blocks in MCPE:
  • Too little functionality.
How do I 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 the nickname of the player to whom the team will give this block. You can also use @p instead of Steve, so you give the block to yourself. Don't forget to enable cheats in the world settings.


How do I fit 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 Command entry the command itself fits in, which the command block will execute. Below is a field in which you can see an error if you entered something wrong.


Examples of commands:
  • give @p apple 5 - Gives the player five apples.
  • setblock ~ ~ + 1 ~ wool - places a wool block in player coordinates.
  • tp Player 48 41 14 - the player with the nickname Player moves to a point at coordinates x = 48, y = 41, z = 14
Who do the command blocks work with?
Thanks to the pointers, you can point to the player or creature on which 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:
But how to make it so that, let's say, it moves all players to some point, except for itself? It's easy, for this you need to use additional pointers, for example: tp @a 228 811 381- teleports all players, except for 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 a value ~
  • y -coordinate along the Y axis.If you put instead of the value ~ , then the point will be the command block.
  • z - coordinate along the Z axis.If you put instead of a value ~ , then the point will be the command block.
  • r is the maximum search radius.
  • rm is the minimum search radius.
  • m - game mode.
  • l - maximum level experience.
  • lm is the minimum experience level.
  • name - player's nickname.
  • c is an optional argument to @a that limits the number of players to execute the command. For example, if you enter @a - then the command will affect the first five players from the list, @a - the last five from the list.
  • type - as an example, / kill @e will kill all skeletons, and / kill @e will kill all non-player entities.
Example command:
  • give @p gold_ingot 20 - gives the nearest player who is within a 10 block radius of 20 gold bars.

Command Block Modes

There are three command block modes available: impulse, chain, and repetition - the color of the block changes depending on the mode.
  • Pulse mode (orange): activates the set command
  • Chaining mode (green): the command will work if the block is attached to another command block and is connected to other command blocks
  • Repeat mode (blue): The command is repeated every tick as long as the block is powered.


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


Chain mode
I think that already from the name it is clear 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 an impulse, which will exactly send the signal, as well as a redstone block, without which the chain type command block will not work.


Team title and its parameters:
  • title clear - clears messages from the player's screen.
  • title reset - clears messages from the player's screen and resets parameters.
  • title title - The title that shows the text on the screen.
  • title subtitle - The subtitle that is displayed when the title appears.
  • title actionbar - displays the title 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 inventory.
  • title @a subtitle Chapter 1 - subtitle.

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

Commands 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 it is relevant mainly exclusively for the 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 serves the same purpose, but in a slightly different way. First, let's look at how commands are used in general. 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. It can be as something mundane, for example, adding monsters or restoring the natural landscape, or something global - up to changing the game mode. As you can see, the commands in Minecraft give the administrator full powers of God in his separate world games. But why then the command block in Minecraft, if the administrator can simply enter commands and activate them in the console?

Command block

Many Minecraft fans are unaware of the existence of the command block, and if they have seen it, they do not know how to use it. It's actually quite simple - the command block in Minecraft serves to automate certain commands and create specific conditions and events. That is, the administrator can place a command block on the map, prescribe 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, as well as much more. Thus, command blocks in Minecraft 1.7.2 serve to diversify the gameplay.

Command block conditions

Hardly anyone can argue with the fact that the command block in Minecraft 1.5.2 and later 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 get such an object is with cheat codes, but for this you can be instantly banned. Moreover, if you are not sent to a ban 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 the command block

As for the direct use of the command block, everything is quite simple here. First, the necessary commands are prescribed for 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, teams 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 installed next to the block, when activated, a signal is transmitted to the command block. Naturally, you can set the conditions in such a way that the command is executed continuously or periodically with 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. The teams can be very diverse, so you can create a unique environment for the players on your server.

Command block activation

In addition to activating the command block with a 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 affect your world. Among the huge amount of data that you will need to customize for yourself in the server properties, there is one line - enable-command-block. It is she who is responsible for whether your server will have a command block or not. True enables the command block, and false disables it.

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

So, let's look at how to make a command block in minecraft 1.8.9 without mods. I want to upset right away that the command block simply cannot be done. But it is possible to get it, since it is managed by the server administrator. Or the player himself in single player mode. To get it, you need to drive in / give Player command_block. The player value is the name of the player who needs this block.

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

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

Using the command block will clearly facilitate your game and performance in it, because with such a block you can perform a lot of actions, recording in them required commands... Also, depending on the type of game, some privileges are possible for you, since you are able to reward your comrades, or yourself. Also, the distribution of teams can be regulated to those who are nearby, to a random player, to all players in the world, or to all entities that inhabit the entire map.

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

What are command blocks?

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

They work in adventure mode, and allow the creators of the map to improve the interaction with the player. At the same time, the player is not able to destroy blocks and build new ones.

Command Blocks cannot be interacted with or destroyed in Survival Mode.

They cannot be crafted and cannot be found in your inventory when playing in creative mode. Creative players and server admins can use the "give" console command to get the KB or make it available to other players. It looks like this:

/ give minecraft: command_block

When typing a command, remove the parentheses around the edges of the player's name and quantity:

/ give atombox minecraft: command_block 1

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

Only creative players and players with server admin status can place command blocks, enter commands, and save changes.

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

Where Command Blocks Are Used

Have you ever played adventure maps where it is always night or where the weather never changes? You could download maps where players receive special rewards, upgrades or experience at the push of a button or for completing a mission. All this becomes possible thanks to KB. When creating your Minecraft map, you need command blocks if:

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

There are tons of videos on YouTube describing a variety of Minecraft maps. Multiplayer maps are especially popular. There are many categories of downloadable Minecraft maps that use command blocks to enhance the player's convenience. There are many reasons for their use by map developers. Among them are maps of the following categories:

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

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

Parkour maps force the player to travel 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 spawn points of a character in front of difficult obstacles.

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

Survival maps can focus on survival in single player or multiplayer, or include a story along the way. CBs can provide players with a starting point for spawning, as well as story-related information. The possibilities here are endless.

How to use the command block

Setting them up is easier than most Minecraft players think. The commands can be confusing, but some of them (like setting the time of day) are very easy to program. Larger projects can be planned later, but first try to master the basics of hosting, configuring, and using KB.

Keep in mind that Command Blocks can only appear in Creative Game Mode. To go to it, you need the appropriate privileges on the server (if available) or activated cheats.


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

2. Clicking on the command block with the right mouse button

In creative mode, right-click on the Command Block to access it. To generate it, you need to use the "give" command, as described above in the text:

/ give minecraft: command_block

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

3. Enter the command and click "Finish"

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


Remember, one KB can only execute one command!

Practical examples of use

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

How to change the rules of the game

Game Rules is a relatively new feature that allows players and command blocks to change certain basic settings of the 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 permanent daylight or darkness, disable spawning mobs, dropping items 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 the day / night cycle
doFireTrick Enables / disables fire spread / disappearance
doMobLoot Enables / disables the dropping of items from mobs
doMobSpawning Enables / disables spawning mobs
doTileDrops Enables / disables drops of items from KB when they are destroyed
keepInventory Enables / disables saving items in inventory after a player dies
mobGriefing Enables / disables destruction of KB by creepers or endermen
naturalRegeneration Enables / disables health regeneration for players


How to set the weather

Some cards use a dark theme that blends 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”, “rain” or “thunder”.


You can connect a button or lever to the command block to manually switch the weather, or create an automatic redstone pattern to switch the weather all the time. This is easily accomplished 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 cards, 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 game progress and respawn after death at the nearest passed checkpoint. The command looks like this:

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


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. With the use of the command "teleport", players can move to certain coordinates of the world of Minecraft or to the location 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, you can use "@p" to select the closest player.

If you are on a multiplayer server, you can bind the command block to yourself using your username in Minecraft.

These are just a few of the options for how to use command blocks in single and multiplayer Minecraft games. There are many much more complex redstone commands and schemes that map creators use.

Command block appeared in popular game Minecraft only with version 1.4, which opens up the latest features for game participants. From this version, gamers learned about the concept of the 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, you can enter and write various codes into it. After that, it starts executing the intended command when it receives a redstone signal. Such a universal thing significantly expands the powers and capabilities of the creators of maps in which the adventure mode is present. In such places, you can lock 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 prescribed.

How to make it


Most of the players will be forced to get upset, 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 will be able to control 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 a server creator, you can easily use it.
  2. You can also get from the administrator of a specific server, namely, ask for rights. To do this, use the following 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.

Commands

If you want to get the entire list of commands that you can use, then use the chat and enter the word help. For example, to get ten iron ingots, you need to write the following form - give @p iron_ingot 10. Another - 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 metric;
  • rm is the 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 enjoyment 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. Happy game and new victories.

When creating any playable map that will differ from randomly generated terrains, construction, pixel art or storyline scenarios, the server administrator cannot do without using "built-in" functions. To implement them, you can use the command block. This is a special device into 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 give yourself a command block?

A warning

There are only two ways to acquire this item. Both of them are that you 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 give yourself a command block?" - always remains relevant. No matter what fashion you set for yourself, no matter how you experiment with ingredients, nothing will come of it. Anyone who claims that by downloading his mod, you will be able to create command blocks - a scammer who seeks to "plant" a virus on you. So how do you give yourself a command block?

The ways

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

The second method is a little more complicated. To do this, you will have to use How to give yourself a command block using the system? To do this, you will have to open a chat and write the following: / give [name: command_block [number]. Also, this command will 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 player you want, the number is the number of command blocks received. By the way, the main condition for this command 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 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 Toolbar. After that, select it and click on the desired place. At this moment, the control interface will open in front of you, with the help of which we will introduce the function. It should be borne in mind 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 so that the user can press the lever, and a mountain of gold appears in front of him or necessary items... In this case, you can use redstone patterns.

Commands

In order to use the command block, it is not enough to know how to get or install it. The most important thing is to be able to correctly spell out the syntax of the instruction. 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 "zone of application" is set. That is, the player to whom the effect or the coordinates of the object's appearance will be applied.
  3. And finally, additional arguments 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-life examples. Let's start with how to issue items with the 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 full list The commands used by the command block can be seen by typing / help in the chat.

Command block- not a transparent block that cannot be crafted. This block is required 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 write the following command in the chat without brackets: / give [Your_Nik] 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 the 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 take a look at the simplest commands that can be used in the command block.

  • Changing the time of day. For example, suppose you want it to be night. To do this, install the block, click on it with LMB and write 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 write the following command: / tp @p 252 56 -175... The numbers 252 56 -175 are the values ​​of the coordinates x, y, z.

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

DISTRIBUTION OF ACCOUNTS / KEY / BASE / FREEZE

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

Get a command block in Minecraft: method 1

Start Minecraft and select single player mode. Complete the creation of a world that has cheats enabled.

Open the chat window and press the "/" key. This symbol will open a window where you can enter commands.

Enter the destination you want by choosing from the following lines:

  • "/ Give" the name of minecraft: command_block and the desired 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 one, 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 call the blocks to wherever he needs.

Get a command block in Minecraft: method 2

Run the game, select single mode. Log in to your existing world, possibly a server. Enter the chat required to set commands by clicking on "/".

Enter one of the suggested options:

  • "/ Give minecraft name: command_block the desired number" - this line allows you to call the required number of items and add them to the existing inventory;
  • "/ Setblock x y z minecraft: command_block" - if you enter such a text, you can replace any existing block with a command one, and to determine the location in which 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

  • Use the "E" key to drag the block and place it on the panel. Click on the right mouse button and place the object 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 associated with an electrical board. This allows commands to be executed automatically.
  • Press the "/" key, the console window will appear, in which write the word "help". After it, type the name of the subject to which the sequence of commands is prescribed.

Many of you know that in Minecraft it is possible to achieve the fulfillment of the goals necessary for the player by prescribing in command line a specific team. It is very convenient. 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 have risen to such interesting thing like 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 possibilities of crafters who create maps with an adventure mode have significantly expanded.

Of course, with this functionality, the command block is not at all "eager" to succumb to crafting. Only the "chiefs" of the servers - their administrators - can get it in multiplayer. To do this, in “ server.properties"They need" enable-command-block"Set to position" true". Why in a multiplayer game such a useful thing is available only to the bosses? Everything is very logical. Imagine that two gardener neighbors are praying at the same time: one for the sending of rain, the other for a clear sky. Who should I answer? First or second? This is how it is in Minecraft, if all the crafters could get to the command block, whose will, whose commands should he execute?

But loners can also get a magic box. In the settings for this you need to write the following cheat code: / give @p command_block... Given 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.

Pointers

However, such a multifunctional box presupposes the ability to use it. "Trachtibidochus" is clearly not enough here, but there is no smell of nuclear physics here either, so fears away. To begin with, you need to use the command block through the text area interface. You can save the changes made only with the status of a server administrator and creative mode. The entered commands will be executed in Minecraft by activating the block with a redstone. To use the full command block, it is very useful to use special pointers for gamers:

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

For example, if you are in a good mood and you want the closest crafter to be enriched with boulders, you need to issue the following: / give @p (4)... The id of the cobblestone is indicated in parentheses. Do you want to communicate with the crafters in writing? Write 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

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

  • X, Y, Z- coordinates of the search center. If you 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's nickname
  • c is a special argument for the pointer " @a". Its purpose is to limit the number of crafters to which commands are applied. For instance, @a- the first 8 crafters from the list, @a- last 8.