Command Block

Blocks

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.

Data: Obtaining
Survival acquisitionNot available
Creative acquisitionCreative inventory or command
RecipeNone

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.

Data: Breaking
Hardness-1
Blast resistance3600000
Correct tool requiredYes
Survival dropNone
Survival miningNot 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.

Data: Usage
ShapeFull cube
RenderingIsometric preview
TriggerRedstone power or Always Active
OutputChat feedback or stored result
PermissionOperator command execution
Main usesMaps, 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.

Data: Behavior
Stack size64
Solid blockYes
Map colorcolor_brown
State count12
ImpulseRuns once per activation
RepeatRuns every game tick while active
ChainFollows the preceding command block
ConditionalRequires the previous block to succeed
Always activeRemoves 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.

Data: Data values
Identifierminecraft:command_block
VersionMinecraft 26.2
Blockstateassets/minecraft/blockstates/command_block.json
Execution modeImpulse
ActivationRedstone or always active
ConditionalUnconditional by default
FacingStored in block state
ModeImpulse, chain or repeating

History

  1. 26.2Block facts were published from the verified snapshot.Provenance: 918feb41c87c05a6f3e94e327fb01a82543180a2376b65610c6f0521456532a5

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.

Data: References
SourceValidated DeepMine snapshot
Snapshot ID918feb41c87c05a6f3e94e327fb01a82543180a2376b65610c6f0521456532a5
Digestd1d63e75177094c879e2b7cd896eab77c1e4d88432155cf309f7b04b40e24134
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.

Page is awaiting additional checks.Missing locales: ru, en
Data sourced1d63e75177094c879e2b7cd896eab77c1e4d88432155cf309f7b04b40e24134

Provenance and publication

Readiness
Pending
Snapshot
918feb41c87c05a6f3e94e327fb01a82543180a2376b65610c6f0521456532a5
Source set
918feb41c87c05a6f3e94e327fb01a82543180a2376b65610c6f0521456532a5
Entity identifier
minecraft:command_block
Digest
d1d63e75177094c879e2b7cd896eab77c1e4d88432155cf309f7b04b40e24134
Missing locales
ru, en