Command Block ID in Minecraft
The Command Block ID in Minecraft Java Edition is minecraft:command_block, the same on Bedrock. Before Java 1.13 it was 137:15.
/give command
- Java 1.13 – 26.3
/give @p minecraft:command_block 64Gives a full stack of 64. Change the last number for a different amount.
- Bedrock
/give @s command_block 64 - Place the block (Java)
/setblock ~ ~ ~1 minecraft:command_block
.
Want enchantments, a name or lore? Open it in the give command generator.
Details
- Java ID
minecraft:command_block- Bedrock ID
minecraft:command_block- Java 1.8–1.12 ID
- 137:15
- Added in Java
- 1.13 or earlier
- Stack size
- 64
- Rarity
- epic
- Hardness
- Unbreakable
- Blast resistance
- 3600000
Block states
Use these in /setblock or /fill, for example minecraft:command_block[conditional=false,facing=north].
| State | Values | Default |
|---|---|---|
| conditional | true, false | false |
| facing | north, east, south, west, up, down | north |