I'm trying to make a command block that sets your spawn point, but I can't quite figure it out. I put in spawnpoint @a 1203 67 -402 and when I activate it, the command block says "set Player's spawnpoint to bla bla bla." But when I do /kill, I end up at the original spawn. Any help??
What I did was I was trying to make a pvp map, So players select their teams and then class, and the spawn would be set in the little dispenser room where they got their stuff, and I wanted to set the spawn there so they would automatically get their stuff, so I did the command
spawnpoint @P -23.300 85.000 -24.50
But when I test it out it says "Set (Player's Name)'s spawnpoint to -300000000000, 0, -30000000000000
Okay, I have tried EVERY solution to this.
Not a single one works.
My command block's line is: "/spawnpoint @a 117.57666 116.5 -275.37122"
I tried putting the y-value up 1 (it was 115.5)
I tried doing it with AND without @a
I even tried doing it right underneath the player and also about 46 blocks away.
I HAVE A SOLUTION!
Spawnpoints are set as 0 0 0. The command won't work if there are decimals. This is because when you respawn, the game will automatically add .50 to but the x and y values. For example, 70.50 20 50.50 will not work because after the game adds .50, it will become 71 20 51, and that defeats the purpose of setting your spawnpoint at that location.
Notice, if you are standing on a block, and you type the command /spawnpoint, it will give you a set of coordinates (example: -134 67 2345) but never any decimals! Then when you respawn, the game will add .50 to the x and y and you will respawn at (example) -134.50 67 2345.50.