Trying to work on a CoD:Zombies styled map, much like Sethbling's TF2 and Smash Bros ones.
Found out that you can't set the spawnpoint of a player using relative coordinates. Which I think is strange if we can use relative coordinates for teleports.
Linked issues
is duplicated by 1
Comments 9
Doesn't /spawnpoint @p require coordinates to function though?
And your system above would cause unnecessary jittering for the player
Is this still a concern in the current Minecraft version? If so, please update the affected versions in order to best aid Mojang ensuring bugs are still valid in the latest releases/pre-releases.
Indeed whilst you can execute for spawnpoints, there is a particular issue that executed spawnpoint does not accept relative co-ordinates when run in an execute as detailed in MC-63964.
I fully agree that you can, and whilst the block outputs that it has set the player's spawn to whatever the relative command should be, (at least in the examples I have tested and in versions up to 14w30) when the player is killed thy are returned to worldspawn
While I can see why this is bothering, you can work around this problem like this:
If you want to do /spawnpoint @p ~5 ~-10 ~0
Then do this:
/tp @p ~5 ~-10 ~0
/spawnpoint @p
/tp @p ~-5 ~10 ~0