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
/laserscommand. - 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.
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 set the area's default for what players may do to a mirror support: turn it horizontally, turn it vertically, and take or place its mirror. This default applies to every mirror support in the area that does not decide for itself. An individual mirror support can override the area, in either direction — see Component edit rights.
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 it horizontally or vertically. Whether they may is governed by the component edit rights: the area sets a default, and each mirror support can override it.
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_previewconfig option.
Each of these — turning it horizontally, turning it vertically, taking and placing its mirror — can be set on this one mirror support in its component configuration menu, overriding what its area allows. A cell there shows whether the value is the support's own choice or simply inherited from the area. See Component edit rights. (This replaces the old "Lock mirror mod", which locked all three at once.)
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.