Trying to add immersive portal support

So I’ve been working on a datapack basically it has this effect where when you walk inside it’s bigger in the inside then the outside and so far I’ve handled it with tp commands to a datapack dimension but I wanted to add a option to use immersive portals mod to make the transition look cooler and be more smooth However when creating a portal it summons it only where the player is looking and doesn’t work when you try to summon it as a entity so it goes where the entity it looking so I said ok I’ll just make the player run it by executing as player and tp it to the armor stand issue is tho if you tp the portal it will make more portals and cause more issues and the armor does need to move and tp the portal a lot

Continue to help post