MC6020

From MinecraftOnline
Jump to navigation Jump to search
Random 5-Bit
About
ID MC6020
Type SI5O
Self-Triggering No
Clickable No
Input Single
Output Five
Sign Format
First line RANDOM 5
Second line [MC6020]
Third line (MinOutputs:(MaxOutputs))
Craftbook Page

MC6020 is a Craftbook IC that randomly activates a number of output terminals when triggered by the front input.

Due to this IC only having 5 outputs, the effective output terminal range is limited from 0 to 5.

Details

  • Second Line
    • [MC6020]
  • Third Line
    • (MinOutputs:(MaxOutputs)) - (MinOutputs optional; defaults to 0), (MaxOutputs optional; defaults to 5)
    • MinOutputs specifies the minimum number of output terminals that will be activated.
    • MaxOutputs specifies the maximum number of output terminals that will be activated.
    • Both values must be whole integers between 0 and the number of available output terminals.
    • MinOutputs cannot exceed MaxOutputs.

When triggered by the front input, the IC randomly determines how many output terminals to activate, selecting a number between MinOutputs and MaxOutputs (inclusive).

The selected number of outputs will then be randomly distributed among the available output terminals. All remaining output terminals will be deactivated.

If only one value is provided on the third line, it will be interpreted as MaxOutputs, with MinOutputs defaulting to 0.

The range of MaxOutputs and MinOutputs is 0 to 5 for this specific IC.

Examples

Basic setup

line1:
line2: [MC6020]
line3:
line4:

Randomly activates any number of output terminals, from none to all available outputs.

Maximum outputs setup

line1:
line2: [MC6020]
line3: 2
line4:

Randomly activates between 0 and 2 output terminals.

Minimum and maximum outputs setup

line1:
line2: [MC6020]
line3: 1:3
line4:

Randomly activates between 1 and 3 output terminals.

See Also