Bathroom renovation website. Helpful Hints

Simple commands on the command block. How to write commands in minecraft on the phone

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.


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

In which the long-awaited innovation was added - command blocks.

With the help of command blocks, you can set certain commands that can be distributed both to the entire server and to a random player.

Important to know: Commands can only be used to create a game world and only in creative mode. Command blocks in Survival mode do not work.

Many players do not know or understand how to use these blocks and what commands must be entered in order for them to be active.

To get a command block, you need to open a chat and write the command /give @p command_block

Then we select it and install a lever or any other activator to it.

How to set a command for a command block?

In order for the command block to perform a particular function, it needs to be given a specific command. To do this, click on the command block and a window with settings opens. In the “Console Command” field, you need to enter the command we need.

Below will be presented the Top 15 most popular command block commands for minecraft mobile.

Top 15 Commands for Minecraft PE

/title @a title Your message. With this command, you can write and send some message or instruction to everyone on the server.

/effect @a regeneration 2000 2000. Regeneration team. 2000 is the level and quantity.

/tp @a 0 0 0 . Where are your coordinates, and 0 0 0 are the coordinates where you want to teleport. To find out your coordinates, you need to download a special mod.

/clone~ -1~1~3~3~-3~4~-1~-3 Command for endless minecart road. That is, the road will be constantly cloned and created.

/setblock its diamond_block coordinates. Command to an infinite diamond block. This way you can get rich very quickly.

/weather rain . Command to change the weather to rain.

/weather clean .Clear weather command, disables rain.

/gamemode 0 - Quick transition to Survival mode. /gamemode 1 - switch to creative mode. We set for whom the mode will change, for example / gamemode 0 @a - this way the mode will be applied to all players.

/time set night - this command changes the time of day to night. /time set day - thanks to this command, the day will come in minecraft.

/give @a diamon 1 is a command that gives you the items you specify. In our case, these are diamonds. Where 1 is the number of diamonds.

/spawnpoint - thanks to this command you can set the spawn point after you have died.

/kill - A command that kills everything on the map. You can set what exactly needs to be killed, for example, animals or creeps.

/difficulty - a program that changes the difficulty in the game. You can bet from 0 to 3.

/say - a command with which you can also communicate with players on the server.

Many of you know that in Minecraft it is possible to achieve the goals the player needs by prescribing a certain command on the command line. It is very comfortable. It is also very convenient to download free games for android and enjoy your favorite game from your phone or tablet. But convenience should always strive to improve. At this point, the developers have upgraded to such an interesting thing as a command block. The essence of this device is that it executes your console commands, receiving a signal from the redstone (attention to the screen). With the advent of this block, the possibilities for crafters who create maps with an adventure mode have significantly expanded.

Of course, having such functionality, the command block is not at all "burning with the desire" to succumb to crafting. Only "heads" of servers - their administrators - can get it in multiplayer. For this, in server.properties» they require « enable-command-block» set to position « true". Why in a multiplayer game is such a useful thing available only to the authorities? Everything is very logical. Imagine that two garden neighbors pray at the same time: one for rain, the other for clear skies. Who to answer? First or second? This is how it is in Minecraft, if all crafters could reach the command block, whose will, whose commands should he execute?

But singles 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 be your own director? Try this device.

Pointers

However, such a multifunctional box requires the ability to use it. “Trachtibidokh” is clearly not enough here, but there is no smell of nuclear physics either, so fears away. Let's start with the fact that you need to use the command block through the interface with the text area. You can save your changes only if you are a server administrator and in 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 to 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 crafter closest to the device to be enriched with cobbles, you need to issue the following: /give @p (4). The id of the cobblestone is indicated in brackets. Want to communicate with 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

The pointer to a specific crafter can become even more specific by using arguments that should 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 that commands apply to. For example, @a- the first 8 crafters from the list, @a- last 8.

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!

With the help of special commands, you can do anything in Minecraft - we have a complete list of these commands.

You can add any items to yourself, change weather conditions, or simply make yourself invulnerable. Some of the commands will only work in singleplayer or only in multiplayer, so read their description carefully before entering.

Commands are entered into the chat, so to start, press - T or / and then write.

Click to go:

Commands for single player in Minecraft:

Commands for admin in Minecraft:

If you are a server administrator, then these commands will be very useful to you. With them, you will be able to perform most of the actions necessary for the normal existence of your server.

clear<цель>[object number] [additional data]- Clears the specified player's inventory of all items or specific IDs.

debug - Starts or stops debug mode.

defaultgamemode - Allows you to change the default mode for new players on the server.

difficulty<0|1|2|3> — Changes the difficulty of the game, 0 - peaceful, 1 - easy, 2 - normal, 3 - difficult.

enchant<цель>[level] - Enchant an item in hand to the level specified in the command.

game mode [purpose]- Changes the game mode for the specified player. Survival (survival, s or 0), Creativity (creative, c or 1), Adventure (adventrure, a or 2). The player must be online for the command to work.

gamerule<правило>[meaning] - Allows you to change a few basic rules. The value must be true or false.

Rules:

  • doFireTick - if false, stops the spread of fire.
  • doMobLoot - if false, mobs do not drop drops.
  • doMobSpawning - if false, disables mob spawning.
  • doTileDrops - if false, items will not drop from destructible blocks.
  • keepInventory - if true, after death the player does not lose the contents of the inventory.
  • mobGriefing - if false, mobs cannot destroy blocks (creeper explosions do not spoil the landscape).
  • commandBlockOutput - if false, the command block does not output anything to the chat when executing commands.

give<цель> <номер объекта>[number] [additional information]- Gives the player the item specified by .

help [page | team] ? [page | team] - Displays a list of all available console commands.

publish- Opens access to the world over a local network.

say<сообщение> — Shows all players a message in pink.

spawnpoint [target] [x] [y] [z]- Allows you to set the spawn point for the player in the specified coordinates. If coordinates were not specified, the spawn point will be your current position.

time set<число|day|night> - Allows you to change the time of day. Time can be specified as a numeric value, where 0 is dawn, 6000 is noon, 12000 is sunset, and 18000 is midnight.

time add<число> — Adds the specified amount of time to the current one.

toggledownfall- Allows you to enable or disable precipitation.

tp<цель1> <цель2>, tp<цель> - Makes it possible to teleport the player specified by name to another or to the entered coordinates.

weather<время> — Allows you to change the weather for a specific time specified in seconds.

xp<количество> <цель> — Gives a specified amount of experience to a certain player, from 0 to 5000. Entering L after the number will add the specified number of levels. In addition, levels can be lowered, for example, -10L will reduce the player's level by 10.

ban<игрок>[cause]- Allows you to block player access to the server by nickname.

ban-ip Allows you to block player access to the server by ip address.

sorry<никнейм> — Allows you to unblock the specified player access to the server.

sorry-ip Removes the specified IP address from the blacklist.

banlist- Allows you to see a list of all players banned on the server.

op<цель> — Gives the specified player operator privileges.

deop<цель> — Removes operator privileges from the player.

kick<цель>[reason] - Kicks the specified player from the server.

list- Displays a list of all players online.

save-all- Force save all changes to the server.

save-on- Allows the server to perform automatic saves.

save off - Prevents the server from performing automatic saves.

stop- Shuts down the server.

white list- Displays a list of players in the whitelist.

whitelist <никнейм> — Adds or removes a player to the whitelist.

whitelist - Enables or disables the use of a white list on the server.

whitelist reload- Reloads the whitelist, that is, updates it in accordance with the white-list.txt file (can be used when white-list.txt is modified manually).

Territory Private Commands in Minecraft

You will need these commands if you are going to claim a territory or perform other related actions.

/region claim<имя региона> — Saves the selected area as a region with the specified name.

//hpos1- Sets the first point according to your current coordinates.

//hpos2- Sets the second point according to your current coordinates.

/region addon<регион> <ник1> <ник2> - Adds the specified players to the owners of the region. Owners have the same capabilities as the creator of the region.

/region addmember<регион> <ник1> <ник2> - Adds the specified players to the members of the region. Members have limited options.

/region removeowner<регион> <ник1> <ник2> - Remove the specified players from the owners of the region.

/region removemember<регион> <ник1> <ник2> Remove the specified players from the members of the region.

// expand<длина> <направление> — Expands the region in the specified direction. For example: //expand 5 up - will expand the selection by 5 cubes up. Valid directions: up, down, me.

// contract<длина> <направление> — Reduces the region in the given direction. For example: // contract 5 up - will reduce the selection by 5 cubes from bottom to top. Valid directions: up, down, me.

/region flag<регион> <флаг> <значение> - A region can be flagged if you have sufficient access.

Possible flags:

  • pvp - is PvP allowed in the region
  • use - is it allowed to use mechanisms, doors
  • chest-access - is it allowed to use chests
  • l ava-flow - is lava flow allowed
  • water-flow - is water spreading acceptable
  • lighter - is it permissible to use a lighter

Values:

  • allow - enabled
  • deny - disabled
  • none - the same flag as not in the private zone

Commands for the WorldEdit Plugin

You will need these commands if the WorldEdit plugin is installed on the server and you have permission to use its commands. On an average server, for most players, these commands will not be available.

//pos1- Sets the block you are standing on as the first coordinate point.

//pos2- Sets the block you are standing on as the second coordinate point.

//hpos1- Sets the block you are looking at as the first coordinate point.

//hpos2- Sets the block you are looking at as the second coordinate point.

//wand- Gives you a wooden ax, left-clicking on a block with this ax will set the first point, right-clicking the second.

//replace — replaces all selected blocks with those specified in the selected region. For example: //replace dirt glass - will replace all the earth with glass in the selected area.

// overlay — Cover the region with the specified block. For example: //overlay grass - will cover the region with grass.

//set — Fill the empty area with the specified block. For example: //set 0 - Will remove all blocks in the region (fill with air).

//move - Move blocks in region by<количество>, v<направлении>and replace the remaining blocks with .

//walls - Creates walls from<материал>in the selected region.

//sel- Removes the current selection.

// sphere — Creates a sphere from , with radius . Raised can be yes or no, if yes then the center of the sphere will move up by its radius.

//hsphere — Creates an empty sphere with the specified parameters.

//cyl — Creates a cylinder from , with radius and height .

//hcyl — Creates an empty cylinder with the specified parameters.

//forestgen - Creates an area forest x blocks, with type and density , the density ranges from 0 to 100.

// undo- Undoes the specified number of your actions.

// redo- Redoes the specified number of actions you have undone.

//sel — Allows you to select the shape of the selected region. cuboid - selects a box. extend - the same as cuboid, but when you set the second point, you expand the region without losing the selection from the already selected one. poly - selects only in the plane. cyl is a cylinder. sphere - sphere. ellipsoid - ellipsoid (capsule).

//desel- Deselects.

// contract - Reduce by the specified amount region in the selected direction (north, east, south, west, up, down), if a number is specified - and in the opposite direction.

// expand - Increase the region by the specified number of blocks in the specified direction (north, east, south, west, up, down), if the number of reverse-amount is specified, then in the opposite direction.

//inset [-hv] - Narrows the selected region in each direction.

//outset [-hv] - Expands the selected region in each direction.

//size- Shows the number of blocks in the selected region.

//regen- Regenerates the selected region.

//copy— Copies the contents of the region.

//cut— Cuts the contents of the region.

//paste— Pastes the contents of the copied region.

//rotate - Rotates the contents of the copied region by the specified number of degrees .

//flip- Reflect the region in the buffer in the direction of dir, or in the direction of your view.

//pumpkins- Creates a pumpkin field with the specified size .

//hpyramid— Creates an empty pyramid from block , with size .

//pyramidCreates a pyramid from a block , with size .

//drain - Remove water at a distance indicated from you .

//fixwater - Corrects the water level at the specified distance from you .

//fixlava - Corrects the level of lava at the specified distance from you .

//snow - Covers the area with snow at the specified distance from you .

//thaw Removes snow at a specified distance from you .

//butcher [-a]- Kills all hostile mobs at the specified distance from you . Using [-a] will also kill friendly mobs.

// - Gives you a super pickaxe to break blocks quickly.