SolarPanel

Generates electricity using solar energy from a local star.
The closer it is to a star, the more energy it generates.
The type of star also affects its energy generation, as well as the size of the SolarPanel
.
If the SolarPanel
is blocked by a part, it will not generate any energy, glass however will work.
It is a craftable and spawnable flammable solid.
Here is a list of possible sizes that reach the maximum malleability (2000) that have integer components: 1x1x2000, 1x2x1000, 1x4x500, 1x5x400, 1x8x250, 1x10x200, 1x16x125, 1x20x100, 1x25x80, 1x40x50, 2x2x500, 2x4x250, 2x5x200, 2x8x125, 2x10x100, 2x20x50, 2x25x40, 4x4x125, 4x5x100, 4x10x50, 4x20x25, 5x5x80, 5x8x50, 5x10x40, 5x16x25, 5x20x20, 8x10x25, 10x10x20
At its default size (8x1x8) it has a durability of 1, at its maximum size it has a durability of 4.
By default, its colour is #000000.
It requires 12 Iron
, 120 Quartz
, 21 Silicon
, and 30 Wire
to be crafted.
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
.