public class SpawnLocating extends Object
| Constructor and Description |
|---|
SpawnLocating() |
| Modifier and Type | Method and Description |
|---|---|
private static BlockPos |
findEndSpawn(ServerWorld world,
long seed,
int x,
int z) |
private static BlockPos |
findOverworldSpawn(ServerWorld world,
int x,
int z,
boolean validSpawnNeeded) |
protected static BlockPos |
findPlayerSpawn(ServerWorld world,
BlockPos pos,
int negativeOffset,
int xOffset,
int zOffset) |
static BlockPos |
findServerSpawnPoint(ServerWorld world,
ChunkPos chunkPos,
boolean validSpawnNeeded) |
@Nullable private static BlockPos findOverworldSpawn(ServerWorld world, int x, int z, boolean validSpawnNeeded)
@Nullable private static BlockPos findEndSpawn(ServerWorld world, long seed, int x, int z)
@Nullable public static BlockPos findServerSpawnPoint(ServerWorld world, ChunkPos chunkPos, boolean validSpawnNeeded)
@Nullable protected static BlockPos findPlayerSpawn(ServerWorld world, BlockPos pos, int negativeOffset, int xOffset, int zOffset)