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?

  • 1
    Is your question “why” or how to deal with being on the roof?
    – PausePause
    Jan 20 at 4:12
  • So you spawned on top of bedrock?
    – Millard
    Jan 20 at 16:42
  • Yes, and I was just wondering why.
    – Aceplante
    Jan 20 at 21:20
  • 1
    Not sure how you did this, but don't remove it till you have another access point. Being above bedrock can be super useful. You prolly know this already, if so srry for the useless comment =)
    – Millard
    Feb 16 at 18:23

1 Answer 1


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.

  • I was just wondering why it happened and if I need to worry about it happening again? Because if I were in survival that would be a problem.
    – Aceplante
    Jan 20 at 21:21

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .