mojira.dev
MC-45971

/spawnpoint not working in command blocks

I am trying to make a PVP map with two teams, red and "blu". I have custom spawning systems to count whenever a person dies to add it to a death counter. The thing is though, /spawnpoint doesn't seem to work with the tag @a. I will include a couple screenshots, but when I use /spawnpoint (any co-ords) as a player and do /kill, I immediately spawn where I changed it, but with the command block, it says in the output section that "AGuyWhoIsBored's [that's me] spawnpoint was set to ...", but when I do /kill, it sends me back to where I set my spawn when I changed it as a player. I really hope this gets fixed as I really count on it 🙂 btw this is on a server

Linked issues

Attachments

Comments 5

qmagnet

Confirmed for 14w04b. /spawnpoint @a does not update by command block or typing. /spawnpoint @p works properly. It appears the @a argument simply reads off the last set spawn instead of setting a new one when you allow command block output to true.

Brittany

I've done some testing on my end (trying and failing to map make) that setting the spawn point with a command block (with @a) seems to work just fine up until I die. Meaning that with that first death I will spawn correctly wherever it was last set to, but after that I am no longer able to change it with the exact same command blocks until I reload the world.

Mark Gontar

I'm using version 1.7.9 and I found out that you must only use whole numbers. Don't use decimals. Another thing is round the numbers to the nearest 10th if the number for the x coordinate was for example -88.58690 use -89. Or just look at the number in (parentheses) That one tells you the rounded up number. The reason for this is because if you were to spawn a player inside a (tube) with a pressure plate below, make sure for one, that the y coordinate is a block above the pressure plate and that the x or z coordinate is rounded if needed otherwise it'll teleport them inside the blocks of the tube which wont work and so it'll just spawn you at the world spawn instead of at those coordinates.

Mary Lyn Williams

Not resolved I’m using version 1.2.10 and have had to set my spawn point several times it’s pointless to set a spawn point cause the game send me back to the beginning of what world I’m in like i never set a spawn point which I did a few too many times get this fix ! I swear I think they create these bugs just to piss me off !

qmagnet

Mary Lyn, take a deep breath. Spanw points are working fine with command blocks. First off, make sure you are always running the latest stable release. I assume 1.2.10 was a typo. We are currently in 1.12. Second, this is a duplicate bug. Make sure to post bug comments to the main report. Third, make sure your spawn point coordinates contain air. Any block, even a pressureplate with disable the spawnpoint. Make sure you’re not trying to issue the spawn coordinate to the ground below where you want to spawn.

Duncan

(Unassigned)

Unconfirmed

Minecraft 14w04b

Retrieved