Minecraft command block to write commands. Command Block in Minecraft: How to Use

A command block is a cell in which you can enter various commands. The block itself starts the task when it receives a signal from the red stone. This block expands well 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 immediately upset that the command block is simply impossible to do. But it is possible to get it, since the administrator of the server manages it. Or the player himself in single player mode. To get it, you need to drive /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. Right click on the block. Next, a window appears in which the command itself fits. By the way, a little lower 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 explore the entire list of available commands, you need to type /help in the chat window.

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

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



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


There are a lot of different blocks that can be carried as inventory and then placed back into the game. After the processing process, various materials can be obtained from them, which can also be subsequently modified.



Actually, the whole essence of Minecraft is based on blocks. Among them there is one that is completely different from everyone else - this is a command block. It can most likely be attributed to the so-called console commands, which are of great importance in the game. Let's see why.

Commands in Minecraft

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



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


Thus, the admin, with the help of commands, has the opportunity to make the game the way he imagines it to be. It equates in Minecraft to a creator with unlimited possibilities. But if the administrator has the ability to activate commands, just by typing them into the console, then what else is needed?


Fans of the game (not all, of course, but most of them) do not even think about the fact that there is a command block in it. But even when they are aware that it is, they have no idea how to use it. Although there is nothing complicated in this. This block automates some commands and creates precise conditions and events.



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

Who has access to the command block?

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



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


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

How to use the command block in Minecraft?

The command block is very easy to use. First you need to register the command: by right-clicking the mouse, the administrator calls up a window with a field. In this field, he specifies everything that is necessary for this: conditions, commands, and so on. For example, messages in the form of text addressed to players. The next thing the admin has to do is put the block into play. And the players will find it there.



Be sure to place a red stone next to each such block. He, if activated, will give a signal to the command block. In order for this command to be constant or periodic with the same intervals, you just need to set the conditions in a certain way.


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


How to activate a command block in Minecraft?

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


enable-command-block

If set to true, then this will enable the block, and if set to false, then disable it.


Conclusion

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

Video

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

Command block- an opaque 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, in the chat you need to register the following command without brackets: /give [Your_Nickname] 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 thanks to the lever, redstone, redstone torches, or through the button.

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

  • Change in time of day. For example, 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, we go to the selected point, press F3 and remember the x,y,z coordinates. Then we go to the command block and write the following command: /tp @p 252 56 -175. The numbers 252 56 -175 are the x,y,z coordinate values.

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

DISTRIBUTION OF ACCOUNTS / KEYS / BASES / FREE

How to make a command block in minecraft

The command block did not appear in minecraft right away. Only in version 1.4, players have new opportunities. It is in this version of minecraft that users will learn what a command block is, which is closely related to console commands.

What is a command block

Actually, a command block is a block in which players write certain commands. The command block can be opened by clicking on it with the mouse. After that, a field will appear in which the commands for execution are written. Information about the result of the entered commands will be displayed below.

How to make a command block

Unfortunately, it is impossible for an ordinary user to make a command block in minecraft, despite the player’s great desire, because with the help of a command block in the virtual world, you can fully control the map and chat with all players at the same time. You cannot make a command block yourself, you can only get it. There are several options for how to get a command block.

Teams

In order to get a complete list of commands that can be written in the command block, just enter the word help in the chat window.

By entering these commands, you will get the desired result:

  • give @p iron_ingot 10 - 10 iron ingots
  • setblock 42 21 60 wool - set block at coordinates x=42, y=21, z=60
  • tp Player 42 21 60 - teleport to a point with coordinates x=42, y=21, z=60

You can also use pointers to players:

  • @p - nearest player;
  • @a - all players;
  • @r - random player;
  • @e - all entities.
  • x - X coordinate of the search center;
  • y - Y coordinate of the search center;
  • z - Z coordinate of the search center;
  • r - the maximum value of the search radius;
  • rm - minimum search radius value;
  • m - game mode;
  • l - the maximum amount of experience the player has;
  • lm - the minimum amount of experience a player has.

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

What are command blocks?

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

They work in adventure mode, and allow map makers to improve the 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 crafted by crafting, and they cannot be found in the inventory when playing in creative mode. Creative mode players and server admins can use the "give" console command to get KB or make it available to other players. It looks like this:

/give minecraft:command_block

When typing a team, remove the brackets 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 players in creative mode and players with administrator status on the server 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 are command blocks used?

Have you ever played adventure maps where it's always night or where the weather never changes? You could download maps where players receive special rewards, upgrades or experience at the touch of a button or for completing a task. All this is made possible by 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;
  • You want to change the difficulty of the game;
  • You want to play a certain 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 tons of videos on YouTube describing the various 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 experience. There are many reasons for map developers to use them. Among them are cards of the following categories:

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

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

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

Puzzle cards emphasize problem-solving skills by offering mazes, traps, and other challenges. Some of these cards have a story, just like adventure cards. The use of CBs makes it easier for these cards to 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 point to spawn, as well as plot-related information. The possibilities here are endless.

How to use the 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 easy to program. Large projects can be planned later, but first try to master the basics of placing, configuring and using KB.

Don't forget that Command Blocks can only spawn 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 a 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 only work when connected to the redstone electrical circuit (by the way, there is a nice mod that allows you to increase the distance of power 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 "Finish"

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


Remember that one KB can execute only one command!

Practical Use Cases

The following examples are simple and practical command block applications in single player 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 in the Minecraft world. There are nine described game rules that can be controlled using the command block on the map.

You can use game rules to create permanent daylight or darkness, disable mob spawning, mob item drops, and more. When entering the "gamerule" command, use the following command:

game rule The effect of the rule
commandBlockOutput Enables/disables text input in KB
doDaylightCycle Enables/disables the day/night cycle
doFireTrick Enables / disables the spread / disappearance of fire
doMobLoot Enables / disables the drop of items from mobs
doMobSpawning Enable/disable mob spawning
doTileDrops Enables / disables the drop of items from the CB when they are destroyed
keepInventory Enables / disables saving items in the inventory after the death of the player
mob Griefing Enables/disables KB destruction by creepers or endermen
naturalRegeneration Enables/disables health regeneration for players


How to set the weather

Some maps use a dark theme that is perfect for rainy weather or thunder, while others are best played with clear skies. There are many options to control the weather with command blocks. A simple weather command example:

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 switch the weather, or create an automatic redstone circuit to constantly switch the weather. This is easily achieved using repeaters, a button and a building block.

How to set a spawn point

Spawn points are an essential component of many Minecraft maps, including adventure maps, parkour maps, puzzle maps, and more. Having to replay the map every time you die is extremely annoying. Using the "spawnpoint" command, you can save game progress and respawn after dying at the nearest checkpoint you passed. 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 CB.


If you need something more complicated, you can add coordinates to the command to set 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 other players' locations. Type in command block:

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


If the block is not for a specific player, "@p" can be used to select the nearest 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 on how to use command blocks in single and multiplayer Minecraft games. There are many much more complex redstone commands and schemes that mapmakers use.

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

The command block is a special item; various ciphers can be entered and written into it. After that, it begins to execute the intended command when it receives a redstone signal. Such a universal thing greatly expands the powers and capabilities of the creators of maps in which there is an adventure mode. In such places, you can privatize the area. It can be opened in minecraft with 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 forced to get frustrated 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 manage the map, chat with all the players at once. Therefore, you cannot make it yourself, but there is a unique chance - to get it.

Purchase options:

  1. If you are the creator of the server, then you can easily use it.
  2. You can also get from the administrator of a specific server, namely to 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 certain server that supports the use of such codes. The final stage is activation, which is carried out due to the action of the red stone.

Teams

If you want to get the whole 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 players in minecraft.

  • @e - absolutely all entities in the game;
  • @a - all participants in minecraft;
  • r is the maximum search radius;
  • rm is the minimum radius;
  • m is the 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. Importantly, it cannot be built or crafted on your own, so you need to use a special command, then you will succeed. Good luck and new victories.

The execution of any actions assigned by the game participants are carried out by command blocks. You won't be able to create such a team while playing survival mode. It will also not work to summon them as tools while using the creative game mode. In order to functionally obtain such blocks, it is necessary to apply a couple of fairly simple commands, which, in fact, will allow them to be called. Let's look at a few simple methods.

Get a Command Block in Minecraft: Method 1

Launch Minecraft and select single player mode. Perform the creation of a world in which cheats are 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 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 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 player will summon the blocks to the place he needs.

Get a Command Block in Minecraft: Method 2

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

Enter one of the suggested options:

  • "/give name minecraft:command_block required number" - this line allows you to call the required number of items and add them to your inventory;
  • "/setblock x y z minecraft:command_block" - if you enter such text, you can replace any existing block with a command block, 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 on 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 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 box you need to enter the symbol "/". The options for these blocks are similar to those used in chat. They are sometimes connected to the electrical board. This allows commands to be executed automatically.

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 on, 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 do heavy 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 to get a command block?
In the game, you cannot get a command block by crafting, but it can be issued 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, i.e. you will give the block to itself. Don't forget to enable cheats in the world settings.


How to enter a command in a command block?
To do this, you need to open its interface. This is very easy to do, just tap on it. In field Command entry enters the command itself, which will be executed by the command block. A little lower is a field in which you can see an error if you entered something wrong.


Command examples:
  • 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 - the player with the nickname Player moves to the 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 which the command will be executed:
  • @p is the player who activated the team.
  • @a - all players.
  • @r is a random player.
  • @e - all entities (including mobs).
Auxiliary pointers:
And how to make it so that, let's say, it moves all the players to some point, except for 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 options:
  • 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 of experience.
  • lm - 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 act on the first five players from the list, @a on 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.
Command example:
  • give @p gold_ingot 20 - Gives the nearest player within 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 given command
  • Chaining 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 also execute commands simply in these blocks.


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

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


Command title and its parameters:
  • title clear - clears messages from the player's screen.
  • title reset - clears messages from the player's screen and resets options.
  • 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 a caption above the inventory.
  • title times - appearance, delay and disappearance of the text. The default values ​​are 10 (0.5s), 70 (3.5s) and 20 (1s).
Command execution example:
  • title @a title §6Start - title with orange color.
  • title @a actionbar Hello! - Displays text above inventory.
  • title @a subtitle Chapter 1 is a subtitle.

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 challenging, fun cards.

Steps

Part 1

Access to command blocks

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

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

    • On multiplayer 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 the codes (if you did not do this when creating the world). To do this, open the menu, select "Open on local network", check the box next to "Activate codes" and click "Create 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 slash (/) in the command line.
    • Type "/gamemode c" (without quotes hereinafter) and press Enter to switch to Creative mode.
    • When you've finished creating your command blocks, type "/gamemode s" to switch to Survival mode, or type "/gamemode a" to switch to Adventure mode.
  2. Create command blocks. Open the console (press "T") and enter the command "/give your_username_in_Minecraft_minecraft:command_block 64"

    • Please note that the username is case-sensitive.
    • If nothing happened, 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 indicating the number of blocks. 64 is a complete set of command blocks.

    Part 2

    Using Command Blocks
    1. Install the command block. In your inventory, find the command blocks you created. They 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. Approach the command block and right-click on it. A pop-up window will open with a text field.

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

      • To see a list of commands, open a console (not a command block) and type "/help".
      • Unlike the console, you do not need to type a forward slash (/) in the command block text window.
    4. Activate the block with the redstone. Connect the redstone to the command block and place the pressure plate on the redstone. 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 redstone.

      • 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 a button directly on the command block.
      • Any player can activate a command block, but only a player with access rights can change the command.
    5. Learn the special syntax. For the most part, the codes in command blocks are similar to the commands in a regular console. If you are not familiar with the console, skip to the next section. If you already know how to use console commands, understand the following additional options:

      • @p - Targets the player closest to the command block (no matter how far away they are).
      • @r - Targets 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 like). You can create additional specific commands by adding modifiers after @p, @r, @a, @e. Such modifiers look like [(argument)=(value)]. There are many available arguments and values. A complete list can be found online, but here are a few examples:

      • command with modifier @r will affect a random sheep.
      • command with modifier @e will have an effect on any object (player, mob) in the "Creativity" mode. The "m" argument denotes mode, and the "c" argument denotes "Creativity".
      • Symbol "!" reverses the specified value. For example, @a will have an effect on any player, not part of a team called Commando (teams exist only on special maps created by players).
    7. Use the Tab key for help. If you know a command but aren't 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, return to the command to call the sheep and delete the word "Sheep" (sheep). Press the Tab key to view a list of players or mobs that can be summoned.

    Part 3

    Command block examples
    1. Create a block for teleportation. 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 him will disappear and reappear at the specified coordinates.

      • Press F3 to display 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 type "@r", a random player will be teleported.
Loading...Loading...