public class SpawnLocating extends Object
Constructor and Description |
---|
SpawnLocating() |
Modifier and Type | Method and Description |
---|---|
protected static BlockPos |
findOverworldSpawn(ServerWorld world,
int x,
int z,
boolean validSpawnNeeded) |
static BlockPos |
findServerSpawnPoint(ServerWorld world,
ChunkPos chunkPos,
boolean validSpawnNeeded) |
@Nullable protected static BlockPos findOverworldSpawn(ServerWorld world, int x, int z, boolean validSpawnNeeded)
@Nullable public static BlockPos findServerSpawnPoint(ServerWorld world, ChunkPos chunkPos, boolean validSpawnNeeded)