if (xx + sx < 0 || zz + sz < 0
|| xx + sx >= sizeX || zz + sz >= sizeZ) {
if (biomeCache.containsKey(x + xx + sx, z + zz + sz)) {
adjacent = biomeCache.get(x + xx + sx, z + zz + sz);
} else {
adjacent = (NormalBiome) selector.pickBiome(x + xx + sx, y, z + zz + sz, seed);
biomeCache.put(x + xx + sx, z + zz + sz, adjacent);
}
} else {
adjacent = (NormalBiome) biomes.getBiome(xx + sx, y, zz + sz);
}