Command block 1 12. Console commands for Minecraft PE. Minecraft Single Player Commands

In this article, we will look at how to give yourself a command block in Minecraft. When creating a map that differs from the generated areas, building or creating story scenarios, no server administrator can do without the use of built-in functions. The command block allows you to implement them. It's about about a special device on which a system command can be stored, such as the player receiving a resource or teleporting to a specific location.

Warning

Next, let's take a closer look at how to give yourself a command block. There are two ways to get this item. Both will require the use of system commands. This situation is due to the fact that it is impossible to craft a command block with improvised materials. But the problem still has a solution.

Ways

Let's move on to the practical part of solving the question of how to give yourself a command block. The command that will allow you to do this will be given below. The first method is to create a map in "creative" mode. In this case, the command block is available among other items. That's not all. Let's move on to the next way to solve the question of how to give yourself a command block. In this case, you will have to use the console command.

So let's open a chat. Enter the following command: /give (name) command_block (number). Thanks to this solution, you can not only personally receive the necessary element, but also give it to another user. All syntax is specified without brackets. By the way, the main condition for the work of such a team is the permission to use cheats. If the corresponding ability is disabled, you will not be able to get the specified item in either multiplayer or single player. To place a block on earth's surface, you only need to perform one action. Move it to the Quick Access Toolbar. Next, select the block and indicate a suitable place. At this point, the control interface will appear, through which you can enter the function.

Teams

It is not enough to know how to give yourself a command block. You need to learn how to use it. To do this, you must correctly specify the syntax of the instruction. Here are the basic rules. The command itself is listed first. We enter any function activated using the console. Next, the "area of ​​application" is indicated. That is, the user to which it is necessary to add the ability or the coordinates of the appearance of the object.

Finally, we move on to additional arguments. They allow you to clarify various characteristics object. The finished combination is indicated according to the following scheme: /(command) (coordinates or player's nickname) (parameters). Let's look at how to give yourself a command block and manage it with examples. Let's start with the issuance of items.


Enter /give @p. With the help of this instruction, our command block will give out iron ingots in the amount of 30 pieces to the nearest player within a radius of ten blocks. Now let's give an example of working with coordinates. Enter /spawn 10 20 30 /summon EnderDragon. From the syntax, it is obvious that the command summons a dragon at certain coordinates. We will get a complete list of functions that the command block has if we enter the /help command into the chat.

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.
  • Press the "/" key, a 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.

In which a 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 do not work in Survival mode.

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


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

The command block appeared in popular game Minecraft only from version 1.4, where the newest features for game participants are opened. 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.

Updated: 07 December 2019

Many of the features that are present in the game are achieved only with the help of commands, so we have prepared for you a list of commands in Minecraft. Most of them work only in multiplayer mode and for admins, but some of them are suitable for single player. Do not forget that you should enter commands in the chat window, which can be called up with the T or / key.

Click to go:

Commands for single player in Minecraft:

me<сообщение> - Displays the entered message on behalf of a third party: "Player_name message text". For example: "Player is exploring a cave".

tell<игрок> <сообщение>, w<игрок> <сообщение> - Sending a private message to another player. Useful if you don't want other players on the server to see the content of the message.

kill- Allows you to kill your character, useful if you're stuck with textures. After using the command in chat, the message "Ouch. That look like it hurt."

seed- Allows you to know the grain of the world in which you are.

Commands for admin in Minecraft:

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 [goal]- 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 fire spreading.
  • doMobLoot - if false, mobs will not drop drops.
  • doMobSpawning - if false, disables mob spawning.
  • doTileDrops - if false, items don't 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<цель> <номер объекта>[amount] [ Additional Information] - Gives the player the item specified by the block ID.

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- Gives you the option 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 certain player the specified amount of experience, from 0 to 5000. If you enter L after the number, the specified number of levels will be added. In addition, levels can be lowered, for example, -10L will reduce the player's level by 10.

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- Forcibly save all changes to the changes on 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, i.e. updates it according to the white-list.txt file (can be used when white-list.txt is modified manually).

/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 specified 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 - whether lava flow is allowed
  • water-flow - is water flow allowed
  • lighter - is it allowed to use a lighter

Values:

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

Commands for the WorldEdit Plugin

The selection of the active area on which we will work with the help of WorldEdit occurs as follows:

You can simplify actions with regions using .

//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 axe, 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 dirt 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<количество>, in<направлении>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- Restores 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 extend the region without losing the selection from the one already selected. poly - selects only in the plane. cyl - 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 a 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 every direction.

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

//regen- Re-generates 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 you are looking.

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

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

//pyramid - Creates a pyramid from a block , with size .

//drain - Remove water at a specified distance 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 quickly break blocks.

Regular chat in MCPE allows you to control the game. Commands change the mode, add items to the inventory, turn on various weather conditions, create monsters and are used to manage the server. They first appeared in Minecraft Pocket Edition version 0.15.9.

To use commands, you need admin rights on the server or activation of cheats in the game settings:

Settings > Game > Cheats: On


The general format of directives is:

/COMMAND_NAME POSSIBLE_OBJECT ADDITIONAL_PARAMETERS


Sometimes the order is changed or an unnecessary part is excluded.

command blocks

Many players have heard about special blocks that follow the directives prescribed in them and are powered by Redstone. They are often used to create story maps.


Get command block command:

/give @p command_block

Full list of Minecraft Pocket Edition commands

  • /help page number- view all available chat directives.
  • /gamemode 0-2- game mode selection ( survival / creative / adventure).
  • /clear playername- clear inventory of items.
  • /clone x y z(starting coordinate) x y z(final) x y z(move to this point) - move the selected area to the specified location.
  • /connect server_id- connection to the server.
  • /difficulty 0-3- changing the difficulty of the game.
  • /op, /deop- make the player a moderator or demote.
  • /enchant player_name enchant_name enchant_level- Enchant an item in hand.
  • /effect playername effect_name duration- apply a buff/debuff to the player.
  • /execute or /kill target_name or coordinates- destroy a mob or a player.
  • /fill x y z(starting coordinate) x y z(final) block_name block_parameters(additionally: block_name to replace and block_parameters to replace) - fill the specified area with blocks or change their structure.
  • /give player_name item_name quantity- Add an item to your inventory.
  • /list- view the list of players on the server.
  • /locate- find the nearest building, village or dungeon by coordinates.
  • /say- write a message to the chat from a third person.
  • /setblock x y z new_block_name command - destroy destroys the specified block, replace replaces the block.
  • /setworldspawn x y z- move the place of respawning of players after death.
  • /spawnpoint x y z playername- set a respawn point.
  • /summon mobname x y z- create a mob at a certain point.
  • /tell player_nick- send a private message visible only to the specified player.
  • /time command number_of_hours - add adds the specified number of hours to change the time, set sets the specified time (a full day is 24000, for example 9am would be 9000).
  • /title player_name or mob_name text- show text above the head of the mob or player.
  • /toggledownfall 0 or 1- disable / enable precipitation in the form of rain or snow.
  • /tp x y z/playername- teleport to a point or to the specified player (you can also teleport someone by coordinates, for example nobody_to_nobody or x y z coordinates).
  • /weather command - clear means no rain rain includes simple rain or snow, thunder activates a thunderstorm or blizzard.
  • /xp number of player_nick- accrue experience points.
  • /gamerule commandblockenabled true or false- Enables or disables all blocks.
  • /scoreboard objectives- scoreboard with glasses.
    • add Testing dummy table_name- makes a new table.
    • players add nick Testing number_points- adds names.
    • players remove nick Testing number_points- removes points.
    • setdisplay sidebar Testing– turns on the display on the right side of the screen.

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 kart in minecraft

Full list commands you can find 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 it's already clear from the title that this mode command block 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.