Portal brings you back to a random spot in the overworld
Dumpling00 opened this issue ยท 6 comments
Hi! Love the mod, but I was wondering if there's any chance the portal behaviour could be fixed? As of now, re-entering the portal after reaching the Ceilands brings you to a completely new place in the overworld instead of back to the other side of the first portal you've built.
If we could get a fix for this it'd be great.
Thank you for your time and patience ๐
Hey there. Thanks for the report! I might see what could be done about the portal issue.
What mod version are you on, and which Minecraft version? Which modloader system?
Hi there! Sorry, I guess I never said!
This is happening on version 1.20.1, Fabric, latest version of Ceilands! (Although I remember it happening on previous versions too!)
OH, i should probably add, since I've completely forgot that this mod uses the Ancient City's portal by default - I'm using another portal (made from the config options), so maybe that's the issue? Or at least part of it?
It could be possible that the Ceilands is Y-clamped to 0-255, and the Deep Dark is located below that, so portal detection is pretty janky.
Ceilands uses its own portal activator so I don't think it should conflict. It only checks for Ceilands Portal blocks when trying to snap to that portal. Maybe it's out of range.
Is there anything that can be done? In my modpack, I've made it so you can get the Ceilignous rock by crushing, mixing and alloying other materials together, so the Portal Frame uses the same blocks as the one that appears when spawning in the Ceilands. If I'm understanding this correctly, the mod checks if there's an active Deep Dark portal on the way back, and if there isn't, it spawns you somewhere else, because it doesn't contemplate the existance of a custom portal?
From what I recall, it uses Point of Interest to check if such portal exists, the same way Nether portals check for the portal, as the portal blocks are POI.
Ceilands Portal uses similar code as well.
It could be possible that if you enter depending on the different halves, it might send you to a different place.