Home network hardware How to get a command block in Minecraft. Command block Command block for version 1 12

How to get a command block in Minecraft. Command block Command block for version 1 12

The same commands as in regular chat. What is a command block, how to get it and how to use it? In this article we will tell you about it!

This is really a very useful block and it expands the possibilities of creating maps in Minecraft

You can find a complete list of commands at, but not all of them work in Minecraft on Android, IOS and Windows 10 versions.

+ command blocks in MCPE:

  • Unlike the PC version, in PE command blocks do not place heavy loads, i.e. FPS will be stable.
  • The command block interface is adapted for mobile devices.
- command blocks in MCPE:
  • Too little functionality.
How to get a command block?
In the game, you cannot get a command block by crafting, but you can issue it using the command /give Steve command_block, Where Steve nickname of the player to whom the team will give this block. Instead of Steve, you can also use @p, meaning you give the block to yourself. Don't forget to enable cheats in the world settings.


How to enter a command into a command block?
To do this, you need to open its interface. This is done very easily, just tap on it. In field Entering a command The command block itself fits in, which the command block will execute. Just below is a field where you can see an error if you entered something wrong.


Example commands:
  • give @p apple 5 - gives the player five apples.
  • setblock ~ ~+1 ~ wool - places a block of wool at the player's coordinates.
  • tp Player 48 41 14 - moves a player with the nickname Player to a point at coordinates x=48, y=41, z=14
Who do command blocks work with?
Thanks to pointers, you can point to the player or creature on whom the command will be executed:
  • @p is the player who activated the command.
  • @a - all players.
  • @r is a random player.
  • @e - all entities (including mobs).
Auxiliary pointers:
How can I make it so that, for example, it moves all the players to some point except itself? Yes, it’s easy, for this you need to use additional pointers, for example: tp @a 228 811 381- teleports all players except the player with the nickname Admin exactly x=228, y=811, z=381. All parameters:
  • x - coordinate along the X axis. If you put instead of the value ~
  • y - coordinate along the Y axis. If you put instead of the value ~ , then the dot will be the command block.
  • z - coordinate along the Z axis. If you put instead of the value ~ , then the dot will be the command block.
  • r - maximum search radius.
  • rm - minimum search radius.
  • m - game mode.
  • l - maximum experience level.
  • lm - minimum experience level.
  • name - player's nickname.
  • c is an additional argument to @a that limits the number of players to execute the command. For example, if you enter @a, the command will affect the first five players from the list, @a will affect the last five from the list.
  • type - as an example, the command /kill @e will kill all skeletons, and the command /kill @e will kill all non-player entities.
Example command:
  • give @p gold_ingot 20 - gives the nearest player who is within a radius of 10 blocks 20 gold bars.

Command block modes

There are three command block modes available: pulse, chain, and repeat - the color of the block changes depending on the mode.
  • Pulse mode (orange): activates the specified command
  • Chain mode (green): the command will work if the block is attached to another command block and connects to other command blocks
  • Repeat mode (blue): The command is repeated every tick as long as the block has power.


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


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

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


Team title and its parameters:
  • title clear - clears messages from the player's screen.
  • title reset - clears messages from the player screen and resets options.
  • title title - the title that shows the text on the screen.
  • title subtitle - a subtitle that is displayed when the title appears.
  • title actionbar - displays a caption above the inventory.
  • title times - appearance, delay and disappearance of text. The default values ​​are: 10 (0.5 s), 70 (3.5 s) and 20 (1 s).
Example of command execution:
  • title @a title §6Start - title with orange color.
  • title @a actionbar Hello! - displays text above the inventory.
  • title @a subtitle Chapter 1 - subtitle.
Updated: December 07, 2019

Many of the features that are present in the game are achieved only with the help of commands, so we have prepared a list of commands in Minecraft for you. Most of them only work in multiplayer mode and for admins, but some of them are also suitable for single player play. Don't 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 solo play in Minecraft:

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

tell<игрок> <сообщение>,w<игрок> <сообщение> - Sending a private message to another player. Useful if you want to prevent other players on the server from seeing the contents of the message.

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

seed- Allows you to find out the grain of the world in which you are located.

Commands for admin in Minecraft:

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

debug - Starts debug mode or stops it.

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 your hands to the level specified in the command.

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

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, prohibits mob spawning.
  • doTileDrops - if false, objects will not drop from destructible blocks.
  • keepInventory - if true, after death the player does not lose the contents of his 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 commands are executed.

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

help [page | team] ? [page | team] - Lists all available console commands.

publish- Provides access to the world via a local network.

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

spawnpoint [target] [x] [y] [z]- Allows you to set the spawn point for the player at 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 a 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 the specified amount of experience to a specific player, from 0 to 5000. If L is entered 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 a player’s access to the server by nickname.

ban-ip - Allows you to block a player’s access to the server by IP address.

pardon<никнейм> - Allows you to unblock the specified player from accessing the server.

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

banlist - Allows you to see a list of all players blocked 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- Forcefully saves all changes to the server.

save-on Allows the server to make automatic saves.

save-off- Prevents the server from performing automatic saving.

stop- Shuts down the server.

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

/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 a second point according to your current coordinates.

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

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

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

/region removemember<регион> <ник1> <ник2> - Remove the specified players from the region's membership.

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

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

/region flag<регион> <флаг> <значение> - You can set a flag for the region if you have sufficient access.

Possible flags:

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

Values:

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

Commands for the WorldEdit plugin

Selecting the active area on which we will work using 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, by left-clicking on the block with this ax you will set the first point, and by right-clicking the second.

//replace - replaces all selected blocks with those specified in the selected region. For example: //replace dirt glass - will replace all 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 - Removes all blocks in the region (fills with air).

//move - Move blocks in the 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 a forest area x blocks, with type and density , density ranges from 0 to 100.

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

//redo- Restores the specified number of actions you canceled.

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

//desel- Removes selection.

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

//expand - Will increase the region by the specified number of blocks in the specified direction (north, east, south, west, up, down), if the reverse-amount number 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 out 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- Will 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 a block, with size .

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

//drain - Remove water at the specified distance from you .

//fixwater - Corrects the water level at a 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 a specified distance from you . Using [-a] will also kill friendly mobs.

// - Gives you a super pickaxe for quickly destroying blocks.

And so hello to everyone, dear friends. Today I will tell you how to get a command block in Minecraft. In our review today we have two methods at once, and both methods are still relevant today and will remain relevant (we will update the material if the method of obtaining changes). How to get a command block and why is it needed? Command blocks are needed so that the player can quickly get a certain item, thing, etc. using a certain code. For creating a command block we need to use a few simple steps:

First, let's launch Minecraft.

If you want to get a command block on the server, then you should go straight to method 2.

After which you need to create a world with cheats enabled. To do this, open the advanced settings and change the “Allow Cheats” item from OFF to ON.

Then start the world.

After the world loads, open the chat using the “/” button.

To get a command block, use the command:

/give [your name] minecraft:command_block [number of command blocks desired]

/setblock x y z minecraft:command_block” - this command will replace one block with a command block.

You can also take commands from our catalog " "

Method 2 - How to create a command block on the server

This method is suitable if you want to receive a command block in an already existing world or on a server.

Select an existing world or server in which you want to receive the command block.

Command blocks can also be used to obtain various mechanisms. Using ready-made commands from our section Commands for the Minecraft Command Block. Such commands can replace full-fledged modifications, for example, there is a command for the command block that will add weapons to the game.

Command blocks can also be used with various redstone torches, mechanisms and various electrical circuit boards.

I bring to your attention a short video instruction in which the author clearly explained how to obtain a command block.

New on the site

>

Most popular