One of the reasons Moded Minecraft is amazing is the ability to implement anything such as some features from other games. One such mod is the Laser Bridges & Doors Mod, which adds the Laser Source Block that’s like the ones from the famous game portal. This block creates laser bridges and doors when activated by a redstone signal creating limitless possibilities.
Mod Features:
This Mod for Minecraft adds the Laser Source Block to the game. This block, when activated by a redstone signal, creates a laser bridge or door depending on its orientation. The laser length depends on the redstone signal strength.
The Mod works by placing a block called the Laser Source Block and then using a redstone signal to active it

The stronger the signal the longer the bridge will be

You can also use it as an automated door

How to install:
Requires either Forge, Fabric, Quilt or NeoForged
Dependencies: Fabric API
How to install Minecraft Mods.