Skip to main content

Laser sender

Introduction​

The Laser sender is one of the main components of Lasers Enigma. Its main function is to emit a laser.

The direction and the color of the laser can be modified. It is possible to define conditions for laser emission. The laser can also provide a configurable level of brightness in dark places. Finally, it is possible to define scheduled actions that will periodically make changes to the laser emitter at regular intervals.

How to place a Laser sender​

  • Open Lasers-Enigma main shortcut bar by typing the /lasers command.
  • Aim for the block on which you want to place the component. This can be on the floor, ceiling or wall. Then right-click with the "place component" button in hand.
  • Select which color you want the laser to have.
  • Now that the component is placed, the Laser Sender edition shortcut bar will open and you will be able to edit the component.

How to edit a Laser sender​

If the Laser Sender edition shortcut bar is not open already, simply right click on the laser sender to open it.

Via Shortcut Bar​

From the Laser Sender edition shortcut bar you have several possibilities:

  • You can rotate the laser sender at 27.5° to the left, right, top or bottom. It will change which way the laser will go.
  • You can change the colour of the laser. It will cycle through every color: Red / Green / Blue / Yellow / Pink / Cyan / White.
  • You can change the laser sender condition mod. It will affect the condition of when or not the laser sender will be activated. See Conditions for more details.
  • You can also open the Component configuration to have more possibilities.

Via Component Configuration menu​

In the component configuration menu, you will have access to what we summed up before, and 2 other features:

  • The light level, where you can change the laser brightness through 16 levels, where 1 is the darkest and 16 is the brightest.
  • Using the Scheduled actions menu, all the component edition possibilities we sum up can be automatically and periodically executed.
  • You can also define conditions that will activate or deactivate the Laser sender. The laser will then emitted or not according to those configurable conditions.

Via Area Configuration​

From the Lasers-Enigma main shortcut bar, if you are inside a puzzle area, you can open the Area configuration.

In the Area configuration, you can choose whether or not the player can interact with the laser sender rotation, either vertically, horizontally, or both. I insist on the fact that this is an area-based configuration and not a component-based configuration. It will affect every laser sender in the area.

State saving​

Only admin actions will be saved once you leave the area of the enigma. If a player leaves an area where he made modification on a laser sender, those changes will be reset.

Interactions​

Player interaction​

The player can turn horizontally or vertically the laser sender. This interaction can be allowed or disallowed in the Area configuration menu.

Note: When a rotation button is selected in the shortcut bar, a curved arrow preview is displayed around the component to indicate the direction of the upcoming rotation. This preview adapts to the player's position relative to the component. The preview requires ProtocolLib and can be disabled via the rotation_preview config option.

Laser emitting​

A laser sender can emit a laser. The laser can then interact with other components, entities and blocks.

Redstone interaction​

If the Laser Sender has the Redstone condition mod, it will emit a laser only if it is powered by a redstone signal.

Other components interactions​

The laser sender has no direct interactions with other components.

The laser emitted by a laser sender has a lot of interactions with other components. You can find a summary of those interactions in the lasers interaction wiki page.

Laser interaction​

A laser cannot pass through a laser emitter. Whether or not the laser emitter is hit by a laser has no effect on this component.