Command Block

A Command Block is a type of block that may be added in Update 0.15.0. It is used to execute commands.

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.

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

For example, typing /kill in a command block and powering it will result in the player's death.

Target Selectors

 * @p= Nearest Player
 * @a= All Players
 * @r= Random Players
 * @e= All Entities, including: Ender Crystals, Wither Skulls, Fireballs, Dropped items, Mobs, Players, and paintings.

Trivia

 * Command Blocks cannot be moved by Pistons.
 * Command Blocks have the same blast resistance as Bedrock.