Posted May 13, 201510 yr Hello everyone, I am triing to set the worldspawn to a predefined location , lets say 100,100,100. I want this to happen whenever a new game is created. I thought the best idea would be to use the FMLServerStartedEvent. Now the problem how do I get an instance of the overworld, where I want to set the spawn? Greetzz Failender
May 13, 201510 yr MinecraftServer.getServer().worldServers[0].setSpawnPoint(new BlockPos(100,100,100));
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.