I would like something opposite to /setworldspawn, a command that would return me current world spawn location.
I tried getting SpawnX, SpawnY and SpawnZ nbt data from a non-existing player, but it seems that this is not allowed.


I tried a few things and I'm pretty sure the only way is setting the player's individual spawn point to something invalid (like 0 0 0), setting gamerule spawnRadius to 0, killing them, waiting until they respawn (like this) and then checking their coordinates.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.