So the command will only execute if a player has no value in their SpawnX data, and because they are in a command block chain the tp command will execute first so that we can still test for the nonexistent data for the spawn point command. Command blocks:
There is a gamerule ‘spawnRadius’ which will make you spawn in a 10 block radius around the coords by default. This can be changed to 0 though. Execute as [target] at @s run spawnpoint [target] [coordinates] Simple to explain. Some commands anly affect some entities, spawnpoint being one of them.
NZ3Emw. ldr8dr3t05.pages.dev/274ldr8dr3t05.pages.dev/99ldr8dr3t05.pages.dev/257ldr8dr3t05.pages.dev/422ldr8dr3t05.pages.dev/195ldr8dr3t05.pages.dev/483ldr8dr3t05.pages.dev/102ldr8dr3t05.pages.dev/392
minecraft set spawn point command