Delay redstone with commands [duplicate]
Is there any way to use commands to make a long delay? I do not want to use a dispenser to fire an arrow into a button, because I don't want to keep reloading it, nor do I want to use a lot of repeaters. Can anyone help with possible commands/layouts for this sort of idea?
Best Answer
A very simple way to do this is simply with a /wait command. It's really just /wait [time in redstone ticks], at 20 ticks per second. At the end of that time, it will send a pulse out to any comparators attached to it, which you can use to power your dispensers (the pulse is the same as clicking a button.) Any other redstone put through it in that time would be outputted at the end of that time stacking on top of what's already coming. If you wanted it to loop, you could just put another string of redstone out from the string going into the dispenser to loop back around to the command block, and put a few repeaters on it so the pulse is over by the time it gets there. Hope this helped!
Pictures about "Delay redstone with commands [duplicate]"
![Delay redstone with commands [duplicate] - Side view punctual adult African American businessman in formal clothing sitting in taxi car and checking time on wristwatch Delay redstone with commands [duplicate] - Side view punctual adult African American businessman in formal clothing sitting in taxi car and checking time on wristwatch](/assets/images/delay_redstone_with_commands_duplicate_1.jpeg)
![Delay redstone with commands [duplicate] - Anonymous black person touching alarm clock near opened netbook with white blank screen placed on table with notebook and pens Delay redstone with commands [duplicate] - Anonymous black person touching alarm clock near opened netbook with white blank screen placed on table with notebook and pens](/assets/images/delay_redstone_with_commands_duplicate_2.jpeg)
![Delay redstone with commands [duplicate] - Serious black businessman checking time on wristwatch in taxi Delay redstone with commands [duplicate] - Serious black businessman checking time on wristwatch in taxi](/assets/images/delay_redstone_with_commands_duplicate_3.jpeg)
How do you add delay to Redstone?
Signal delay A repeater's delay can be modified by using the Use Item control. Each use increases the repeater's delay by one redstone tick, to a maximum of four redstone ticks, then back to one redstone tick.How do you delay a Redstone with a command block?
A very simple way to do this is simply with a /wait command. It's really just /wait [time in redstone ticks], at 20 ticks per second. At the end of that time, it will send a pulse out to any comparators attached to it, which you can use to power your dispensers (the pulse is the same as clicking a button.)Learning Minecraft Command Block Programming, Part 7 - Time delays
Sources: Stack Exchange - This article follows the attribution requirements of Stack Exchange and is licensed under CC BY-SA 3.0.
Images: Andrea Piacquadio, Ono Kosuki, Monstera, Ono Kosuki
