Superflat spawnpoints can be thousands of blocks away from centre of world
When creating a new superflat world, that world's spawnpoint can be over 1000 blocks away from the centre of the world.
Not that it matters very much, but that seems to be inconsistant with default world spawnpoints, which never seem to be more than 400 blocks away in each axis.
Anyway, it would be nice if superflat world spawnpoints were always at (0,0,0) seeing as they are generated the same everywere, if just for pureness' sake.
Environment
Windows 7
Java 1.7.0_07
Created Issue:
Superflat spawnpoints can be thousands of blocks away from centre of world
When creating a new superflat world, that world's spawnpoint can be over 1000 blocks away from the centre of the world.
Not that it matters very much, but that seems to be inconsistant with default world spawnpoints, which never seem to be more than 400 blocks away in each axis.
Anyway, it would be nice if superflat world spawnpoints were always at (0,0,0) seeing as they are generated the same everywere, if just for pureness' sake.
Environment
Windows 7
Java 1.7.0_07
Torabi: you might have a point there. Although, I think it is more for "backup spawnpoint", read next..
Wesley: I'm not completely familiar with the spawn point rules, but I'd also guess that one could end up in the "world spawn point" in single player when you e.g. lose your bed (say, blown up, lava burn, ...) If that is the case, then its functionality of keeping that area at least a little bit clear from monsters is nice. I don't think it is fair to require player to always create some safe house at that location.
However, if admins can set a default spawn point in multi-player, then indeed, the protection should be set for that location, not something random rolled by the game.
Brad: the algorithm that calculates the original spawn point is the same for all world types (at least if the suggestion in MC-2807 is not applied). The reason why the slime chunks seemed to work in normal worlds was explained in the other issue; height difference.
For knowing where the world spawn is? I think that in single player the original spawn point is the same (or at least close) to the "world spawn point", so compass would point to it at all times. Multi-player? No idea.
The spawnpoint can be also in normal worlds more than 1000 blocks away. It just needs to start in a world with large ocean around 0,0,0, which is quite rare though.
But, yeah, would be nice to change the spawnpoint decision process just enough to notice superflat and skip the searching of suitable location in that case.
Fix
Couldn't get it exactly 0,some,0, but within chunk distance of that. No point in doing 1000 tries when it indeed does not make a real difference.
Affects 13w09c.
This still affects 1.5.1
Affects 1.6.4.