private void oldBiomeFactor(int x, int z, int i4, int ySections, double noiseHeight)
{
BiomeGenerator unwrapped = localWorld.getBiomeGenerator().unwrap();
if (unwrapped instanceof OldBiomeGenerator)
{
OldBiomeGenerator oldBiomeGenerator = (OldBiomeGenerator) unwrapped;
int index = z * 48 + 17 + x * 3;
double product = oldBiomeGenerator.oldTemperature1[index] * oldBiomeGenerator.oldWetness[index];
this.volatilityFactor = 1.0 - product;
} else
{