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.
- Too little functionality.
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
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).
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.
- 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 parameters.
- title title - the title that shows the text on the screen.
- title subtitle - the subtitle that is displayed when the title appears.
- title actionbar - displays 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).
- title @a title §6Start - title with orange color.
- title @a actionbar Hello! - Displays text above inventory.
- title @a subtitle Chapter 1 is a subtitle.
And so hello everyone Dear friends. Today I will tell you how to get a command block in minecraft. On the review today, we have two methods at once, and both methods are still relevant and will be 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 specific code. For creating a command block we need to use a few simple steps:
Let's start Minecraft first.
If you want to get a command block on the server, then you should go straight to method 2.
Then 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 has loaded, open the chat using the "/" button.
To get a command block, use the command:
“/give [your name] minecraft:command_block [number of command blocks you want]”
“/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 get a command block in an existing world or on a server.
Select an existing world or server where you want to receive a command block.
Also, command blocks can 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, gears, and various electrical circuits.
I bring to your attention a short video instruction in which the author clearly explained how to get a command block.
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
defaultgamemode
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
gamerule<правило>[meaning] - Allows you to change several ground 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<цель> <номер объекта>[number] [ Additional Information] - Gives the player the item specified by Block IDs.
help [page | command] ? [page | command] - 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<цель>
weather<время> - Allows you to change the weather for a specific time specified in seconds.
xp<количество> <цель> - Gives the specified player the specified amount of experience, 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
sorry<никнейм> - Allows you to unblock the specified player access to the server.
sorry-ip
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
whitelist
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 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 - 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 ax, left-clicking on a block with this ax will set the first point, right-clicking the second.
//replace
// overlay
//set
//move
//walls
//sel- Removes the current selection.
// sphere
//hsphere
//cyl
//hcyl
//forestgen
// undo- Undoes the specified number of your actions.
// redo- Restores the specified number of actions you have undone.
//sel
//desel- Deselects.
// contract
// expand
//inset [-hv]
//outset [-hv]
//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
//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
//fixwater
//fixlava
//snow
//thaw
//butcher [-a]- Kills all hostile mobs at the specified distance from you
// - Gives you a super pickaxe to quickly break blocks.