Java 类net.minecraft.world.gen.NoiseGeneratorPerlin 实例源码

项目:TRAPPIST-1    文件:ChunkProviderSpaceLakes.java   
public ChunkProviderSpaceLakes(World world, long seed, boolean flag)
{
    super();
    this.stoneNoise = new double[256];
    this.worldObj = world;
    this.rand = new Random(seed);
    this.noiseGen4 = new NoiseGeneratorOctaves(this.rand, 4);
    this.noiseGen5 = new NoiseGeneratorOctaves(this.rand, 10);
    this.noiseGen6 = new NoiseGeneratorOctaves(this.rand, 16);
    this.noiseGen8 = new Gradient(this.rand.nextLong(), 2, 0.25F);
    this.mobSpawnerNoise = new NoiseGeneratorOctaves(this.rand, 8);
    this.field_147431_j = new NoiseGeneratorOctaves(this.rand, 16);
    this.field_147432_k = new NoiseGeneratorOctaves(this.rand, 16);
    this.field_147429_l = new NoiseGeneratorOctaves(this.rand, 8);
    this.field_147430_m = new NoiseGeneratorPerlin(this.rand, 4);
    this.terrainCalcs = new double[825];
    this.parabolicField = new float[25];

    for (int j = -2; j <= 2; j++)
    {
        for (int k = -2; k <= 2; k++)
        {
            float f = 10.0F / MathHelper.sqrt_float(j * j + k * k + 0.2F);
            this.parabolicField[j + 2 + (k + 2) * 5] = f;
        }
    }
}
项目:CustomWorldGen    文件:InitNoiseGensEvent.java   
public ContextOverworld(NoiseGeneratorOctaves lperlin1, NoiseGeneratorOctaves lperlin2, NoiseGeneratorOctaves perlin,
        NoiseGeneratorPerlin height, NoiseGeneratorOctaves scale, NoiseGeneratorOctaves depth, NoiseGeneratorOctaves forest)
{
    super(lperlin1, lperlin2, perlin, scale, depth);
    this.height = height;
    this.forest = forest;
}
项目:Wizardry    文件:ChunkGeneratorUnderWorld.java   
public ChunkGeneratorUnderWorld(World world, long seed)
{
    this.world = world;
    RandUtilSeed rand = new RandUtilSeed(seed);
    upper = new NoiseGeneratorPerlin(rand.random, 4);
    lower = new NoiseGeneratorPerlin(rand.random, 4);
}
项目:Earth    文件:ChunkGeneratorEarth.java   
public ChunkGeneratorEarth(World world, long seed, EarthGenerator earthGenerator, boolean decorate, boolean structures) {
    this.world = world;
    this.world.setSeaLevel(OCEAN_HEIGHT);
    this.random = new Random(seed);
    this.earthGenerator = earthGenerator;
    this.surfaceNoise = new NoiseGeneratorPerlin(this.random, 4);
    this.decorate = decorate;
    this.structures = structures;
}
项目:EvilOcean    文件:ChunkProviderOcean.java   
public ChunkProviderOcean(World par1World, long par2, boolean par4) {
    this.worldObj = par1World;
    this.mapFeaturesEnabled = par4;
    this.field_147435_p = par1World.getWorldInfo().getTerrainType();
    this.rand = new Random(par2);
    this.field_147431_j = new NoiseGeneratorOctaves(this.rand, 16);
    this.field_147432_k = new NoiseGeneratorOctaves(this.rand, 16);
    this.field_147429_l = new NoiseGeneratorOctaves(this.rand, 8);
    this.field_147430_m = new NoiseGeneratorPerlin(this.rand, 4);
    this.noiseGen5 = new NoiseGeneratorOctaves(this.rand, 10);
    this.noiseGen6 = new NoiseGeneratorOctaves(this.rand, 16);
    this.mobSpawnerNoise = new NoiseGeneratorOctaves(this.rand, 8);
    this.field_147434_q = new double[825];
    this.parabolicField = new float[25];

    for (int j = -2; j <= 2; ++j) {
        for (int k = -2; k <= 2; ++k) {
            float f = 10.0F / MathHelper.sqrt_float(j * j + k * k + 0.2F);
            this.parabolicField[(j + 2 + (k + 2) * 5)] = f;
        }
    }

    NoiseGenerator[] noiseGens = { this.field_147431_j, this.field_147432_k, this.field_147429_l, this.field_147430_m, this.noiseGen5, this.noiseGen6, this.mobSpawnerNoise };
    noiseGens = TerrainGen.getModdedNoiseGenerators(par1World, this.rand, noiseGens);
    this.field_147431_j = ((NoiseGeneratorOctaves) noiseGens[0]);
    this.field_147432_k = ((NoiseGeneratorOctaves) noiseGens[1]);
    this.field_147429_l = ((NoiseGeneratorOctaves) noiseGens[2]);
    this.field_147430_m = ((NoiseGeneratorPerlin) noiseGens[3]);
    this.noiseGen5 = ((NoiseGeneratorOctaves) noiseGens[4]);
    this.noiseGen6 = ((NoiseGeneratorOctaves) noiseGens[5]);
    this.mobSpawnerNoise = ((NoiseGeneratorOctaves) noiseGens[6]);
}
项目:PopularMMOS-EpicProportions-Mod    文件:ChunkProviderEpic.java   
public ChunkProviderEpic(World world, long seed, boolean mapFeaturesEnabled)
{
    GameLogHelper.writeToLog(Level.INFO, "Loading Chunk Provider for dmension.");
    this.worldObj = world;
    this.mapFeaturesEnabled = mapFeaturesEnabled;
    this.worldType = world.getWorldInfo().getTerrainType();
    this.rand = new Random(seed);
    this.noiseGen1 = new NoiseGeneratorOctaves(this.rand, 16);
    this.noiseGen2 = new NoiseGeneratorOctaves(this.rand, 16);
    this.noiseGen3 = new NoiseGeneratorOctaves(this.rand, 8);
    this.noisePerl = new NoiseGeneratorPerlin(this.rand, 4);
    this.noiseGen5 = new NoiseGeneratorOctaves(this.rand, 10);
    this.noiseGen6 = new NoiseGeneratorOctaves(this.rand, 16);
    this.mobSpawnerNoise = new NoiseGeneratorOctaves(this.rand, 8);
    this.noiseArray = new double[825];
    this.parabolicField = new float[25];
    for (int j = -2; j <= 2; ++j) {
        for (int k = -2; k <= 2; ++k) {
            float f = 10.0F / MathHelper.sqrt_float((float)(j * j + k * k) + 0.2F);
            this.parabolicField[j + 2 + (k + 2) * 5] = f;
        }
    }
    NoiseGenerator[] noiseGens = {noiseGen1, noiseGen2, noiseGen3, noisePerl, noiseGen5, noiseGen6, mobSpawnerNoise};
    noiseGens = TerrainGen.getModdedNoiseGenerators(world, this.rand, noiseGens);
    this.noiseGen1 = (NoiseGeneratorOctaves)noiseGens[0];
    this.noiseGen2 = (NoiseGeneratorOctaves)noiseGens[1];
    this.noiseGen3 = (NoiseGeneratorOctaves)noiseGens[2];
    this.noisePerl = (NoiseGeneratorPerlin)noiseGens[3];
    this.noiseGen5 = (NoiseGeneratorOctaves)noiseGens[4];
    this.noiseGen6 = (NoiseGeneratorOctaves)noiseGens[5];
    this.mobSpawnerNoise = (NoiseGeneratorOctaves)noiseGens[6];
}
项目:McWorldGenLoop    文件:WorldGenUtil.java   
public static void transformNoiseGenerators(NoiseGenerator[] oldGen, NoiseGenerator[] newGen, World world) {
    int dimId =  world.provider.getDimensionId();
    logger.info("Replacing noise generator for world " + world.getWorldInfo().getWorldName() + ", dimensionID="
            + dimId);

    System.out.println("WorldClass"+world.getClass().getName());


    if (oldGen.length != newGen.length) {
        throw new IllegalArgumentException("oldGen and newGen lengths are not equal!");
    }

    for (int i = 0; i < oldGen.length; i++) {
        NoiseGenerator noiseGen = oldGen[i];
        int loopBits = Config.loopBits(world.provider.getDimensionId());
        if (noiseGen instanceof NoiseGeneratorOctaves) {
            newGen[i] = new LoopedNoiseGenOctaves((NoiseGeneratorOctaves) noiseGen, world.getSeed() + i, loopBits);
            continue;
        }
        if (noiseGen instanceof NoiseGeneratorPerlin) {
            newGen[i] = new LoopedNoiseGenSimplex2d((NoiseGeneratorPerlin) noiseGen, world.getSeed() + i, loopBits);
            continue;
        }
        // other mods?
        logger.warn("Unknown noise generator class: "
                + noiseGen.getClass().getName()
                + ", if there are no other mods - it's bug in this mod, if there are other mods - weird things may happen...");

    }
}
项目:It-s-About-Time-Minecraft-Mod    文件:ChunkProviderNowhere.java   
public ChunkProviderNowhere(World par1World, long par2, boolean par4)
{
    this.worldObj = par1World;
    this.mapFeaturesEnabled = par4;
    this.field_147435_p = par1World.getWorldInfo().getTerrainType();
    this.rand = new Random(par2);
    this.field_147431_j = new NoiseGeneratorOctaves(this.rand, 16);
    this.field_147432_k = new NoiseGeneratorOctaves(this.rand, 16);
    this.field_147429_l = new NoiseGeneratorOctaves(this.rand, 8);
    this.field_147430_m = new NoiseGeneratorPerlin(this.rand, 4);
    this.noiseGen5 = new NoiseGeneratorOctaves(this.rand, 10);
    this.noiseGen6 = new NoiseGeneratorOctaves(this.rand, 16);
    this.mobSpawnerNoise = new NoiseGeneratorOctaves(this.rand, 8);
    this.field_147434_q = new double[825];
    this.parabolicField = new float[25];

    for (int j = -2; j <= 2; ++j)
    {
        for (int k = -2; k <= 2; ++k)
        {
            float f = 10.0F / MathHelper.sqrt_float((float)(j * j + k * k) + 0.2F);
            this.parabolicField[j + 2 + (k + 2) * 5] = f;
        }
    }

    NoiseGenerator[] noiseGens = {field_147431_j, field_147432_k, field_147429_l, field_147430_m, noiseGen5, noiseGen6, mobSpawnerNoise};
    noiseGens = TerrainGen.getModdedNoiseGenerators(par1World, this.rand, noiseGens);
    this.field_147431_j = (NoiseGeneratorOctaves)noiseGens[0];
    this.field_147432_k = (NoiseGeneratorOctaves)noiseGens[1];
    this.field_147429_l = (NoiseGeneratorOctaves)noiseGens[2];
    this.field_147430_m = (NoiseGeneratorPerlin)noiseGens[3];
    this.noiseGen5 = (NoiseGeneratorOctaves)noiseGens[4];
    this.noiseGen6 = (NoiseGeneratorOctaves)noiseGens[5];
    this.mobSpawnerNoise = (NoiseGeneratorOctaves)noiseGens[6];
}
项目:It-s-About-Time-Minecraft-Mod    文件:ChunkProviderCretaceous.java   
public ChunkProviderCretaceous(World par1World, long par2, boolean par4)
{
    this.worldObj = par1World;
    this.mapFeaturesEnabled = par4;
    this.field_147435_p = par1World.getWorldInfo().getTerrainType();
    this.rand = new Random(par2);
    this.field_147431_j = new NoiseGeneratorOctaves(this.rand, 16);
    this.field_147432_k = new NoiseGeneratorOctaves(this.rand, 16);
    this.field_147429_l = new NoiseGeneratorOctaves(this.rand, 8);
    this.field_147430_m = new NoiseGeneratorPerlin(this.rand, 4);
    this.noiseGen5 = new NoiseGeneratorOctaves(this.rand, 10);
    this.noiseGen6 = new NoiseGeneratorOctaves(this.rand, 16);
    this.mobSpawnerNoise = new NoiseGeneratorOctaves(this.rand, 8);
    this.field_147434_q = new double[825];
    this.parabolicField = new float[25];

    for (int j = -2; j <= 2; ++j)
    {
        for (int k = -2; k <= 2; ++k)
        {
            float f = 10.0F / MathHelper.sqrt_float((float)(j * j + k * k) + 0.2F);
            this.parabolicField[j + 2 + (k + 2) * 5] = f;
        }
    }

    NoiseGenerator[] noiseGens = {field_147431_j, field_147432_k, field_147429_l, field_147430_m, noiseGen5, noiseGen6, mobSpawnerNoise};
    noiseGens = TerrainGen.getModdedNoiseGenerators(par1World, this.rand, noiseGens);
    this.field_147431_j = (NoiseGeneratorOctaves)noiseGens[0];
    this.field_147432_k = (NoiseGeneratorOctaves)noiseGens[1];
    this.field_147429_l = (NoiseGeneratorOctaves)noiseGens[2];
    this.field_147430_m = (NoiseGeneratorPerlin)noiseGens[3];
    this.noiseGen5 = (NoiseGeneratorOctaves)noiseGens[4];
    this.noiseGen6 = (NoiseGeneratorOctaves)noiseGens[5];
    this.mobSpawnerNoise = (NoiseGeneratorOctaves)noiseGens[6];
}
项目:TheDarkEra    文件:TDEChunkProvider.java   
public TDEChunkProvider(World par1World, long par2, boolean par4) {
    this.worldObj = par1World;
    this.mapFeaturesEnabled = par4;
    this.worldType = par1World.getWorldInfo().getTerrainType();
    this.rand = new Random(par2);
    this.noiseGen1 = new NoiseGeneratorOctaves(this.rand, 16);
    this.noiseGen2 = new NoiseGeneratorOctaves(this.rand, 16);
    this.noiseGen3 = new NoiseGeneratorOctaves(this.rand, 8);
    this.noiseGen4 = new NoiseGeneratorPerlin(this.rand, 4);
    this.noiseGen5 = new NoiseGeneratorOctaves(this.rand, 10);
    this.noiseGen6 = new NoiseGeneratorOctaves(this.rand, 16);
    this.mobSpawnerNoise = new NoiseGeneratorOctaves(this.rand, 8);
    this.d0 = new double[825];
    this.parabolicField = new float[25];

    for (int j = -2; j <= 2; ++j) {
        for (int k = -2; k <= 2; ++k) {
            float f = 10.0F / MathHelper.sqrt_float((float) (j * j + k * k) + 0.2F);
            this.parabolicField[j + 2 + (k + 2) * 5] = f;
        }
    }

    NoiseGenerator[] noiseGens = { noiseGen1, noiseGen2, noiseGen3, noiseGen4, noiseGen5, noiseGen6, mobSpawnerNoise };
    noiseGens = TerrainGen.getModdedNoiseGenerators(par1World, this.rand, noiseGens);
    this.noiseGen1 = (NoiseGeneratorOctaves) noiseGens[0];
    this.noiseGen2 = (NoiseGeneratorOctaves) noiseGens[1];
    this.noiseGen3 = (NoiseGeneratorOctaves) noiseGens[2];
    this.noiseGen4 = (NoiseGeneratorPerlin) noiseGens[3];
    this.noiseGen5 = (NoiseGeneratorOctaves) noiseGens[4];
    this.noiseGen6 = (NoiseGeneratorOctaves) noiseGens[5];
    this.mobSpawnerNoise = (NoiseGeneratorOctaves) noiseGens[6];
}
项目:atlantis-mod    文件:ChunkProviderTheDeep.java   
public ChunkProviderTheDeep(World par1World, long par2, boolean par4)
{
    this.worldObj = par1World;
    this.mapFeaturesEnabled = par4;
    this.field_147435_p = par1World.getWorldInfo().getTerrainType();
    this.rand = new Random(par2);
    this.field_147431_j = new NoiseGeneratorOctaves(this.rand, 16);
    this.field_147432_k = new NoiseGeneratorOctaves(this.rand, 16);
    this.field_147429_l = new NoiseGeneratorOctaves(this.rand, 8);
    this.field_147430_m = new NoiseGeneratorPerlin(this.rand, 4);
    this.noiseGen5 = new NoiseGeneratorOctaves(this.rand, 10);
    this.noiseGen6 = new NoiseGeneratorOctaves(this.rand, 16);
    this.mobSpawnerNoise = new NoiseGeneratorOctaves(this.rand, 8);
    this.field_147434_q = new double[825];
    this.parabolicField = new float[25];

    for (int j = -2; j <= 2; ++j)
    {
        for (int k = -2; k <= 2; ++k)
        {
            float f = 10.0F / MathHelper.sqrt_float((float)(j * j + k * k) + 0.2F);
            this.parabolicField[j + 2 + (k + 2) * 5] = f;
        }
    }

    NoiseGenerator[] noiseGens = {field_147431_j, field_147432_k, field_147429_l, field_147430_m, noiseGen5, noiseGen6, mobSpawnerNoise};
    noiseGens = TerrainGen.getModdedNoiseGenerators(par1World, this.rand, noiseGens);
    this.field_147431_j = (NoiseGeneratorOctaves)noiseGens[0];
    this.field_147432_k = (NoiseGeneratorOctaves)noiseGens[1];
    this.field_147429_l = (NoiseGeneratorOctaves)noiseGens[2];
    this.field_147430_m = (NoiseGeneratorPerlin)noiseGens[3];
    this.noiseGen5 = (NoiseGeneratorOctaves)noiseGens[4];
    this.noiseGen6 = (NoiseGeneratorOctaves)noiseGens[5];
    this.mobSpawnerNoise = (NoiseGeneratorOctaves)noiseGens[6];
}
项目:atlantis-mod    文件:ChunkProviderAtlantis.java   
public ChunkProviderAtlantis(World par1World, long par2, boolean par4)
{
    this.worldObj = par1World;
    this.mapFeaturesEnabled = par4;
    this.field_147435_p = par1World.getWorldInfo().getTerrainType();
    this.rand = new Random(par2);
    this.field_147431_j = new NoiseGeneratorOctaves(this.rand, 16);
    this.field_147432_k = new NoiseGeneratorOctaves(this.rand, 16);
    this.field_147429_l = new NoiseGeneratorOctaves(this.rand, 8);
    this.field_147430_m = new NoiseGeneratorPerlin(this.rand, 4);
    this.noiseGen5 = new NoiseGeneratorOctaves(this.rand, 10);
    this.noiseGen6 = new NoiseGeneratorOctaves(this.rand, 16);
    this.mobSpawnerNoise = new NoiseGeneratorOctaves(this.rand, 8);
    this.field_147434_q = new double[825];
    this.parabolicField = new float[25];

    for (int j = -2; j <= 2; ++j)
    {
        for (int k = -2; k <= 2; ++k)
        {
            float f = 10.0F / MathHelper.sqrt_float((float)(j * j + k * k) + 0.2F);
            this.parabolicField[j + 2 + (k + 2) * 5] = f;
        }
    }

    NoiseGenerator[] noiseGens = {field_147431_j, field_147432_k, field_147429_l, field_147430_m, noiseGen5, noiseGen6, mobSpawnerNoise};
    noiseGens = TerrainGen.getModdedNoiseGenerators(par1World, this.rand, noiseGens);
    this.field_147431_j = (NoiseGeneratorOctaves)noiseGens[0];
    this.field_147432_k = (NoiseGeneratorOctaves)noiseGens[1];
    this.field_147429_l = (NoiseGeneratorOctaves)noiseGens[2];
    this.field_147430_m = (NoiseGeneratorPerlin)noiseGens[3];
    this.noiseGen5 = (NoiseGeneratorOctaves)noiseGens[4];
    this.noiseGen6 = (NoiseGeneratorOctaves)noiseGens[5];
    this.mobSpawnerNoise = (NoiseGeneratorOctaves)noiseGens[6];
}
项目:ZeroQuest    文件:ChunkProviderNillax.java   
public ChunkProviderNillax(World p_i2006_1_, long p_i2006_2_, boolean p_i2006_4_)
{
    this.worldObj = p_i2006_1_;
    this.mapFeaturesEnabled = p_i2006_4_;
    this.field_147435_p = p_i2006_1_.getWorldInfo().getTerrainType();
    this.rand = new Random(p_i2006_2_);
    this.field_147431_j = new NoiseGeneratorOctaves(this.rand, 16);
    this.field_147432_k = new NoiseGeneratorOctaves(this.rand, 16);
    this.field_147429_l = new NoiseGeneratorOctaves(this.rand, 8);
    this.field_147430_m = new NoiseGeneratorPerlin(this.rand, 4);
    this.noiseGen5 = new NoiseGeneratorOctaves(this.rand, 10);
    this.noiseGen6 = new NoiseGeneratorOctaves(this.rand, 16);
    this.mobSpawnerNoise = new NoiseGeneratorOctaves(this.rand, 8);
    this.field_147434_q = new double[825];
    this.parabolicField = new float[25];

    for (int j = -2; j <= 2; ++j)
    {
        for (int k = -2; k <= 2; ++k)
        {
            float f = 10.0F / MathHelper.sqrt_float((float)(j * j + k * k) + 0.2F);
            this.parabolicField[j + 2 + (k + 2) * 5] = f;
        }
    }

    NoiseGenerator[] noiseGens = {field_147431_j, field_147432_k, field_147429_l, field_147430_m, noiseGen5, noiseGen6, mobSpawnerNoise};
    noiseGens = TerrainGen.getModdedNoiseGenerators(p_i2006_1_, this.rand, noiseGens);
    this.field_147431_j = (NoiseGeneratorOctaves)noiseGens[0];
    this.field_147432_k = (NoiseGeneratorOctaves)noiseGens[1];
    this.field_147429_l = (NoiseGeneratorOctaves)noiseGens[2];
    this.field_147430_m = (NoiseGeneratorPerlin)noiseGens[3];
    this.noiseGen5 = (NoiseGeneratorOctaves)noiseGens[4];
    this.noiseGen6 = (NoiseGeneratorOctaves)noiseGens[5];
    this.mobSpawnerNoise = (NoiseGeneratorOctaves)noiseGens[6];
}
项目:ZeroQuest    文件:ChunkProviderDarkax.java   
public ChunkProviderDarkax(World p_i2006_1_, long p_i2006_2_, boolean p_i2006_4_)
{
    this.worldObj = p_i2006_1_;
    this.mapFeaturesEnabled = p_i2006_4_;
    this.field_147435_p = p_i2006_1_.getWorldInfo().getTerrainType();
    this.rand = new Random(p_i2006_2_);
    this.field_147431_j = new NoiseGeneratorOctaves(this.rand, 16);
    this.field_147432_k = new NoiseGeneratorOctaves(this.rand, 16);
    this.field_147429_l = new NoiseGeneratorOctaves(this.rand, 8);
    this.field_147430_m = new NoiseGeneratorPerlin(this.rand, 4);
    this.noiseGen5 = new NoiseGeneratorOctaves(this.rand, 10);
    this.noiseGen6 = new NoiseGeneratorOctaves(this.rand, 16);
    this.mobSpawnerNoise = new NoiseGeneratorOctaves(this.rand, 8);
    this.field_147434_q = new double[825];
    this.parabolicField = new float[25];

    for (int j = -2; j <= 2; ++j)
    {
        for (int k = -2; k <= 2; ++k)
        {
            float f = 10.0F / MathHelper.sqrt_float((float)(j * j + k * k) + 0.2F);
            this.parabolicField[j + 2 + (k + 2) * 5] = f;
        }
    }

    NoiseGenerator[] noiseGens = {field_147431_j, field_147432_k, field_147429_l, field_147430_m, noiseGen5, noiseGen6, mobSpawnerNoise};
    noiseGens = TerrainGen.getModdedNoiseGenerators(p_i2006_1_, this.rand, noiseGens);
    this.field_147431_j = (NoiseGeneratorOctaves)noiseGens[0];
    this.field_147432_k = (NoiseGeneratorOctaves)noiseGens[1];
    this.field_147429_l = (NoiseGeneratorOctaves)noiseGens[2];
    this.field_147430_m = (NoiseGeneratorPerlin)noiseGens[3];
    this.noiseGen5 = (NoiseGeneratorOctaves)noiseGens[4];
    this.noiseGen6 = (NoiseGeneratorOctaves)noiseGens[5];
    this.mobSpawnerNoise = (NoiseGeneratorOctaves)noiseGens[6];
}
项目:Floodgate    文件:ChunkProviderFloodgate.java   
public ChunkProviderFloodgate(World p_i2006_1_, long p_i2006_2_, boolean p_i2006_4_)
{
    this.worldObj = p_i2006_1_;
    this.mapFeaturesEnabled = p_i2006_4_;
    this.field_147435_p = p_i2006_1_.getWorldInfo().getTerrainType();
    this.rand = new Random(p_i2006_2_);
    this.field_147431_j = new NoiseGeneratorOctaves(this.rand, 16);
    this.field_147432_k = new NoiseGeneratorOctaves(this.rand, 16);
    this.field_147429_l = new NoiseGeneratorOctaves(this.rand, 8);
    this.field_147430_m = new NoiseGeneratorPerlin(this.rand, 4);
    this.noiseGen5 = new NoiseGeneratorOctaves(this.rand, 10);
    this.noiseGen6 = new NoiseGeneratorOctaves(this.rand, 16);
    this.mobSpawnerNoise = new NoiseGeneratorOctaves(this.rand, 8);
    this.field_147434_q = new double[825];
    this.parabolicField = new float[25];

    for (int j = -2; j <= 2; ++j)
    {
        for (int k = -2; k <= 2; ++k)
        {
            float f = 10.0F / MathHelper.sqrt_float((float)(j * j + k * k) + 0.2F);
            this.parabolicField[j + 2 + (k + 2) * 5] = f;
        }
    }

    NoiseGenerator[] noiseGens = {field_147431_j, field_147432_k, field_147429_l, field_147430_m, noiseGen5, noiseGen6, mobSpawnerNoise};
    noiseGens = TerrainGen.getModdedNoiseGenerators(p_i2006_1_, this.rand, noiseGens);
    this.field_147431_j = (NoiseGeneratorOctaves)noiseGens[0];
    this.field_147432_k = (NoiseGeneratorOctaves)noiseGens[1];
    this.field_147429_l = (NoiseGeneratorOctaves)noiseGens[2];
    this.field_147430_m = (NoiseGeneratorPerlin)noiseGens[3];
    this.noiseGen5 = (NoiseGeneratorOctaves)noiseGens[4];
    this.noiseGen6 = (NoiseGeneratorOctaves)noiseGens[5];
    this.mobSpawnerNoise = (NoiseGeneratorOctaves)noiseGens[6];
}
项目:Pikmmin_Mo-Stuff    文件:PmsChuckGen.java   
public PmsChuckGen(World par1World, long par2, boolean par4)
{
    this.worldObj = par1World;
    this.mapFeaturesEnabled = par4;
    this.field_147435_p = par1World.getWorldInfo().getTerrainType();
    this.rand = new Random(par2);
    this.field_147431_j = new NoiseGeneratorOctaves(this.rand, 16);
    this.field_147432_k = new NoiseGeneratorOctaves(this.rand, 16);
    this.field_147429_l = new NoiseGeneratorOctaves(this.rand, 8);
    this.field_147430_m = new NoiseGeneratorPerlin(this.rand, 4);
    this.noiseGen5 = new NoiseGeneratorOctaves(this.rand, 10);
    this.noiseGen6 = new NoiseGeneratorOctaves(this.rand, 16);
    this.mobSpawnerNoise = new NoiseGeneratorOctaves(this.rand, 8);
    this.field_147434_q = new double[825];
    this.parabolicField = new float[25];

    for (int j = -2; j <= 2; ++j)
    {
        for (int k = -2; k <= 2; ++k)
        {
            float f = 10.0F / MathHelper.sqrt_float((float)(j * j + k * k) + 0.2F);
            this.parabolicField[j + 2 + (k + 2) * 5] = f;
        }
    }

    NoiseGenerator[] noiseGens = {field_147431_j, field_147432_k, field_147429_l, field_147430_m, noiseGen5, noiseGen6, mobSpawnerNoise};
    noiseGens = TerrainGen.getModdedNoiseGenerators(par1World, this.rand, noiseGens);
    this.field_147431_j = (NoiseGeneratorOctaves)noiseGens[0];
    this.field_147432_k = (NoiseGeneratorOctaves)noiseGens[1];
    this.field_147429_l = (NoiseGeneratorOctaves)noiseGens[2];
    this.field_147430_m = (NoiseGeneratorPerlin)noiseGens[3];
    this.noiseGen5 = (NoiseGeneratorOctaves)noiseGens[4];
    this.noiseGen6 = (NoiseGeneratorOctaves)noiseGens[5];
    this.mobSpawnerNoise = (NoiseGeneratorOctaves)noiseGens[6];
}
项目:Pikmmin_Mo-Stuff    文件:PmsChunkProvider.java   
public PmsChunkProvider(World world, long par2, boolean par4)
{
    this.worldObj = world;
    this.mapFeaturesEnabled = par4;
    this.field_147435_p = world.getWorldInfo().getTerrainType();
    this.rand = new Random(par2);
    this.field_147431_j = new NoiseGeneratorOctaves(this.rand, 16);
    this.field_147432_k = new NoiseGeneratorOctaves(this.rand, 16);
    this.field_147429_l = new NoiseGeneratorOctaves(this.rand, 8);
    this.field_147430_m = new NoiseGeneratorPerlin(this.rand, 4);
    this.noiseGen5 = new NoiseGeneratorOctaves(this.rand, 10);
    this.noiseGen6 = new NoiseGeneratorOctaves(this.rand, 16);
    this.mobSpawnerNoise = new NoiseGeneratorOctaves(this.rand, 8);
    this.field_147434_q = new double[825];
    this.parabolicField = new float[25];

    for (int j = -2; j <= 2; ++j)
    {
        for (int k = -2; k <= 2; ++k)
        {
            float f = 10.0F / MathHelper.sqrt_float((float)(j * j + k * k) + 0.2F);
            this.parabolicField[j + 2 + (k + 2) * 5] = f;
        }
    }

    NoiseGenerator[] noiseGens = {field_147431_j, field_147432_k, field_147429_l, field_147430_m, noiseGen5, noiseGen6, mobSpawnerNoise};
    noiseGens = TerrainGen.getModdedNoiseGenerators(world, this.rand, noiseGens);
    this.field_147431_j = (NoiseGeneratorOctaves)noiseGens[0];
    this.field_147432_k = (NoiseGeneratorOctaves)noiseGens[1];
    this.field_147429_l = (NoiseGeneratorOctaves)noiseGens[2];
    this.field_147430_m = (NoiseGeneratorPerlin)noiseGens[3];
    this.noiseGen5 = (NoiseGeneratorOctaves)noiseGens[4];
    this.noiseGen6 = (NoiseGeneratorOctaves)noiseGens[5];
    this.mobSpawnerNoise = (NoiseGeneratorOctaves)noiseGens[6];
}
项目:MysticalTrinkets    文件:ChunkProviderMysticalDimension.java   
public ChunkProviderMysticalDimension(World par1World, long par2, boolean par4) {
    this.worldObj = par1World;
    this.mapFeaturesEnabled = par4;
    this.field_147435_p = par1World.getWorldInfo().getTerrainType();
    this.rand = new Random(par2);
    this.field_147431_j = new NoiseGeneratorOctaves(this.rand, 16);
    this.field_147432_k = new NoiseGeneratorOctaves(this.rand, 16);
    this.field_147429_l = new NoiseGeneratorOctaves(this.rand, 8);
    this.field_147430_m = new NoiseGeneratorPerlin(this.rand, 4);
    this.noiseGen5 = new NoiseGeneratorOctaves(this.rand, 10);
    this.noiseGen6 = new NoiseGeneratorOctaves(this.rand, 16);
    this.mobSpawnerNoise = new NoiseGeneratorOctaves(this.rand, 8);
    this.field_147434_q = new double[825];
    this.parabolicField = new float[25];

    for (int j = -2; j <= 2; ++j) {
        for (int k = -2; k <= 2; ++k) {
            float f = 10.0F / MathHelper.sqrt_float(j * j + k * k + 0.2F);
            this.parabolicField[j + 2 + (k + 2) * 5] = f;
        }
    }

    NoiseGenerator[] noiseGens = { field_147431_j, field_147432_k, field_147429_l, field_147430_m, noiseGen5, noiseGen6, mobSpawnerNoise };
    noiseGens = TerrainGen.getModdedNoiseGenerators(par1World, this.rand, noiseGens);
    this.field_147431_j = (NoiseGeneratorOctaves) noiseGens[0];
    this.field_147432_k = (NoiseGeneratorOctaves) noiseGens[1];
    this.field_147429_l = (NoiseGeneratorOctaves) noiseGens[2];
    this.field_147430_m = (NoiseGeneratorPerlin) noiseGens[3];
    this.noiseGen5 = (NoiseGeneratorOctaves) noiseGens[4];
    this.noiseGen6 = (NoiseGeneratorOctaves) noiseGens[5];
    this.mobSpawnerNoise = (NoiseGeneratorOctaves) noiseGens[6];
}
项目:RuneCraftery    文件:NoiseGeneratorOctaves.java   
public NoiseGeneratorOctaves(Random p_i2111_1_, int p_i2111_2_) {
   this.field_76306_b = p_i2111_2_;
   this.field_76307_a = new NoiseGeneratorPerlin[p_i2111_2_];

   for(int var3 = 0; var3 < p_i2111_2_; ++var3) {
      this.field_76307_a[var3] = new NoiseGeneratorPerlin(p_i2111_1_);
   }

}
项目:Realms-of-Chaos    文件:ChunkProviderWater.java   
public ChunkProviderWater(World p_i2006_1_, long p_i2006_2_, boolean p_i2006_4_)
{
    this.worldObj = p_i2006_1_;
    this.mapFeaturesEnabled = p_i2006_4_;
    this.field_147435_p = p_i2006_1_.getWorldInfo().getTerrainType();
    this.rand = new Random(p_i2006_2_);
    this.field_147431_j = new NoiseGeneratorOctaves(this.rand, 16);
    this.field_147432_k = new NoiseGeneratorOctaves(this.rand, 16);
    this.field_147429_l = new NoiseGeneratorOctaves(this.rand, 8);
    this.field_147430_m = new NoiseGeneratorPerlin(this.rand, 4);
    this.noiseGen5 = new NoiseGeneratorOctaves(this.rand, 10);
    this.noiseGen6 = new NoiseGeneratorOctaves(this.rand, 16);
    this.mobSpawnerNoise = new NoiseGeneratorOctaves(this.rand, 8);
    this.field_147434_q = new double[825];
    this.parabolicField = new float[25];

    for (int j = -2; j <= 2; ++j)
    {
        for (int k = -2; k <= 2; ++k)
        {
            float f = 10.0F / MathHelper.sqrt_float((float)(j * j + k * k) + 0.2F);
            this.parabolicField[j + 2 + (k + 2) * 5] = f;
        }
    }

    NoiseGenerator[] noiseGens = {field_147431_j, field_147432_k, field_147429_l, field_147430_m, noiseGen5, noiseGen6, mobSpawnerNoise};
    noiseGens = TerrainGen.getModdedNoiseGenerators(p_i2006_1_, this.rand, noiseGens);
    this.field_147431_j = (NoiseGeneratorOctaves)noiseGens[0];
    this.field_147432_k = (NoiseGeneratorOctaves)noiseGens[1];
    this.field_147429_l = (NoiseGeneratorOctaves)noiseGens[2];
    this.field_147430_m = (NoiseGeneratorPerlin)noiseGens[3];
    this.noiseGen5 = (NoiseGeneratorOctaves)noiseGens[4];
    this.noiseGen6 = (NoiseGeneratorOctaves)noiseGens[5];
    this.mobSpawnerNoise = (NoiseGeneratorOctaves)noiseGens[6];
}
项目:Realms-of-Chaos    文件:ChunkProviderIceRuins.java   
public ChunkProviderIceRuins(World p_i2006_1_, long p_i2006_2_, boolean p_i2006_4_)
{
    this.worldObj = p_i2006_1_;
    this.mapFeaturesEnabled = p_i2006_4_;
    this.field_147435_p = p_i2006_1_.getWorldInfo().getTerrainType();
    this.rand = new Random(p_i2006_2_);
    this.field_147431_j = new NoiseGeneratorOctaves(this.rand, 16);
    this.field_147432_k = new NoiseGeneratorOctaves(this.rand, 16);
    this.field_147429_l = new NoiseGeneratorOctaves(this.rand, 8);
    this.field_147430_m = new NoiseGeneratorPerlin(this.rand, 4);
    this.noiseGen5 = new NoiseGeneratorOctaves(this.rand, 10);
    this.noiseGen6 = new NoiseGeneratorOctaves(this.rand, 16);
    this.mobSpawnerNoise = new NoiseGeneratorOctaves(this.rand, 8);
    this.field_147434_q = new double[825];
    this.parabolicField = new float[25];

    for (int j = -2; j <= 2; ++j)
    {
        for (int k = -2; k <= 2; ++k)
        {
            float f = 10.0F / MathHelper.sqrt_float((float)(j * j + k * k) + 0.2F);
            this.parabolicField[j + 2 + (k + 2) * 5] = f;
        }
    }

    NoiseGenerator[] noiseGens = {field_147431_j, field_147432_k, field_147429_l, field_147430_m, noiseGen5, noiseGen6, mobSpawnerNoise};
    noiseGens = TerrainGen.getModdedNoiseGenerators(p_i2006_1_, this.rand, noiseGens);
    this.field_147431_j = (NoiseGeneratorOctaves)noiseGens[0];
    this.field_147432_k = (NoiseGeneratorOctaves)noiseGens[1];
    this.field_147429_l = (NoiseGeneratorOctaves)noiseGens[2];
    this.field_147430_m = (NoiseGeneratorPerlin)noiseGens[3];
    this.noiseGen5 = (NoiseGeneratorOctaves)noiseGens[4];
    this.noiseGen6 = (NoiseGeneratorOctaves)noiseGens[5];
    this.mobSpawnerNoise = (NoiseGeneratorOctaves)noiseGens[6];
}
项目:WuppyMods    文件:ChunkProviderSavannah.java   
public ChunkProviderSavannah(World par1World, long par2, boolean par4)
{
    this.worldObj = par1World;
    this.mapFeaturesEnabled = par4;
    this.field_147435_p = par1World.getWorldInfo().getTerrainType();
    this.rand = new Random(par2);
    this.field_147431_j = new NoiseGeneratorOctaves(this.rand, 16);
    this.field_147432_k = new NoiseGeneratorOctaves(this.rand, 16);
    this.field_147429_l = new NoiseGeneratorOctaves(this.rand, 8);
    this.field_147430_m = new NoiseGeneratorPerlin(this.rand, 4);
    this.noiseGen5 = new NoiseGeneratorOctaves(this.rand, 8);
    this.noiseGen6 = new NoiseGeneratorOctaves(this.rand, 16);
    this.mobSpawnerNoise = new NoiseGeneratorOctaves(this.rand, 8);
    this.field_147434_q = new double[825];
    this.parabolicField = new float[25];

    for (int j = -2; j <= 2; ++j)
    {
        for (int k = -2; k <= 2; ++k)
        {
            float f = 10.0F / MathHelper.sqrt_float((float)(j * j + k * k) + 0.2F);
            this.parabolicField[j + 2 + (k + 2) * 5] = f;
        }
    }

    NoiseGenerator[] noiseGens = {field_147431_j, field_147432_k, field_147429_l, field_147430_m, noiseGen5, noiseGen6, mobSpawnerNoise};
    noiseGens = TerrainGen.getModdedNoiseGenerators(par1World, this.rand, noiseGens);
    this.field_147431_j = (NoiseGeneratorOctaves)noiseGens[0];
    this.field_147432_k = (NoiseGeneratorOctaves)noiseGens[1];
    this.field_147429_l = (NoiseGeneratorOctaves)noiseGens[2];
    this.field_147430_m = (NoiseGeneratorPerlin)noiseGens[3];
    this.noiseGen5 = (NoiseGeneratorOctaves)noiseGens[4];
    this.noiseGen6 = (NoiseGeneratorOctaves)noiseGens[5];
    this.mobSpawnerNoise = (NoiseGeneratorOctaves)noiseGens[6];
}
项目:harshencastle    文件:PontusChunkProvider.java   
public PontusChunkProvider(World worldIn, long seed)
{
    {
        caveGenerator = net.minecraftforge.event.terraingen.TerrainGen.getModdedMapGen(caveGenerator, net.minecraftforge.event.terraingen.InitMapGenEvent.EventType.CAVE);
        ravineGenerator = net.minecraftforge.event.terraingen.TerrainGen.getModdedMapGen(ravineGenerator, net.minecraftforge.event.terraingen.InitMapGenEvent.EventType.RAVINE);
    }
    this.world = worldIn;
    this.terrainType = worldIn.getWorldInfo().getTerrainType();
    this.rand = new Random(seed);
    this.minLimitPerlinNoise = new NoiseGeneratorOctaves(this.rand, 16);
    this.maxLimitPerlinNoise = new NoiseGeneratorOctaves(this.rand, 16);
    this.mainPerlinNoise = new NoiseGeneratorOctaves(this.rand, 8);
    this.surfaceNoise = new NoiseGeneratorPerlin(this.rand, 4);
    this.scaleNoise = new NoiseGeneratorOctaves(this.rand, 10);
    this.depthNoise = new NoiseGeneratorOctaves(this.rand, 16);
    this.forestNoise = new NoiseGeneratorOctaves(this.rand, 8);
    this.heightMap = new double[825];
    this.biomeWeights = new float[25];

    for (int i = -2; i <= 2; ++i)
    {
        for (int j = -2; j <= 2; ++j)
        {
            float f = 10.0F / MathHelper.sqrt((float)(i * i + j * j) + 0.2F);
            this.biomeWeights[i + 2 + (j + 2) * 5] = f;
        }
    }

    this.oceanBlock = HarshenFluids.HARSHEN_DIMENSIONAL_FLUID_BLOCK.getDefaultState();
    worldIn.setSeaLevel(this.seaLevel);

    net.minecraftforge.event.terraingen.InitNoiseGensEvent.ContextOverworld ctx =
            new net.minecraftforge.event.terraingen.InitNoiseGensEvent.ContextOverworld(minLimitPerlinNoise, maxLimitPerlinNoise, mainPerlinNoise, surfaceNoise, scaleNoise, depthNoise, forestNoise);
    ctx = net.minecraftforge.event.terraingen.TerrainGen.getModdedNoiseGenerators(worldIn, this.rand, ctx);
    this.minLimitPerlinNoise = ctx.getLPerlin1();
    this.maxLimitPerlinNoise = ctx.getLPerlin2();
    this.mainPerlinNoise = ctx.getPerlin();
    this.surfaceNoise = ctx.getHeight();
    this.scaleNoise = ctx.getScale();
    this.depthNoise = ctx.getDepth();
    this.forestNoise = ctx.getForest();
}
项目:DecompiledMinecraft    文件:BiomeGenMesa.java   
private void func_150619_a(long p_150619_1_)
{
    this.field_150621_aC = new IBlockState[64];
    Arrays.fill(this.field_150621_aC, Blocks.hardened_clay.getDefaultState());
    Random random = new Random(p_150619_1_);
    this.field_150625_aG = new NoiseGeneratorPerlin(random, 1);

    for (int l1 = 0; l1 < 64; ++l1)
    {
        l1 += random.nextInt(5) + 1;

        if (l1 < 64)
        {
            this.field_150621_aC[l1] = Blocks.stained_hardened_clay.getDefaultState().withProperty(BlockColored.COLOR, EnumDyeColor.ORANGE);
        }
    }

    int i2 = random.nextInt(4) + 2;

    for (int i = 0; i < i2; ++i)
    {
        int j = random.nextInt(3) + 1;
        int k = random.nextInt(64);

        for (int l = 0; k + l < 64 && l < j; ++l)
        {
            this.field_150621_aC[k + l] = Blocks.stained_hardened_clay.getDefaultState().withProperty(BlockColored.COLOR, EnumDyeColor.YELLOW);
        }
    }

    int j2 = random.nextInt(4) + 2;

    for (int k2 = 0; k2 < j2; ++k2)
    {
        int i3 = random.nextInt(3) + 2;
        int l3 = random.nextInt(64);

        for (int i1 = 0; l3 + i1 < 64 && i1 < i3; ++i1)
        {
            this.field_150621_aC[l3 + i1] = Blocks.stained_hardened_clay.getDefaultState().withProperty(BlockColored.COLOR, EnumDyeColor.BROWN);
        }
    }

    int l2 = random.nextInt(4) + 2;

    for (int j3 = 0; j3 < l2; ++j3)
    {
        int i4 = random.nextInt(3) + 1;
        int k4 = random.nextInt(64);

        for (int j1 = 0; k4 + j1 < 64 && j1 < i4; ++j1)
        {
            this.field_150621_aC[k4 + j1] = Blocks.stained_hardened_clay.getDefaultState().withProperty(BlockColored.COLOR, EnumDyeColor.RED);
        }
    }

    int k3 = random.nextInt(3) + 3;
    int j4 = 0;

    for (int l4 = 0; l4 < k3; ++l4)
    {
        int i5 = 1;
        j4 += random.nextInt(16) + 4;

        for (int k1 = 0; j4 + k1 < 64 && k1 < i5; ++k1)
        {
            this.field_150621_aC[j4 + k1] = Blocks.stained_hardened_clay.getDefaultState().withProperty(BlockColored.COLOR, EnumDyeColor.WHITE);

            if (j4 + k1 > 1 && random.nextBoolean())
            {
                this.field_150621_aC[j4 + k1 - 1] = Blocks.stained_hardened_clay.getDefaultState().withProperty(BlockColored.COLOR, EnumDyeColor.SILVER);
            }

            if (j4 + k1 < 63 && random.nextBoolean())
            {
                this.field_150621_aC[j4 + k1 + 1] = Blocks.stained_hardened_clay.getDefaultState().withProperty(BlockColored.COLOR, EnumDyeColor.SILVER);
            }
        }
    }
}
项目:DecompiledMinecraft    文件:BiomeGenMesa.java   
private void func_150619_a(long p_150619_1_)
{
    this.field_150621_aC = new IBlockState[64];
    Arrays.fill(this.field_150621_aC, Blocks.hardened_clay.getDefaultState());
    Random random = new Random(p_150619_1_);
    this.field_150625_aG = new NoiseGeneratorPerlin(random, 1);

    for (int l1 = 0; l1 < 64; ++l1)
    {
        l1 += random.nextInt(5) + 1;

        if (l1 < 64)
        {
            this.field_150621_aC[l1] = Blocks.stained_hardened_clay.getDefaultState().withProperty(BlockColored.COLOR, EnumDyeColor.ORANGE);
        }
    }

    int i2 = random.nextInt(4) + 2;

    for (int i = 0; i < i2; ++i)
    {
        int j = random.nextInt(3) + 1;
        int k = random.nextInt(64);

        for (int l = 0; k + l < 64 && l < j; ++l)
        {
            this.field_150621_aC[k + l] = Blocks.stained_hardened_clay.getDefaultState().withProperty(BlockColored.COLOR, EnumDyeColor.YELLOW);
        }
    }

    int j2 = random.nextInt(4) + 2;

    for (int k2 = 0; k2 < j2; ++k2)
    {
        int i3 = random.nextInt(3) + 2;
        int l3 = random.nextInt(64);

        for (int i1 = 0; l3 + i1 < 64 && i1 < i3; ++i1)
        {
            this.field_150621_aC[l3 + i1] = Blocks.stained_hardened_clay.getDefaultState().withProperty(BlockColored.COLOR, EnumDyeColor.BROWN);
        }
    }

    int l2 = random.nextInt(4) + 2;

    for (int j3 = 0; j3 < l2; ++j3)
    {
        int i4 = random.nextInt(3) + 1;
        int k4 = random.nextInt(64);

        for (int j1 = 0; k4 + j1 < 64 && j1 < i4; ++j1)
        {
            this.field_150621_aC[k4 + j1] = Blocks.stained_hardened_clay.getDefaultState().withProperty(BlockColored.COLOR, EnumDyeColor.RED);
        }
    }

    int k3 = random.nextInt(3) + 3;
    int j4 = 0;

    for (int l4 = 0; l4 < k3; ++l4)
    {
        int i5 = 1;
        j4 += random.nextInt(16) + 4;

        for (int k1 = 0; j4 + k1 < 64 && k1 < i5; ++k1)
        {
            this.field_150621_aC[j4 + k1] = Blocks.stained_hardened_clay.getDefaultState().withProperty(BlockColored.COLOR, EnumDyeColor.WHITE);

            if (j4 + k1 > 1 && random.nextBoolean())
            {
                this.field_150621_aC[j4 + k1 - 1] = Blocks.stained_hardened_clay.getDefaultState().withProperty(BlockColored.COLOR, EnumDyeColor.SILVER);
            }

            if (j4 + k1 < 63 && random.nextBoolean())
            {
                this.field_150621_aC[j4 + k1 + 1] = Blocks.stained_hardened_clay.getDefaultState().withProperty(BlockColored.COLOR, EnumDyeColor.SILVER);
            }
        }
    }
}
项目:BaseClient    文件:BiomeGenMesa.java   
private void func_150619_a(long p_150619_1_)
{
    this.field_150621_aC = new IBlockState[64];
    Arrays.fill(this.field_150621_aC, Blocks.hardened_clay.getDefaultState());
    Random random = new Random(p_150619_1_);
    this.field_150625_aG = new NoiseGeneratorPerlin(random, 1);

    for (int l1 = 0; l1 < 64; ++l1)
    {
        l1 += random.nextInt(5) + 1;

        if (l1 < 64)
        {
            this.field_150621_aC[l1] = Blocks.stained_hardened_clay.getDefaultState().withProperty(BlockColored.COLOR, EnumDyeColor.ORANGE);
        }
    }

    int i2 = random.nextInt(4) + 2;

    for (int i = 0; i < i2; ++i)
    {
        int j = random.nextInt(3) + 1;
        int k = random.nextInt(64);

        for (int l = 0; k + l < 64 && l < j; ++l)
        {
            this.field_150621_aC[k + l] = Blocks.stained_hardened_clay.getDefaultState().withProperty(BlockColored.COLOR, EnumDyeColor.YELLOW);
        }
    }

    int j2 = random.nextInt(4) + 2;

    for (int k2 = 0; k2 < j2; ++k2)
    {
        int i3 = random.nextInt(3) + 2;
        int l3 = random.nextInt(64);

        for (int i1 = 0; l3 + i1 < 64 && i1 < i3; ++i1)
        {
            this.field_150621_aC[l3 + i1] = Blocks.stained_hardened_clay.getDefaultState().withProperty(BlockColored.COLOR, EnumDyeColor.BROWN);
        }
    }

    int l2 = random.nextInt(4) + 2;

    for (int j3 = 0; j3 < l2; ++j3)
    {
        int i4 = random.nextInt(3) + 1;
        int k4 = random.nextInt(64);

        for (int j1 = 0; k4 + j1 < 64 && j1 < i4; ++j1)
        {
            this.field_150621_aC[k4 + j1] = Blocks.stained_hardened_clay.getDefaultState().withProperty(BlockColored.COLOR, EnumDyeColor.RED);
        }
    }

    int k3 = random.nextInt(3) + 3;
    int j4 = 0;

    for (int l4 = 0; l4 < k3; ++l4)
    {
        int i5 = 1;
        j4 += random.nextInt(16) + 4;

        for (int k1 = 0; j4 + k1 < 64 && k1 < i5; ++k1)
        {
            this.field_150621_aC[j4 + k1] = Blocks.stained_hardened_clay.getDefaultState().withProperty(BlockColored.COLOR, EnumDyeColor.WHITE);

            if (j4 + k1 > 1 && random.nextBoolean())
            {
                this.field_150621_aC[j4 + k1 - 1] = Blocks.stained_hardened_clay.getDefaultState().withProperty(BlockColored.COLOR, EnumDyeColor.SILVER);
            }

            if (j4 + k1 < 63 && random.nextBoolean())
            {
                this.field_150621_aC[j4 + k1 + 1] = Blocks.stained_hardened_clay.getDefaultState().withProperty(BlockColored.COLOR, EnumDyeColor.SILVER);
            }
        }
    }
}
项目:BaseClient    文件:BiomeGenMesa.java   
private void func_150619_a(long p_150619_1_)
{
    this.field_150621_aC = new IBlockState[64];
    Arrays.fill(this.field_150621_aC, Blocks.hardened_clay.getDefaultState());
    Random random = new Random(p_150619_1_);
    this.field_150625_aG = new NoiseGeneratorPerlin(random, 1);

    for (int l1 = 0; l1 < 64; ++l1)
    {
        l1 += random.nextInt(5) + 1;

        if (l1 < 64)
        {
            this.field_150621_aC[l1] = Blocks.stained_hardened_clay.getDefaultState().withProperty(BlockColored.COLOR, EnumDyeColor.ORANGE);
        }
    }

    int i2 = random.nextInt(4) + 2;

    for (int i = 0; i < i2; ++i)
    {
        int j = random.nextInt(3) + 1;
        int k = random.nextInt(64);

        for (int l = 0; k + l < 64 && l < j; ++l)
        {
            this.field_150621_aC[k + l] = Blocks.stained_hardened_clay.getDefaultState().withProperty(BlockColored.COLOR, EnumDyeColor.YELLOW);
        }
    }

    int j2 = random.nextInt(4) + 2;

    for (int k2 = 0; k2 < j2; ++k2)
    {
        int i3 = random.nextInt(3) + 2;
        int l3 = random.nextInt(64);

        for (int i1 = 0; l3 + i1 < 64 && i1 < i3; ++i1)
        {
            this.field_150621_aC[l3 + i1] = Blocks.stained_hardened_clay.getDefaultState().withProperty(BlockColored.COLOR, EnumDyeColor.BROWN);
        }
    }

    int l2 = random.nextInt(4) + 2;

    for (int j3 = 0; j3 < l2; ++j3)
    {
        int i4 = random.nextInt(3) + 1;
        int k4 = random.nextInt(64);

        for (int j1 = 0; k4 + j1 < 64 && j1 < i4; ++j1)
        {
            this.field_150621_aC[k4 + j1] = Blocks.stained_hardened_clay.getDefaultState().withProperty(BlockColored.COLOR, EnumDyeColor.RED);
        }
    }

    int k3 = random.nextInt(3) + 3;
    int j4 = 0;

    for (int l4 = 0; l4 < k3; ++l4)
    {
        int i5 = 1;
        j4 += random.nextInt(16) + 4;

        for (int k1 = 0; j4 + k1 < 64 && k1 < i5; ++k1)
        {
            this.field_150621_aC[j4 + k1] = Blocks.stained_hardened_clay.getDefaultState().withProperty(BlockColored.COLOR, EnumDyeColor.WHITE);

            if (j4 + k1 > 1 && random.nextBoolean())
            {
                this.field_150621_aC[j4 + k1 - 1] = Blocks.stained_hardened_clay.getDefaultState().withProperty(BlockColored.COLOR, EnumDyeColor.SILVER);
            }

            if (j4 + k1 < 63 && random.nextBoolean())
            {
                this.field_150621_aC[j4 + k1 + 1] = Blocks.stained_hardened_clay.getDefaultState().withProperty(BlockColored.COLOR, EnumDyeColor.SILVER);
            }
        }
    }
}
项目:Backmemed    文件:BiomeMesa.java   
private void generateBands(long p_150619_1_)
{
    this.clayBands = new IBlockState[64];
    Arrays.fill(this.clayBands, HARDENED_CLAY);
    Random random = new Random(p_150619_1_);
    this.clayBandsOffsetNoise = new NoiseGeneratorPerlin(random, 1);

    for (int l1 = 0; l1 < 64; ++l1)
    {
        l1 += random.nextInt(5) + 1;

        if (l1 < 64)
        {
            this.clayBands[l1] = ORANGE_STAINED_HARDENED_CLAY;
        }
    }

    int i2 = random.nextInt(4) + 2;

    for (int i = 0; i < i2; ++i)
    {
        int j = random.nextInt(3) + 1;
        int k = random.nextInt(64);

        for (int l = 0; k + l < 64 && l < j; ++l)
        {
            this.clayBands[k + l] = STAINED_HARDENED_CLAY.withProperty(BlockColored.COLOR, EnumDyeColor.YELLOW);
        }
    }

    int j2 = random.nextInt(4) + 2;

    for (int k2 = 0; k2 < j2; ++k2)
    {
        int i3 = random.nextInt(3) + 2;
        int l3 = random.nextInt(64);

        for (int i1 = 0; l3 + i1 < 64 && i1 < i3; ++i1)
        {
            this.clayBands[l3 + i1] = STAINED_HARDENED_CLAY.withProperty(BlockColored.COLOR, EnumDyeColor.BROWN);
        }
    }

    int l2 = random.nextInt(4) + 2;

    for (int j3 = 0; j3 < l2; ++j3)
    {
        int i4 = random.nextInt(3) + 1;
        int k4 = random.nextInt(64);

        for (int j1 = 0; k4 + j1 < 64 && j1 < i4; ++j1)
        {
            this.clayBands[k4 + j1] = STAINED_HARDENED_CLAY.withProperty(BlockColored.COLOR, EnumDyeColor.RED);
        }
    }

    int k3 = random.nextInt(3) + 3;
    int j4 = 0;

    for (int l4 = 0; l4 < k3; ++l4)
    {
        int i5 = 1;
        j4 += random.nextInt(16) + 4;

        for (int k1 = 0; j4 + k1 < 64 && k1 < 1; ++k1)
        {
            this.clayBands[j4 + k1] = STAINED_HARDENED_CLAY.withProperty(BlockColored.COLOR, EnumDyeColor.WHITE);

            if (j4 + k1 > 1 && random.nextBoolean())
            {
                this.clayBands[j4 + k1 - 1] = STAINED_HARDENED_CLAY.withProperty(BlockColored.COLOR, EnumDyeColor.SILVER);
            }

            if (j4 + k1 < 63 && random.nextBoolean())
            {
                this.clayBands[j4 + k1 + 1] = STAINED_HARDENED_CLAY.withProperty(BlockColored.COLOR, EnumDyeColor.SILVER);
            }
        }
    }
}
项目:CustomWorldGen    文件:BiomeMesa.java   
public void generateBands(long p_150619_1_)
{
    this.clayBands = new IBlockState[64];
    Arrays.fill(this.clayBands, HARDENED_CLAY);
    Random random = new Random(p_150619_1_);
    this.clayBandsOffsetNoise = new NoiseGeneratorPerlin(random, 1);

    for (int l1 = 0; l1 < 64; ++l1)
    {
        l1 += random.nextInt(5) + 1;

        if (l1 < 64)
        {
            this.clayBands[l1] = ORANGE_STAINED_HARDENED_CLAY;
        }
    }

    int i2 = random.nextInt(4) + 2;

    for (int i = 0; i < i2; ++i)
    {
        int j = random.nextInt(3) + 1;
        int k = random.nextInt(64);

        for (int l = 0; k + l < 64 && l < j; ++l)
        {
            this.clayBands[k + l] = STAINED_HARDENED_CLAY.withProperty(BlockColored.COLOR, EnumDyeColor.YELLOW);
        }
    }

    int j2 = random.nextInt(4) + 2;

    for (int k2 = 0; k2 < j2; ++k2)
    {
        int i3 = random.nextInt(3) + 2;
        int l3 = random.nextInt(64);

        for (int i1 = 0; l3 + i1 < 64 && i1 < i3; ++i1)
        {
            this.clayBands[l3 + i1] = STAINED_HARDENED_CLAY.withProperty(BlockColored.COLOR, EnumDyeColor.BROWN);
        }
    }

    int l2 = random.nextInt(4) + 2;

    for (int j3 = 0; j3 < l2; ++j3)
    {
        int i4 = random.nextInt(3) + 1;
        int k4 = random.nextInt(64);

        for (int j1 = 0; k4 + j1 < 64 && j1 < i4; ++j1)
        {
            this.clayBands[k4 + j1] = STAINED_HARDENED_CLAY.withProperty(BlockColored.COLOR, EnumDyeColor.RED);
        }
    }

    int k3 = random.nextInt(3) + 3;
    int j4 = 0;

    for (int l4 = 0; l4 < k3; ++l4)
    {
        int i5 = 1;
        j4 += random.nextInt(16) + 4;

        for (int k1 = 0; j4 + k1 < 64 && k1 < 1; ++k1)
        {
            this.clayBands[j4 + k1] = STAINED_HARDENED_CLAY.withProperty(BlockColored.COLOR, EnumDyeColor.WHITE);

            if (j4 + k1 > 1 && random.nextBoolean())
            {
                this.clayBands[j4 + k1 - 1] = STAINED_HARDENED_CLAY.withProperty(BlockColored.COLOR, EnumDyeColor.SILVER);
            }

            if (j4 + k1 < 63 && random.nextBoolean())
            {
                this.clayBands[j4 + k1 + 1] = STAINED_HARDENED_CLAY.withProperty(BlockColored.COLOR, EnumDyeColor.SILVER);
            }
        }
    }
}
项目:Wizardry    文件:ChunkGeneratorUnderWorld.java   
public ChunkGeneratorUnderWorld(World worldIn) {
    this.world = worldIn;
    upper = new NoiseGeneratorPerlin(RandUtil.random, 4);
    lower = new NoiseGeneratorPerlin(RandUtil.random, 4);
}
项目:McWorldGenLoop    文件:LoopedNoiseGenSimplex2d.java   
public LoopedNoiseGenSimplex2d(NoiseGeneratorPerlin noiseGen, long seed, int bits) {
    this(new Random(seed), getNumOctaves(noiseGen), bits);
}
项目:McWorldGenLoop    文件:LoopedNoiseGenSimplex2d.java   
private static int getNumOctaves(NoiseGeneratorPerlin noiseGen) {
    Field f = ReflectionUtil.getFieldByType(NoiseGeneratorSimplex[].class, NoiseGeneratorPerlin.class, false);
    if (f == null)
        throw new Error("Field of type NoiseGeneratorSimplex[] not found in class NoiseGeneratorPerlin!");
    return ReflectionUtil.getArrayLength(f, noiseGen);
}
项目:AdvancedRocketry    文件:ChunkProviderPlanet.java   
public ChunkProviderPlanet(World p_i2006_1_, long p_i2006_2_, boolean p_i2006_4_)
{
    this.worldObj = p_i2006_1_;
    this.mapFeaturesEnabled = p_i2006_4_;
    this.field_147435_p = p_i2006_1_.getWorldInfo().getTerrainType();
    this.rand = new Random(p_i2006_2_);
    this.field_147431_j = new NoiseGeneratorOctaves(this.rand, 16);
    this.field_147432_k = new NoiseGeneratorOctaves(this.rand, 16);
    this.field_147429_l = new NoiseGeneratorOctaves(this.rand, 8);
    this.field_147430_m = new NoiseGeneratorPerlin(this.rand, 4);
    this.noiseGen5 = new NoiseGeneratorOctaves(this.rand, 10);
    this.noiseGen6 = new NoiseGeneratorOctaves(this.rand, 16);
    this.mobSpawnerNoise = new NoiseGeneratorOctaves(this.rand, 8);
    this.field_147434_q = new double[825];
    this.parabolicField = new float[25];

    for (int j = -2; j <= 2; ++j)
    {
        for (int k = -2; k <= 2; ++k)
        {
            float f = 10.0F / MathHelper.sqrt_float((float)(j * j + k * k) + 0.2F);
            this.parabolicField[j + 2 + (k + 2) * 5] = f;
        }
    }

    NoiseGenerator[] noiseGens = {field_147431_j, field_147432_k, field_147429_l, field_147430_m, noiseGen5, noiseGen6, mobSpawnerNoise};
    noiseGens = TerrainGen.getModdedNoiseGenerators(p_i2006_1_, this.rand, noiseGens);
    this.field_147431_j = (NoiseGeneratorOctaves)noiseGens[0];
    this.field_147432_k = (NoiseGeneratorOctaves)noiseGens[1];
    this.field_147429_l = (NoiseGeneratorOctaves)noiseGens[2];
    this.field_147430_m = (NoiseGeneratorPerlin)noiseGens[3];
    this.noiseGen5 = (NoiseGeneratorOctaves)noiseGens[4];
    this.noiseGen6 = (NoiseGeneratorOctaves)noiseGens[5];
    this.mobSpawnerNoise = (NoiseGeneratorOctaves)noiseGens[6];

    //TODO: may break on little planets
    float atmDensity = ((WorldProviderPlanet)worldObj.provider).getAtmosphereDensity(0,0);

    if(atmDensity < 0.75f)
        craterGenerator = new MapGenCrater( (int)(10 +  (26*(1-atmDensity)) ));
    else 
        craterGenerator = null;

    if(atmDensity > 1.25f && Configuration.generateGeodes) {
        geodeGenerator = new MapGenGeode(800);
    }
    else
        geodeGenerator = null;
}
项目:ZeroQuest    文件:ChunkProviderNillax.java   
public ChunkProviderNillax(World worldIn, long p_i45636_2_, boolean p_i45636_4_, String p_i45636_5_)
{
    this.field_177476_s = Blocks.water;
    this.stoneNoise = new double[256];
    this.caveGenerator = new MapGenCaves();
    //this.strongholdGenerator = new MapGenStronghold();
    this.villageGenerator = new MapGenNileVillage();
    this.mineshaftGenerator = new MapGenMineshaft();
    this.scatteredFeatureGenerator = new MapGenScatteredFeature();
    this.ravineGenerator = new MapGenRavine();
    //this.oceanMonumentGenerator = new StructureOceanMonument();
    this.worldObj = worldIn;
    this.mapFeaturesEnabled = p_i45636_4_;
    this.field_177475_o = worldIn.getWorldInfo().getTerrainType();
    this.rand = new Random(p_i45636_2_);
    this.field_147431_j = new NoiseGeneratorOctaves(this.rand, 16);
    this.field_147432_k = new NoiseGeneratorOctaves(this.rand, 16);
    this.field_147429_l = new NoiseGeneratorOctaves(this.rand, 8);
    this.field_147430_m = new NoiseGeneratorPerlin(this.rand, 4);
    this.noiseGen5 = new NoiseGeneratorOctaves(this.rand, 10);
    this.noiseGen6 = new NoiseGeneratorOctaves(this.rand, 16);
    this.mobSpawnerNoise = new NoiseGeneratorOctaves(this.rand, 8);
    this.field_147434_q = new double[825];
    this.parabolicField = new float[25];

    for (int j = -2; j <= 2; ++j)
    {
        for (int k = -2; k <= 2; ++k)
        {
            float f = 10.0F / MathHelper.sqrt_float((float)(j * j + k * k) + 0.2F);
            this.parabolicField[j + 2 + (k + 2) * 5] = f;
        }
    }

    if (p_i45636_5_ != null)
    {
        this.settings = ChunkProviderSettings.Factory.jsonToFactory(p_i45636_5_).func_177864_b();
        this.field_177476_s = this.settings.useLavaOceans ? Blocks.lava : Blocks.water;
    }

    NoiseGenerator[] noiseGens = {field_147431_j, field_147432_k, field_147429_l, field_147430_m, noiseGen5, noiseGen6, mobSpawnerNoise};
    noiseGens = TerrainGen.getModdedNoiseGenerators(worldIn, this.rand, noiseGens);
    this.field_147431_j = (NoiseGeneratorOctaves)noiseGens[0];
    this.field_147432_k = (NoiseGeneratorOctaves)noiseGens[1];
    this.field_147429_l = (NoiseGeneratorOctaves)noiseGens[2];
    this.field_147430_m = (NoiseGeneratorPerlin)noiseGens[3];
    this.noiseGen5 = (NoiseGeneratorOctaves)noiseGens[4];
    this.noiseGen6 = (NoiseGeneratorOctaves)noiseGens[5];
    this.mobSpawnerNoise = (NoiseGeneratorOctaves)noiseGens[6];
}
项目:ZeroQuest    文件:ChunkProviderDarkax.java   
public ChunkProviderDarkax(World worldIn, long p_i45636_2_, boolean p_i45636_4_, String p_i45636_5_)
{
    this.field_177476_s = Blocks.lava;
    this.stoneNoise = new double[256];
    this.caveGenerator = new MapGenCaves();
    //this.strongholdGenerator = new MapGenStronghold();
    this.villageGenerator = new MapGenNileVillage();
    this.mineshaftGenerator = new MapGenMineshaft();
    this.scatteredFeatureGenerator = new MapGenScatteredFeature();
    this.ravineGenerator = new MapGenRavine();
    //this.oceanMonumentGenerator = new StructureOceanMonument();
    this.worldObj = worldIn;
    this.mapFeaturesEnabled = p_i45636_4_;
    this.field_177475_o = worldIn.getWorldInfo().getTerrainType();
    this.rand = new Random(p_i45636_2_);
    this.field_147431_j = new NoiseGeneratorOctaves(this.rand, 16);
    this.field_147432_k = new NoiseGeneratorOctaves(this.rand, 16);
    this.field_147429_l = new NoiseGeneratorOctaves(this.rand, 8);
    this.field_147430_m = new NoiseGeneratorPerlin(this.rand, 4);
    this.noiseGen5 = new NoiseGeneratorOctaves(this.rand, 10);
    this.noiseGen6 = new NoiseGeneratorOctaves(this.rand, 16);
    this.mobSpawnerNoise = new NoiseGeneratorOctaves(this.rand, 8);
    this.field_147434_q = new double[825];
    this.parabolicField = new float[25];

    for (int j = -2; j <= 2; ++j)
    {
        for (int k = -2; k <= 2; ++k)
        {
            float f = 10.0F / MathHelper.sqrt_float((float)(j * j + k * k) + 0.2F);
            this.parabolicField[j + 2 + (k + 2) * 5] = f;
        }
    }

    if (p_i45636_5_ != null)
    {
        this.settings = ChunkProviderSettings.Factory.jsonToFactory(p_i45636_5_).func_177864_b();
        this.field_177476_s = this.settings.useLavaOceans ? Blocks.lava : Blocks.lava;
    }

    NoiseGenerator[] noiseGens = {field_147431_j, field_147432_k, field_147429_l, field_147430_m, noiseGen5, noiseGen6, mobSpawnerNoise};
    noiseGens = TerrainGen.getModdedNoiseGenerators(worldIn, this.rand, noiseGens);
    this.field_147431_j = (NoiseGeneratorOctaves)noiseGens[0];
    this.field_147432_k = (NoiseGeneratorOctaves)noiseGens[1];
    this.field_147429_l = (NoiseGeneratorOctaves)noiseGens[2];
    this.field_147430_m = (NoiseGeneratorPerlin)noiseGens[3];
    this.noiseGen5 = (NoiseGeneratorOctaves)noiseGens[4];
    this.noiseGen6 = (NoiseGeneratorOctaves)noiseGens[5];
    this.mobSpawnerNoise = (NoiseGeneratorOctaves)noiseGens[6];
}
项目:TheStuffMod    文件:ChunkProviderUsther.java   
public ChunkProviderUsther(World p_i2006_1_, long p_i2006_2_, boolean p_i2006_4_)
{
    this.spawnableMonsterList = new ArrayList();
    this.spawnableAnimalList = new ArrayList();

    this.spawnableMonsterList.add(new BiomeGenBase.SpawnListEntry(EntitySenthant.class, 5, 1, 4));
    this.spawnableMonsterList.add(new BiomeGenBase.SpawnListEntry(EntityGrawquat.class, 5, 1, 4));
    this.spawnableMonsterList.add(new BiomeGenBase.SpawnListEntry(EntityLyekhwrone.class, 5, 1, 4));
    this.spawnableAnimalList.add(new BiomeGenBase.SpawnListEntry(EntityLyekhwrone.class, 5, 1, 4));
    this.spawnableAnimalList.add(new BiomeGenBase.SpawnListEntry(EntityGrawquat.class, 5, 1, 4));

    this.worldObj = p_i2006_1_;
    this.mapFeaturesEnabled = p_i2006_4_;
    this.field_147435_p = p_i2006_1_.getWorldInfo().getTerrainType();
    this.rand = new Random(p_i2006_2_);
    this.field_147431_j = new NoiseGeneratorOctaves(this.rand, 16);
    this.field_147432_k = new NoiseGeneratorOctaves(this.rand, 16);
    this.field_147429_l = new NoiseGeneratorOctaves(this.rand, 8);
    this.field_147430_m = new NoiseGeneratorPerlin(this.rand, 4);
    this.noiseGen5 = new NoiseGeneratorOctaves(this.rand, 10);
    this.noiseGen6 = new NoiseGeneratorOctaves(this.rand, 16);
    this.mobSpawnerNoise = new NoiseGeneratorOctaves(this.rand, 8);
    this.field_147434_q = new double[825];
    this.parabolicField = new float[25];

    for (int j = -2; j <= 2; ++j)
    {
        for (int k = -2; k <= 2; ++k)
        {
            float f = 10.0F / MathHelper.sqrt_float((float)(j * j + k * k) + 0.2F);
            this.parabolicField[j + 2 + (k + 2) * 5] = f;
        }
    }

    NoiseGenerator[] noiseGens = {field_147431_j, field_147432_k, field_147429_l, field_147430_m, noiseGen5, noiseGen6, mobSpawnerNoise};
    noiseGens = TerrainGen.getModdedNoiseGenerators(p_i2006_1_, this.rand, noiseGens);
    this.field_147431_j = (NoiseGeneratorOctaves)noiseGens[0];
    this.field_147432_k = (NoiseGeneratorOctaves)noiseGens[1];
    this.field_147429_l = (NoiseGeneratorOctaves)noiseGens[2];
    this.field_147430_m = (NoiseGeneratorPerlin)noiseGens[3];
    this.noiseGen5 = (NoiseGeneratorOctaves)noiseGens[4];
    this.noiseGen6 = (NoiseGeneratorOctaves)noiseGens[5];
    this.mobSpawnerNoise = (NoiseGeneratorOctaves)noiseGens[6];
}
项目:OpenBlocks    文件:EntityHangGlider.java   
public EntityHangGlider(World world) {
    super(world);
    this.noiseGen = new NoiseGeneratorPerlin(new Random(world.getCurrentDate().get(Calendar.DAY_OF_YEAR)), 2);
}
项目:CustomWorldGen    文件:InitNoiseGensEvent.java   
public NoiseGeneratorPerlin  getHeight()   { return height;   }
项目:CustomWorldGen    文件:InitNoiseGensEvent.java   
public void getHeight  (NoiseGeneratorPerlin  value) { this.height   = value; }