Skip to main content

Mirror support

Introduction​

A mirror support is a component that does nothing if it does not contain a mirror.

A mirror can be inserted inside the Mirror Support to allow light reflection.

The inserted mirror can be colored and rotated in 3D.

A mirror support can interact with lasers differently depending on its orientation, the direction of the incoming laser and the color of the mirror it contains.

How to place a Mirror Support​

  • 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.
  • Click the "Mirror support" item.
  • Select the color.
  • Now that the component is placed, the Mirror Support edition shortcut bar will open and you will be able to edit the component.

How to edit a Mirror Support​

If the Mirror Support edition shortcut bar is not open already, simply right-click on the Mirror Support to open it.

Via Shortcut Bar​

From the Mirror Support edition shortcut bar you have several possibilities:

  • You can change the color of the glass pane. It will cycle through every color: White / Red / Green / Blue / Yellow / Pink / Cyan / Black.
  • You can rotate the mirror support at 27.5° to the left, right, top, or bottom.
  • You can retrieve or place the mirror.
  • You can allow or disallow players from interacting with this Mirror Support (which includes placing or retrieving mirrors but also changing its rotation).

Via Component Configuration menu​

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

  • Using the Scheduled actions menu, all the component edition possibilities we sum up can be automatically and periodically executed.

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 mirror support rotation, either vertically, horizontally, or both. This is an area-based configuration and not a component-based configuration. It will affect every mirror support in the area.

State saving​

Only admin actions will be saved once you leave the puzzle area. If a player leaves an area where he made modification on a mirror support, those changes will be reset.

This also means that a mirror support can be filled with a colored mirror or empty when players enters the puzzle area according to the choice made by the puzzle creator.

Interactions​

Player interaction​

The player can insert or retrieve mirrors from their support.

When the mirror support contains a mirror, the player can turn horizontally or vertically the mirror. This interaction can be allowed or disallowed in the Area configuration menu. This will affect every mirror support in the area.

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.

Every interaction between players can also be allowed or forbidden using the "Lock mirror mod". This will only affect the selected mirror support. Interactions affected by this permission include not only rotation, but also mirror placement or retrieval.

Laser interaction​

A mirror support can interact with lasers differently depending on its orientation, the direction of the incoming laser and the color of the mirror it contains:

  • When a mirror support does not contain a mirror, the incoming laser will simply be stoped.
  • When a mirror support contains a white mirror, the incoming laser will simply be reflected.
  • When a mirror support contains a black mirror, it will duplicate lasers.
  • When an incoming laser pass through the edge of the mirror, his color will be filtered according to the colored mirror inserted in the mirror support.
  • When an incoming laser touch the face of the mirror, his color will both filtered and decomposed. More exactly, the reflected color will be the same as if we had passed through a filter, while the light passing through the mirror will contain the remaining colors (those that have not been filtered).

Other components interactions​

The mirror support has no direct interactions with other components.

The laser redirected or passing by the mirror has a lot of interactions with other components. You can find a summary of those interactions on the lasers interaction wiki page.

Previews​

Black Mirror on Mirror Support
White Mirror on Mirror Support
Red Mirror on Mirror Support
Green Mirror on Mirror Support
Blue Mirror on Mirror Support
Magenta Mirror on Mirror Support
Yellow Mirror on Mirror Support
Cyan Mirror on Mirror Support

Known issues​

  • The mirror hitbox is very sensitive. Thus, a laser can graze a mirror without touching it.

See our issue board for more information.