// Add observer to spawn to keep loaded if desired
if (worldConfig.LOADED_SPAWN.getBoolean()) {
@SuppressWarnings ("unchecked")
Entity e = world.createAndSpawnEntity(spawn, LoadOption.LOAD_GEN, NetworkComponent.class);
e.get(NetworkComponent.class).setObserver(new FlatIterator(cx, 0, cz, 16, effectiveRadius));
}
}
// Set the appropriate sky for the world type
if (generator instanceof NetherGenerator) {