Solenoid
Controls the switch state of any switches attached to its output face based on whether or not it has power in the configured range.
It is a craftable and spawnable non-flammable solid.
Here is a list of possible sizes that reach the maximum malleability (27) that have integer components: 1x27x1, 1x9x3, 3x3x3
At its default size (1x1x2) it has a durability of 1, at its maximum size it has a durability of 3.
By default, its colour is #212121.
It requires 1 Switch
and 1 Transistor
to be crafted.
Configurables
Inverted
Whether or not the state will be inverted. It is a boolean
.
PowerRange
The power range the state will be active for. It is a NumberRange
.
Events
Configured(configurerId)
Fires when the object is configured.
The configurerId parameter is the UserId
of the player who configured the object. It is a number
.
OnClick(clickerId)
Fires when the object is clicked.
The clickerId parameter is the UserId
of the player who clicked the object. It is a number
.