StorageSensor

When the number of contents within connected storage objects is within a defined range, it will send trigger signals similar to a button. This can be used to automate production of certain products when the stored quantity is low. It is a craftable and spawnable non-flammable solid.
Here is a list of possible sizes that reach the maximum malleability (64) that have integer components: 1x1x64, 1x2x32, 1x4x16, 1x8x8, 2x2x16, 2x4x8, 4x4x4
At its default size (1x1x2) it has a durability of 1, at its maximum size it has a durability of 4.
By default, its colour is #000000.
It requires 1 Iron
, 2 Polysilicon
, and 1 TriggerWire
to be crafted.
Configurables
QuantityRange
The range of item quantities within which this sensor will trigger. It is a Range
.
Events
Loop(tickInterval)
Fires when the object is updated by the game loop.
The tickInterval parameter is the inverse of the tick rate. For example, if the tick rate is 20
, this will be 1 / 20
(or just 0.05
). If the tick rate commands are accessible, running them will change this value. It is a number
.