Examples of OldBiomeGenerator


Examples of com.khorn.terraincontrol.generator.biome.OldBiomeGenerator

    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
        {
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.