WorldServer worldObj = DimensionManager.getWorld(0);
if (worldObj == null) {
LogHelper.warning("Target dimension 0 is not loaded for genesis?!");
}
ChunkProviderServer providerServer = (ChunkProviderServer) worldObj.getChunkProvider();
GenesisChunkProvider providerGenesis = new GenesisChunkProvider(world, newBiome);
// clear players from the danger zone and force unload chunks in
// question
List<EntityPlayerMP> players = new ArrayList<EntityPlayerMP>();
Map<EntityPlayerMP, Vec3> playerOrigPositions = new HashMap<EntityPlayerMP, Vec3>();