I'm trying to make a chain of command blocks that would change a player's gamemode and then teleport them somewhere from the press of 1 button. I tried connecting them with redstone and also tried using a repeater and nothing has worked. Any suggestions?
Minecraft – How to make a command block chain
minecraft-commandsminecraft-java-edition
Related Topic
- Minecraft – /tp command not working
- Minecraft – How to change the direction of a command block chain? 1.15.2+
- Minecraft – Is It Possible To Pass The Selected Player Down The Command Block Chain
- Minecraft – Seek players near command block
- Minecraft – Branching dialogue in minecraft using a player scoreboard, a trigger, tellraw, and a command block chain
- Minecraft – How to use /setblock to make a conditional command block
Best Answer
1.9+ Answer
For your first command, place an impulse command block. Then, for all subsequent commands, use a chain block on 'always active'.
1.8 and below answer
This is possible with the use of repeaters.
Simply string your command blocks together like so:
This will execute the commands left to right with a 4 tick delay between each when the button is pressed.
The delay on the repeaters can be changed or more repeaters can be added to make the delay between executions quicker or slower.