setworldspawn is not spawning players to the exact place

setworldspawn is not spawning players to the exact place - Free stock photo of action, adult, athlete

I am trying to make a Minecraft map but I can't set the world spawn. I did /setworldspawn then /kill and I ended up 10 blocks away then I tried again I was still 5 blocks away.

In the map it needs to keep updating your spawn point and having it not not working correctly is not an option. In one case I set the spawn, and then ended up in the next level of my map, which is clearly not intended.



Best Answer

Look at the Minecraft-Wiki entry for Spawn.

Player Spawning

Since Minecraft version 1.3, players in both singleplayer and multiplayer will spawn, by default, anywhere within a 20x20 area centered at the world spawn point. An individual player can change their spawn point by merely lying in a bed—they do not have to go to sleep (which can only happen if all players use a bed at the same time). Unlike spawning at the world spawn, a player's spawn point is set at specific coordinates; the player will always respawn on the same block. This block is also where the player is placed when the player gets out of the bed. If there are transparent blocks over the spawn block, the player will be respawned on top on the blocks, but will get out of bed inside of them on the same level as the bed.

Emphasis mine. Setting only the worldspawn will not help you ,you need to set the players' spawnpoints. So the command you should be using instead is

/spawnpoint <player> <x> <y> <z>

which will actually set the spawnpoint as if sleeping in a bed (see Commands). Just use @a to set it for every player at once.


As Rokk points out, this will not work for "Lobby" areas (i.e. where you will spawn when you first enter the world as a new player), since you need to run it for every player, and you can't run it before a player first spawns. For this case, I suggest a sufficiently large (i.e. 20x20 or greater) spawning area, set with /setworldspawn. Note that you spawn on the top blocks in the set area, so building it underground will not work.




Pictures about "setworldspawn is not spawning players to the exact place"

setworldspawn is not spawning players to the exact place - Hockey Players Playing on Ice
setworldspawn is not spawning players to the exact place - Man in White Ice Hockey Jersey Playing Hockey
setworldspawn is not spawning players to the exact place - Free stock photo of adult, black, black white



How do I make people spawn in the same place in Minecraft?

Use /setworldspawn by itself to set the spawn point for all players to the point you're currently at. Use /setworldspawn <x> <y> <z> with x y z are coordinates to set a new spawn point for all players.

How do I fix my spawn point in Minecraft?

There are 2 ways to change your spawn point:
  • Sleep in a bed. When you sleep in a bed at night, you will reset your spawn point. ...
  • Use the /spawnpoint command. This command allows you to quickly set your spawnpoint with a game command (ie: cheat).


  • How do you set your exact spawn point?

    Command: /setworldspawn
  • This command will set a Minecraft world's spawn point to the current location of the player who issued the command. This must be used in-game and can only be done by a server operator. ...
  • When used with coordinates X, Y, and Z, the spawn point will be changed to the specified coordinates.


  • Does everyone spawn in the same place in Minecraft?

    Players will spawn on different blocks every time in Vanilla Minecraft, but it is possible to use a server mod such as Bukkit to set an exact spawn point.



    MINECRAFT | How to Set WORLD SPAWN! 1.16.1




    More answers regarding setworldspawn is not spawning players to the exact place

    Answer 2

    Try

    /gamerule spawnRadius false
    

    Answer 3

    You could set the default gamemode to adventure mode (in adventure, minecraft spawns the player directly on the block) and then put a pressure plate at the spawn point and set the player to survival or creative.

    Answer 4

    While MrLemon's answer is probably the best way to go, you will have to repeat it every time a new player joins for the first time.

    I suggest installing Bukkit and using a plugin to set a specific spawn.

    Alternatively, you could just make the spawning area 20x20.

    Answer 5

    As MrLemon pointed out, players always spawn randomly in a 20x20 area around the world spawn. If you want to set each player's spawn point to a specific location, you could put the world spawn point in the middle of a 20x20 area of tripwires, which then activate command blocks setting the spawn point of all the players inside the area to wherever you want it to be, and then teleport them there. It's what many minigames do.

    Answer 6

    One way i do it is to have a repeater constantly repeating /spawnpoint @a ~ ~ ~ the whole time until they leave spawn and go over a pressure plate that uses setblock commands to disrupt the redstone clock repeating the spawnpoint command and then after leaving spawn they are free to set spawn where ever they want! kind of technical but not really.

    Answer 7

    What I do is have the first time players on my Realms Server spawn in a huge square, and when they leave they step over a pressure plate that sets their spawn. Try that, you might like it.

    Answer 8

    try watching this video! its a very helpful video!! it will fix your isusse!

    Sources: Stack Exchange - This article follows the attribution requirements of Stack Exchange and is licensed under CC BY-SA 3.0.

    Images: Ron Lach, Ron Lach, Ron Lach, Tima Miroshnichenko