Why did my Nether Portal spawn on the roof of the Nether?
So I am making a datapack, and started up a world, then built a portal so I could travel to the nether to test some things...
Except my portal spawned me on the nether roof.
According to Google, portals "try to generate at a similar Y value". The portal was built in the overworld at Y=68, yet the portal generated on the roof (Y=128). I was wondering why this happened and what conditions would cause this to happen.
In case it is relevant, I did notice (when flying down in spectator mode) that where I spawned was above a massive lava ocean, could that have forced it to spawn on the roof as there was no land?
I don’t why, but here’s how you can get fix this.
Well, you can fix this by relocating your portal at least 1,000 blocks (Yup, seems far, but the only solution) away from your existing portal and try again. You can also try building your portal underground once you reach the new location 1,000 blocks away, to maximize your chances of not spawning on the nether roof again.