Command Block
Command Block — block.
Obtaining
A command block is an operator utility available in creative mode and through commands; it is not obtained in ordinary survival. The three visual variants share the same command interface but differ in how they participate in a chain.
| Survival acquisition | Not available |
|---|---|
| Creative acquisition | Creative inventory or command |
| Recipe | None |
Breaking
Command blocks cannot be mined in survival and do not have a survival drop. They have bedrock-like blast resistance, so the block is an operator and creative tool rather than a renewable building material.
| Hardness | -1 |
|---|---|
| Blast resistance | 3600000 |
| Correct tool required | Yes |
| Survival drop | None |
| Survival mining | Not available |
Usage
The block occupies a standard full volume and is shown with an isometric preview.
A command block runs a stored command when it receives a trigger and can feed a larger automation chain. Its output can be sent to chat or stored for later inspection, which makes command blocks useful for maps, minigames, and server tools. The command text is edited through its GUI, and the block keeps its options with the placed block.
| Shape | Full cube |
|---|---|
| Rendering | Isometric preview |
| Trigger | Redstone power or Always Active |
| Output | Chat feedback or stored result |
| Permission | Operator command execution |
| Main uses | Maps, minigames, and server automation |
Behavior
The block has impulse, chain, and repeating modes. Impulse runs once per activation, repeating runs every game tick while active, and chain follows a preceding command block in its facing direction. Conditional mode runs only when the previous block reports success; the always-active option removes the redstone requirement. A chain is therefore easiest to read from its arrow direction and the success state of each preceding block.
| Stack size | 64 |
|---|---|
| Solid block | Yes |
| Map color | color_brown |
| State count | 12 |
| Impulse | Runs once per activation |
| Repeat | Runs every game tick while active |
| Chain | Follows the preceding command block |
| Conditional | Requires the previous block to succeed |
| Always active | Removes the redstone requirement |
Data values
The block identifier is `minecraft:command_block`. Its blockstate records the facing direction, conditional flag, and execution mode used by the command chain.
| Identifier | minecraft:command_block |
|---|---|
| Version | Minecraft 26.2 |
| Blockstate | assets/minecraft/blockstates/command_block.json |
| Execution mode | Impulse |
| Activation | Redstone or always active |
| Conditional | Unconditional by default |
| Facing | Stored in block state |
| Mode | Impulse, chain or repeating |
History
- 26.2Block facts were published from the verified snapshot.Provenance: 918feb41c87c05a6f3e94e327fb01a82543180a2376b65610c6f0521456532a5
Gallery
See also
References
The command block behavior is confirmed by the local block, command-storage, and item-registration classes. Chain and repeating modes are registered as separate blocks and have no separate crafting recipe.
| Source | Validated DeepMine snapshot |
|---|---|
| Snapshot ID | 918feb41c87c05a6f3e94e327fb01a82543180a2376b65610c6f0521456532a5 |
| Digest | d1d63e75177094c879e2b7cd896eab77c1e4d88432155cf309f7b04b40e24134 |
| Block implementation | `net/minecraft/world/level/block/CommandBlock.java` |
| Command storage | `net/minecraft/world/level/BaseCommandBlock.java` |
| Block entity | `net/minecraft/world/level/block/entity/CommandBlockEntity.java` |
| Item registration | `net/minecraft/world/item/Items.java` |
| Block registration | `net/minecraft/world/level/block/Blocks.java` |
Navigation
Data and provenance
minecraft:command_block
Snapshot digest verified.
d1d63e75177094c879e2b7cd896eab77c1e4d88432155cf309f7b04b40e24134Provenance and publication
- Readiness
- Pending
- Snapshot
- 918feb41c87c05a6f3e94e327fb01a82543180a2376b65610c6f0521456532a5
- Source set
- 918feb41c87c05a6f3e94e327fb01a82543180a2376b65610c6f0521456532a5
- Entity identifier
- minecraft:command_block
- Digest
- d1d63e75177094c879e2b7cd896eab77c1e4d88432155cf309f7b04b40e24134
- Missing locales
- ru, en




