How can I pulse one of several wires in Minecraft randomly?
My question is a bit familiar to How can I randomly power one of several wires in Minecraft?, but slightly different.
Let's say I have 5 wires (or more), wire A, B, C, D and E. Now, I want to randomly pulse one of them with the hit of a button. However, there should be a greater chance to pulse wire A and B, then the chance to pulse C and D. Also, the chance to pulse E should be smaller then A, B, C and D.
How can I achieve this?
Best Answer
Have a pulse going around in a loop. Along one side, take the first repeater and set it to the longest time delay (for heightened probability), followed by 1 redstone, then the rest of the loop.
Should look like this:
Key:
I = Long setting W = Redstone wire
Current is anticlockwise
wwwww
w w
w w
w w
w WWWWW
w I
wwwww
Here the line of W's is line A.
Repeat with B
Next, repeat with C and D, but with shorter delays. (Probability)
Leave E without an extra delay.
Next, make an AND gate on each line. One input will be the button, the other will be the line. The output of those are the lines A, B, C, D and E.
Please comment if you don't understand and I will amend as appropriate.
Pictures about "How can I pulse one of several wires in Minecraft randomly?"



How do you make a random pulse in Minecraft?
A pulse extender (aka "pulse sustainer", "pulse lengthener") increases the duration of a pulse. The most compact options are: Up to 4 ticks: Repeater. Up to 8 ticks: Repeater-Line Pulse Extender....Pulse extender.Items Required for Useful Output PulsesOutput PulseItems in hoppersItems in droppers72 hours28856314 more rowsMinecraft Tutorial : Random pulse machine
Sources: Stack Exchange - This article follows the attribution requirements of Stack Exchange and is licensed under CC BY-SA 3.0.
Images: Nicola Barts, Nicola Barts, Nicola Barts, Nicola Barts
