Posted January 13, 20169 yr Alright so I am looking to change the spawning location of the players when they create a new world before the world is loaded. I want them to spawn at or near 0, y, 0. Is there a way to do this before the player joins the world?
January 13, 20169 yr You can use the WorldEvent.Load event, and in the event use World#setSpawnPoint(BlockPos) to set the spawn point. You can get the highest block at the position using World#getTopSolidOrLiquidBlock(BlockPos) . Don't PM me with questions. They will be ignored! Make a thread on the appropriate board for support. 1.12 -> 1.13 primer by williewillus. 1.7.10 and older versions of Minecraft are no longer supported due to it's age! Update to the latest version for support. http://www.howoldisminecraft1710.today/
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.