Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom Portals with Dimension set to minecraft:the_end do not generate or link up #96

Open
steve-the-player opened this issue Mar 27, 2024 · 0 comments

Comments

@steve-the-player
Copy link

steve-the-player commented Mar 27, 2024

I haven't tried accessing the CustomPortalAPI directly yet, and I'm instead using the Datapack Portals mod which relies on it. I have a feeling it's an issue with the API itself, but I don't have a way to verify that. As such, I'm duplicating this issue to both repositories.

When creating a custom portal in the overworld, with the dimension set to the end, it builds the portal correctly, but refuses to generate one on the other side. Manually teleporting to the same coordinates in the end and placing a custom portal frame nearby, or even at the exact same coordinates, does not help. Lighting the portal in the End gives the same result. It lights and fills the portal blocks, but stepping into it, even in Creative where you should teleport through immediately. It just plays the spiraling animation like the you have infinite portal cooldown. When I use the add-on that allows trains from the Create mod to go through datapack portals, it breaks the track and gives the message "cannot place portal track: target portal not generated yet". It does this whether both portals are built or not, and in both dimensions.
Screenshot 2024-03-27 at 12 01 28 PM

I have only been able to test this on singleplayer, but I have a suspicion that even on a multiplayer server with dedicated threads for each dimension, and players active in the portal's chunks (or even trying to enter) on both sides would not fix the "portal not generated" error. In fact, if the behavior was any different than in singleplayer, I'm guessing it would cause a server crash.

I initially believed this was due to the way the End's exit portal logic works, but further testing shows that this behavior is the same whether the dragon is alive, killed, or respawned. I'm guessing it's probably more related to how entities going into the End always arrive on the obsidian platform, and returning to the overworld places them at world spawn/their respawn point. End portals don't work the same, but it would be so incredibly useful to override that for custom portals. Also, the code from fixing this issue could also be used to allow for more flexible custom End-like dimensions with set entrance and/or exit points in new dimension mods that call CustomPortalAPI.

@steve-the-player steve-the-player changed the title Portals to the End do not render Custom Portals with Dimension set to minecraft:the_end do not generate Mar 27, 2024
@steve-the-player steve-the-player changed the title Custom Portals with Dimension set to minecraft:the_end do not generate Custom Portals with Dimension set to minecraft:the_end do not generate or link up Mar 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant