Command Block

A Command Block is a type of Block that will be added in a future update. It is used to execute Commands meant to affect selected entities.

Obtaining
Command Blocks can only be obtained by using Commands. They are not available in the Creative inventory, and cannot be obtained naturally in Survival Mode. The command used is /give @p command_block minecraft.

Usage
To use a Command Block, the Player must type a Command into the Command Block, and then power it using a Redstone power source. If the command has been input correctly, it will be executed.

For example, typing /kill in a Command Block and powering it will kill the Player. Note that command arguments for a command block are executed relative to the command block placement, and can use target selectors as indicated in the argument section of Commands page.

Trivia

 * Command Blocks cannot be moved by Pistons.
 * Command Blocks have the same Blast Resistance as Bedrock, and are unbreakable in Survival Mode.
 * The texture for the Command Block is currently in the game's code, but is unimplemented.
 * There are two more variants of the Command Block, the Repeating Command Block and the Chain Command Block.