Command Block Item ID

Each item in Minecraft has a unique ID assigned to it, known as an item ID, this can be used in commands to spawn the item into the game. The item ID for command block in Minecraft is shown below:

Command Block Spawn Command

The Command Block item can be spawned in Minecraft with the below command. Cheats must be enabled before this will work.

If you are running the Essentials plugin, you will need to run /minecraft:give instead of simply /give. This is because the Essentials /give command overrides Minecraft's built-in command.

Command Block Block States

Block states are values assigned to a block that changes its state. For example, many blocks have a "direction" block state which can be used to change the direction a block faces.

Find a table of all blockstates for the Command Block block below.

Block State Name Type Values
conditional bool ?
  • true
  • false
facing enum ?
  • north
  • east
  • south
  • west
  • up
  • down

All Minecraft 1.18 Item IDs

Find thousands more items on our complete list of 1,325 Minecraft IDs.

/show list

Command Block Information

Command Block

The command block in Minecraft can be used to execute commands. They cannot be obtained in Vanilla MC but, by using the item id, you can spawn the command block item into your inventory when in creative mode. In many cases, you must be a server op to use the block. Modifiers such as @p and @e can be used to target things like players and entities with commands.

Item ID minecraft:command_block
Numerical ID 137
Stackable Yes
Max Stack Size 64
Hardness 0.0
Diggable No
Min / Max State IDs 5644 - 5655