Steps to reproduce the issue:
Enter the nether and find a structure
Enter the command /setworldspawn somewhere inside the structure bounding box
Enter the end, defeat the dragon, and enter the exit portal
Expected result: you should spawn at the highest safe y level
Actual result: you spawn on top of the block at y=0, inside blocks, and suffocate
Environment
Vanilla Java Edition 1.21.10, not modded
Linked issues
duplicates 1
Comments 2
Thank you for your report!
We're tracking this issue in MC-302144, so this ticket is being resolved and linked as a duplicate.
If you would like to add a vote and any extra information to the main ticket it would be appreciated.
If you haven't already, you might like to make use of the search feature to see if the issue has already been mentioned.
Quick Links:
π Bug Tracker Guidelines β π¬ Community Support β π§ Mojang Support (Technical Issues) β π§ Microsoft Support (Account Issues)
π Project Summary β βοΈ Feedback and Suggestions β π Game Wiki
For the record, you donβt need to defeat the dragon. Just dying without a bed or respawn anchor has a high chance of spitting you out in a bad spot, such at y=0 or above the Nether Roof.