Place A Chain Command Block
Create a chain command block for sequential command execution
✅ Verified for Java 26.2 · Bedrock 26.32 — checked June 2026Places a chain command block that executes only when triggered by an adjacent command block. Chain blocks are used to run multiple commands in sequence without needing separate redstone pulses, enabling complex automation.
/setblock ~ ~ ~ chain_command_block35 characters
- Java: yes
- Bedrock: yes
- Command block: no
- Needs cheats / OP: yes
How to use
- Open chat (T on Java, / on Bedrock).
- Paste the command and press Enter.
- Right-click and enter a command to execute.
- Position it adjacent to another command block to activate it.
Related commands
Create a command block at your location for automation
/setblock ~ ~1 ~ command_block[facing=up]{Command:"/say Hello"}Create a repeating command block at your location
/setblock ~ ~ ~ repeating_command_blockPlace a working mob spawner that continuously spawns zombies
/setblock ~ ~ ~ spawner{SpawnData:{entity:{id:"minecraft:zombie"}}}