Skip to main content

RepairLaser

Fires a beam that repairs objects. Repairs 1 HP/s. It is a craftable and spawnable non-flammable solid.

It consumes 30 power per tick.

Here is a list of possible sizes that reach the maximum malleability (160) that have integer components: 1x1x160, 1x2x80, 1x4x40, 1x5x32, 1x8x20, 1x10x16, 2x2x40, 2x4x20, 2x5x16, 2x8x10, 4x4x10, 4x5x8

At its default size (4x3x3) it has a durability of 8, at its maximum size it has a durability of 14.

By default, its colour is #00ff00.

It requires 20 Aluminum, 20 Iron, 10 Jade, and 2 Laser 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.