You will need these mods to play: (also the mods are fabric)
https://www.curseforge.com/minecraft/mc-mods/portal-gun-fabric/files Portal Gun
https://www.curseforge.com/minecraft/mc-mods/geckolib/files Essential libraries for the Portal gun
https://www.curseforge.com/minecraft/mc-mods/fabric-api/files Fabric API for the mods to work
(OPTIONAL) Portal 2 Movement Mod https://github.com/Krzyhau/MinecraftP2Movement
This is a map where the entire game of Portal by Valve is in minecraft. Portal is a game where you solve puzzles with the ASHPD (Aperture Science Handheld Portal Device) or, portal gun. This map tries its best to replicate the game in minecraft.