Jump to: navigation, search

Randomizer

Randomizer
Randomizer 256.png
Randomizer
Type

Multipart block

Physics

No

Transparency

Yes (partial)

Luminance

Yes, 7

Blast resistance

?

Tool

Any tool

Renewable

Yes

Stackable

Yes (64)

Flammable

No

Availability

Survival

First appearance

v4.0.0

Drops

Itself

Data value

dec: 11 hex: B bin: 1011

Multipart ID

pr_sgate

The Randomizer is a sequential logic gate with 1 input and 3 outputs with added tick based functions. It can be used to create a random series of signals.

Obtaining

Crafting

Ingredients Crafting recipe

Conductive Plate +
Circuit Plate +
Energized Silicon Chip

Circuit Plate Energized Silicon Chip Circuit Plate Grid layout Arrow (small).png Randomizer
Conductive Plate Conductive Plate Conductive Plate
Energized Silicon Chip Conductive Plate Energized Silicon Chip


Usage

I/O

The Randomizer has 1 input and 3 outputs. When placed, on the ground, the input is the side facing the player while the others are the outputs.

Logic

While the input is receiving power, the randomizer continuously shuffles the states of the outputs using the Java random number generator. When the input is not receiving power, the current outputs are locked in place.

Configuration

A shift-right-click with a screwdriver can toggle which outputs are active. Disabled outputs don't emit power when it should, nor will said outputs connect to wires.

When shift+right-clicked, the gate's outputs are manipulated in this order: All active, right disabled, front disabled, left disabled, right and left disabled, front and left disabled, right and front disabled.

It is recommended that any unused sides be disabled to avoid unnecessary block updates.

Applications

The primary use of this gate is for map makers who wish to add a truly "random" (i.e. pseudorandom) aspect to their maps. Such randomness is not possible with traditional Minecraft methods.

This gate is not intended to be driven with the input receiving a continuous signal. Instead, it should only receive a pulse when a new random output is needed.

History

Version Changes
v4.0.0 Added the Randomizer.
v4.5.11 Added ability to configure enabled outputs.

Issues

Issues pertaining to "Randomizer" are maintained on the ProjectRed Github page. Report issues there.