DriveBox
When connected to a motor or engine with a rod, it will spin the same speed the engine or motor is going. (You must click the drivebox first when creating a rod.)
It is a craftable and spawnable non-flammable solid.
Here is a list of possible sizes that reach the maximum malleability (144) that have integer components: 1x144x1, 1x72x2, 1x48x3, 1x36x4, 1x24x6, 1x18x8, 1x16x9, 1x12x12, 2x36x2, 2x24x3, 2x18x4, 2x12x6, 2x9x8, 3x16x3, 3x12x4, 3x8x6, 4x9x4, 4x6x6, 8x6x3, 9x8x2, 9x4x4, 12x6x2, 12x4x3
At its default size (2x2x2) it has a durability of 1, at its maximum size it has a durability of 3.
By default, its colour is #a3a2a5.
It requires 5 Iron
and 5 Quartz
to be crafted.
Configurables
Ratio
The ratio of speed from 1 (1:100) to 100 (100:100) between this DriveBox and the source motor. It is a number
.
It ranges between 1 and 100. It increments by 1.
Reversal
Determines whether the output should be reversed. It is a boolean
.
Events
Loop(deltaTime)
Fires when the object is updated by the game loop.
The deltaTime parameter is the 'time' since the last tick, it does not represent the actual time since the last tick was occurred, rather just how often a game tick should be fired (it will always be precisely 1
). It is a number
.