1

Command Blocks and Redstone

Synthrax's Avatar Synthrax12/27/15 12:51 pm
1 emeralds 399 6
12/28/2015 8:01 pm
Skitto493's Avatar Skitto493
I'm sort of new to mapmaking and using redstone - I've only made one map so far - so I was wondering if it is possible to activate multiple command blocks with a single button/lever? Also I would appreciate other redstone tips as well.
Posted by Synthrax's Avatar
Synthrax
Level 11 : Journeyman Unicorn
4

Create an account or sign in to comment.

6

1
12/28/2015 4:34 pm
Level 33 : Artisan Engineer
Jmal116
Jmal116's Avatar
Using repeaters does technically work and should be ok at first, but for more advanced things you'll want to get used to fill strips or chain command blocks, depending on which version you're using.

If you're in 1.8, the best way would be to use a fill strip. To set up a fill strip, set all the commands you want to activate in a line somewhere separate from the button or lever. Place a command block behind the button with a fill command:fill <x> <y> <z> <x2> <y2> <z2> redstone_blockSimply insert the coordinates so that redstone blocks will fill a line directly next to your commands, powering them all. Just remember to put an extra command block which will remove the redstone blocks so you can use it again! This method is very good because every command on the line will get activated in the same game tick, but you are still able to control the order of the commands extremely easily just by switching the order they appear in the line.

If you're playing in a 1.9 snapshot (or are from the future and are actually playing 1.9), then you can set up a command chain even easier. If you look on the sides of the command block you should see an arrow. Place all your commands so that the arrow points to the next one in line. Then go through and change the every command, except for the first one, from "impulse" to "chain", and make it so the block does not need redstone to activate (there should be buttons inside the command blocks near the enter and cancel buttons). If you did it correctly, one click of a button should activate the whole chain in a single tick! The advantages of this over repeaters are virtually identical as with fill strips, however it is much easier to control the order of commands and you can shape the chain to whatever you'd like. That said, it is currently only available in the snapshots, so using it in a map may not be the best idea until 1.9 actually releases.
1
12/28/2015 1:59 pm
Level 1 : New Miner
Zarton123
Zarton123's Avatar
Use redstone repeaters they can send a current thru blocks
CMD=Command Block
REP=Repeater

[Button]
[REP]
[CMD] [REP] [CMD]
[REP]
[CMD] [REP] [CMD]
[REP]
[CMD]
1
12/27/2015 10:23 pm
Level 1 : New Crafter
AlbinoTeen
AlbinoTeen's Avatar
XD What version are you in?
1
12/27/2015 1:38 pm
Level 70 : Legendary Engineer
Bertiecrafter
Bertiecrafter's Avatar
Place your cmd blocks in a row, one every 2 blocks...

place a button on one end of the line and place repeaters facing away from the cmd block with the button on the empty spaces.
1
12/28/2015 8:01 pm
Level 55 : Grandmaster Dragon
Skitto493
Skitto493's Avatar
Don't really need repeaters. (unless you're trying to activate an extreme amount of command blocks)

Simply lay the command blocks down, and put redstone dust ontop of them. (You can place blocks onto interactable blocks without interacting with them by using shift+click) When the redstone activates, it'll activate the command blocks it's on top of. You can also put command blocks to the sides of the block directly below the redstone, and also under it. You can get a total of 6 command blocks activated with only a single piece of redstone dust.
1
12/27/2015 1:34 pm
Level 49 : Master Fox
Lipse
Lipse's Avatar
If you connect all of the command blocks together with redstone leading to one lever, the lever should turn them all on.
Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome