Skip to main content

Laser

Fires a concentraded beam of energy when powered, which can be used to damage and set objects on fire. Has a Range of 1000 studs. Primarily used as a weapon in space combat situations. While it can damage objects effectively, it cannot damage energy shields.

It is a craftable and spawnable non-flammable solid.

Here is a list of possible sizes that reach the maximum malleability (40) that have integer components: 1x40x1, 1x20x2, 1x10x4, 1x8x5, 2x10x2, 2x5x4, 5x4x2

At its default size (8x2x2) it has a durability of 8, at its maximum size it has a durability of 9.

By default, its colour is #ff0000.

It requires 50 Diamond, 25 Iron, and 50 Ruby to be crafted.

Configurables


DamageOnlyPlayers

Determines if this laser is only allowed to damage players and not materials. 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.