Hey,
I wanted something that when the first click of a button is pressed, it does
/fill x1 y1 z1 x2 y2 z2 wool
and the second click of a button will do
/fill x1 y1 z1 x2 y2 z2 diamond_block
The Meaning of Life, the Universe, and Everything.
Join Date:
12/24/2018
Posts:
47
Member Details
Do you want it to be on just button presses?
If you want them to cycle between wool and diamond then the simplest solution is to hook up a logic gate to the button. An easy way to do this is by having 2 droppers hooked up to each other in a circle using hoppers and comparators for measuring dropper output (connected to your different command blocks). You would connect redstone from the button to both the droppers on the same delay so that when the button is pressed, they are both activated at once. Add a simple item like a stick to one of the droppers and voila. Every time you press a button the item would go from one dropper to the next, powering the comparator and thus your command block.
The diamond and wool is just an example.
My main thing I want it to do is for the button to act as a lever that when pressed, it will turn on a circuit forever until I press the button again.
Hey,
I wanted something that when the first click of a button is pressed, it does
/fill x1 y1 z1 x2 y2 z2 wool
and the second click of a button will do
/fill x1 y1 z1 x2 y2 z2 diamond_block
What redstone mechanism do I need?
Do you want it to be on just button presses?
If you want them to cycle between wool and diamond then the simplest solution is to hook up a logic gate to the button. An easy way to do this is by having 2 droppers hooked up to each other in a circle using hoppers and comparators for measuring dropper output (connected to your different command blocks). You would connect redstone from the button to both the droppers on the same delay so that when the button is pressed, they are both activated at once. Add a simple item like a stick to one of the droppers and voila. Every time you press a button the item would go from one dropper to the next, powering the comparator and thus your command block.
The diamond and wool is just an example.
My main thing I want it to do is for the button to act as a lever that when pressed, it will turn on a circuit forever until I press the button again.
Oh easy. Feed your button into a T Flip Flop
Thank you for your responses. Its been a few months since I did redstone. Therefore I forgot most of the circuits.