You will need these mods to play:
https://www.curseforge.com/minecraft/mc-mods/portal-gun-fabric/files/3735282 Portal Gun
https://www.curseforge.com/minecraft/mc-mods/geckolib/files/4282014 Essential libraries for the Portal gun
https://www.curseforge.com/minecraft/mc-mods/fabric-api/files Fabric API for the mods to work (use version 1.18.2)
https://fabricmc.net/use/installer/ Used along with Fabric API (Use version 1.18.2)
(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.