Java 类net.minecraft.world.gen.feature.WorldGenFlowers 实例源码

项目:PopularMMOS-EpicProportions-Mod    文件:BlockCustomPlant_grass.java   
public void generateSurface(World world, java.util.Random randomGenerator, int chunkX, int chunkZ) {
    for (int i = 0; i < 40; i++) {
        int l6 = chunkX + randomGenerator.nextInt(16) + 8;
        int i11 = randomGenerator.nextInt(128);
        int l14 = chunkZ + randomGenerator.nextInt(16) + 8;
        (new WorldGenFlowers(BlockCustomPlant_grass.BlockJenGrass)).generate(world, randomGenerator, l6, i11, l14);
        (new WorldGenFlowers(BlockCustomPlant_grass.BlockPatGrass)).generate(world, randomGenerator, l6, i11, l14);

        (new WorldGenFlowers(BlockLoader.blockFlowerChocolate)).generate(world, randomGenerator, l6, i11, l14);
        (new WorldGenFlowers(BlockLoader.blockFlowerForJen)).generate(world, randomGenerator, l6, i11, l14);
        (new WorldGenFlowers(BlockLoader.blockFlowerLove)).generate(world, randomGenerator, l6, i11, l14);
        (new WorldGenFlowers(BlockLoader.blockFlowerPinkHeart)).generate(world, randomGenerator, l6, i11, l14);
        (new WorldGenFlowers(BlockLoader.blockFlowerRainbow)).generate(world, randomGenerator, l6, i11, l14);
        (new WorldGenFlowers(BlockLoader.blockFlowerRedHeart)).generate(world, randomGenerator, l6, i11, l14);
        }
}
项目:Resilience-Client-Source    文件:BiomeDecorator.java   
public BiomeDecorator()
{
    this.sandGen = new WorldGenSand(Blocks.sand, 7);
    this.gravelAsSandGen = new WorldGenSand(Blocks.gravel, 6);
    this.dirtGen = new WorldGenMinable(Blocks.dirt, 32);
    this.gravelGen = new WorldGenMinable(Blocks.gravel, 32);
    this.coalGen = new WorldGenMinable(Blocks.coal_ore, 16);
    this.ironGen = new WorldGenMinable(Blocks.iron_ore, 8);
    this.goldGen = new WorldGenMinable(Blocks.gold_ore, 8);
    this.redstoneGen = new WorldGenMinable(Blocks.redstone_ore, 7);
    this.diamondGen = new WorldGenMinable(Blocks.diamond_ore, 7);
    this.lapisGen = new WorldGenMinable(Blocks.lapis_ore, 6);
    this.field_150514_p = new WorldGenFlowers(Blocks.yellow_flower);
    this.mushroomBrownGen = new WorldGenFlowers(Blocks.brown_mushroom);
    this.mushroomRedGen = new WorldGenFlowers(Blocks.red_mushroom);
    this.bigMushroomGen = new WorldGenBigMushroom();
    this.reedGen = new WorldGenReed();
    this.cactusGen = new WorldGenCactus();
    this.waterlilyGen = new WorldGenWaterlily();
    this.flowersPerChunk = 2;
    this.grassPerChunk = 1;
    this.sandPerChunk = 1;
    this.sandPerChunk2 = 3;
    this.clayPerChunk = 1;
    this.generateLakes = true;
}
项目:WaffleMod    文件:WorldGenHandler.java   
private void generateOverworld(World world, Random rand, int chunkX, int chunkZ) {
    int x = chunkX*16 + rand.nextInt(16);
    int z = chunkZ*16 + rand.nextInt(16);
    int y = world.getHeightValue(x, z);
    if(world.getBiomeGenForCoords(x, z) == BiomeGenBase.forest || world.getBiomeGenForCoords(x, z) == BiomeGenBase.forestHills || world.getBiomeGenForCoords(x, z) == BiomeGenBase.plains && rand.nextInt(1) == 0) {
        mapleTree.generate(world, rand, x, y, z);
    }

    if(world.getBiomeGenForCoords(x, z) == BiomeGenBase.jungle || world.getBiomeGenForCoords(x, z) == BiomeGenBase.jungleEdge || world.getBiomeGenForCoords(x, z) == BiomeGenBase.jungleHills) {
        for(int i = 0; i < 6; i++) {
            x = chunkX*16 + rand.nextInt(16);
            z = chunkZ*16 + rand.nextInt(16);
            y = rand.nextInt(128);
            new WorldGenFlowers(BlockHandler.vanillaPlant).generate(world, rand, x, y, z);
        }
    }
}
项目:Cauldron    文件:BiomeDecorator.java   
public BiomeDecorator()
{
    this.sandGen = new WorldGenSand(Blocks.sand, 7);
    this.gravelAsSandGen = new WorldGenSand(Blocks.gravel, 6);
    this.dirtGen = new WorldGenMinable(Blocks.dirt, 32);
    this.gravelGen = new WorldGenMinable(Blocks.gravel, 32);
    this.coalGen = new WorldGenMinable(Blocks.coal_ore, 16);
    this.ironGen = new WorldGenMinable(Blocks.iron_ore, 8);
    this.goldGen = new WorldGenMinable(Blocks.gold_ore, 8);
    this.redstoneGen = new WorldGenMinable(Blocks.redstone_ore, 7);
    this.diamondGen = new WorldGenMinable(Blocks.diamond_ore, 7);
    this.lapisGen = new WorldGenMinable(Blocks.lapis_ore, 6);
    this.yellowFlowerGen = new WorldGenFlowers(Blocks.yellow_flower);
    this.mushroomBrownGen = new WorldGenFlowers(Blocks.brown_mushroom);
    this.mushroomRedGen = new WorldGenFlowers(Blocks.red_mushroom);
    this.bigMushroomGen = new WorldGenBigMushroom();
    this.reedGen = new WorldGenReed();
    this.cactusGen = new WorldGenCactus();
    this.waterlilyGen = new WorldGenWaterlily();
    this.flowersPerChunk = 2;
    this.grassPerChunk = 1;
    this.sandPerChunk = 1;
    this.sandPerChunk2 = 3;
    this.clayPerChunk = 1;
    this.generateLakes = true;
}
项目:Cauldron    文件:BiomeDecorator.java   
public BiomeDecorator()
{
    this.sandGen = new WorldGenSand(Blocks.sand, 7);
    this.gravelAsSandGen = new WorldGenSand(Blocks.gravel, 6);
    this.dirtGen = new WorldGenMinable(Blocks.dirt, 32);
    this.gravelGen = new WorldGenMinable(Blocks.gravel, 32);
    this.coalGen = new WorldGenMinable(Blocks.coal_ore, 16);
    this.ironGen = new WorldGenMinable(Blocks.iron_ore, 8);
    this.goldGen = new WorldGenMinable(Blocks.gold_ore, 8);
    this.redstoneGen = new WorldGenMinable(Blocks.redstone_ore, 7);
    this.diamondGen = new WorldGenMinable(Blocks.diamond_ore, 7);
    this.lapisGen = new WorldGenMinable(Blocks.lapis_ore, 6);
    this.yellowFlowerGen = new WorldGenFlowers(Blocks.yellow_flower);
    this.mushroomBrownGen = new WorldGenFlowers(Blocks.brown_mushroom);
    this.mushroomRedGen = new WorldGenFlowers(Blocks.red_mushroom);
    this.bigMushroomGen = new WorldGenBigMushroom();
    this.reedGen = new WorldGenReed();
    this.cactusGen = new WorldGenCactus();
    this.waterlilyGen = new WorldGenWaterlily();
    this.flowersPerChunk = 2;
    this.grassPerChunk = 1;
    this.sandPerChunk = 1;
    this.sandPerChunk2 = 3;
    this.clayPerChunk = 1;
    this.generateLakes = true;
}
项目:WaffleMod    文件:WorldGenHandler.java   
private void generateOverworld(World world, Random rand, int chunkX, int chunkZ) {
    int x = chunkX*16 + rand.nextInt(16);
    int z = chunkZ*16 + rand.nextInt(16);
    int y = world.getHeightValue(x, z);
    if(world.getBiomeGenForCoords(x, z) == BiomeGenBase.forest || world.getBiomeGenForCoords(x, z) == BiomeGenBase.forestHills || world.getBiomeGenForCoords(x, z) == BiomeGenBase.plains && rand.nextInt(1) == 0) {
        mapleTree.generate(world, rand, x, y, z);
    }

    if(world.getBiomeGenForCoords(x, z) == BiomeGenBase.jungle || world.getBiomeGenForCoords(x, z) == BiomeGenBase.jungleEdge || world.getBiomeGenForCoords(x, z) == BiomeGenBase.jungleHills) {
        for(int i = 0; i < 6; i++) {
            x = chunkX*16 + rand.nextInt(16);
            z = chunkZ*16 + rand.nextInt(16);
            y = rand.nextInt(128);
            new WorldGenFlowers(BlockHandler.vanillaPlant).generate(world, rand, x, y, z);
        }
    }
}
项目:MidgarCrusade    文件:BiomeDecoratorMagic.java   
public BiomeDecoratorMagic()
{
    super();
       this.grassPerChunk = 10;
       this.gen_red_berry = new WorldGenFlowers(BlockRegister.BERRY_RED);
       this.gen_yellow_berry = new WorldGenFlowers(BlockRegister.BERRY_YELLOW);
       this.combustiumGen = new WorldGenMinable(BlockRegister.ORE_COMBUSTIUM, 24, BlockRegister.STONE);
       this.etherniumGen = new WorldGenMinable(BlockRegister.ORE_ETHERNIUM, 10, BlockRegister.STONE);
       this.silverGen = new WorldGenMinable(BlockRegister.ORE_SILVER, 14, BlockRegister.STONE);
       this.titaniumGen = new WorldGenMinable(BlockRegister.ORE_TITANIUM, 10, BlockRegister.STONE);
       this.goldGen = new WorldGenMinable(Blocks.gold_ore, 8, BlockRegister.STONE);
       this.redstoneGen = new WorldGenMinable(Blocks.redstone_ore, 7, BlockRegister.STONE);
       this.diamondGen = new WorldGenMinable(Blocks.diamond_ore, 7, BlockRegister.STONE);
}
项目:PopularMMOS-EpicProportions-Mod    文件:blockModFlower.java   
public void generateSurface(World world, java.util.Random randomGenerator, int chunkX, int chunkZ) {
    for (int i = 0; i < 20; i++) {
        int l6 = chunkX + randomGenerator.nextInt(16) + 8;
        int i11 = randomGenerator.nextInt(128);
        int l14 = chunkZ + randomGenerator.nextInt(16) + 8;
        (new WorldGenFlowers(BlockLoader.blockFlowerChocolate)).generate(world, randomGenerator, l6, i11, l14);
        (new WorldGenFlowers(BlockLoader.blockFlowerForJen)).generate(world, randomGenerator, l6, i11, l14);
        (new WorldGenFlowers(BlockLoader.blockFlowerLove)).generate(world, randomGenerator, l6, i11, l14);
        (new WorldGenFlowers(BlockLoader.blockFlowerPinkHeart)).generate(world, randomGenerator, l6, i11, l14);
        (new WorldGenFlowers(BlockLoader.blockFlowerRainbow)).generate(world, randomGenerator, l6, i11, l14);
        (new WorldGenFlowers(BlockLoader.blockFlowerRedHeart)).generate(world, randomGenerator, l6, i11, l14);
        }
}
项目:PopularMMOS-EpicProportions-Mod    文件:BlockPumpkinJen.java   
public void generateSurface(World world, java.util.Random randomGenerator, int chunkX, int chunkZ) {
        for (int i = 0; i < 20; i++) {
            int l6 = chunkX + randomGenerator.nextInt(16) + 8;
            int i11 = randomGenerator.nextInt(128);
            int l14 = chunkZ + randomGenerator.nextInt(16) + 8;
            (new WorldGenFlowers(BlockLoader.BlockPumpkinJen)).generate(world, randomGenerator, l6, i11, l14);
        }
}
项目:PopularMMOS-EpicProportions-Mod    文件:BlockPumpkinPat.java   
public void generateSurface(World world, java.util.Random randomGenerator, int chunkX, int chunkZ) {
        for (int i = 0; i < 20; i++) {
            int l6 = chunkX + randomGenerator.nextInt(16) + 8;
            int i11 = randomGenerator.nextInt(128);
            int l14 = chunkZ + randomGenerator.nextInt(16) + 8;
            (new WorldGenFlowers(BlockLoader.BlockPumpkinPat)).generate(world, randomGenerator, l6, i11, l14);
        }
}
项目:ZeroQuest    文件:BiomeGenBioZone.java   
@Override
public void decorate(World par1World, Random par2Random, int chunk_X, int chunk_Z){
    super.decorate(par1World, par2Random, chunk_X, chunk_Z);
    WorldGenFlowers blueFlowerGenerator = new WorldGenFlowers(ModBlocks.nileBlueFlower);

    boolean doGen = TerrainGen.decorate(par1World, par2Random, chunk_X, chunk_Z, FLOWERS);
    for (int j = 0; doGen && j < 10; ++j)
    {
        int k = chunk_X + par2Random.nextInt(16) + 8;
        int l = par2Random.nextInt(128);
        int i1 = chunk_Z + par2Random.nextInt(16) + 8;
        blueFlowerGenerator.generate(par1World, par2Random, k, l, i1);
    }
}
项目:ZeroQuest    文件:BiomeGenPinkZone.java   
@Override
public void decorate(World par1World, Random par2Random, int chunk_X, int chunk_Z){
    super.decorate(par1World, par2Random, chunk_X, chunk_Z);
    WorldGenFlowers blueFlowerGenerator = new WorldGenFlowers(ModBlocks.nilePinkFlower);

    boolean doGen = TerrainGen.decorate(par1World, par2Random, chunk_X, chunk_Z, FLOWERS);
    for (int j = 0; doGen && j < 10; ++j)
    {
        int k = chunk_X + par2Random.nextInt(16) + 8;
        int l = par2Random.nextInt(128);
        int i1 = chunk_Z + par2Random.nextInt(16) + 8;
        blueFlowerGenerator.generate(par1World, par2Random, k, l, i1);
    }
}
项目:ZeroQuest    文件:BiomeGenDarkLand.java   
@Override
public void decorate(World par1World, Random par2Random, int chunk_X, int chunk_Z){
    super.decorate(par1World, par2Random, chunk_X, chunk_Z);
    WorldGenFlowers blueFlowerGenerator = new WorldGenFlowers(ModBlocks.nileBlackFlower);

    boolean doGen = TerrainGen.decorate(par1World, par2Random, chunk_X, chunk_Z, FLOWERS);
    for (int j = 0; doGen && j < 10; ++j)
    {
        int k = chunk_X + par2Random.nextInt(16) + 8;
        int l = par2Random.nextInt(128);
        int i1 = chunk_Z + par2Random.nextInt(16) + 8;
        blueFlowerGenerator.generate(par1World, par2Random, k, l, i1);
    }
}
项目:ZeroQuest    文件:BiomeGenRedSeed.java   
@Override
public void decorate(World par1World, Random par2Random, int chunk_X, int chunk_Z){
    super.decorate(par1World, par2Random, chunk_X, chunk_Z);
    WorldGenFlowers blackFlowerGenerator = new WorldGenFlowers(ModBlocks.nileBlackFlower.blockID);

    boolean doGen = TerrainGen.decorate(par1World, par2Random, chunk_X, chunk_Z, FLOWERS);
    for (int j = 0; doGen && j < 30; ++j)
    {
        int k = chunk_X + par2Random.nextInt(16) + 8;
        int l = par2Random.nextInt(128);
        int i1 = chunk_Z + par2Random.nextInt(16) + 8;
        blackFlowerGenerator.generate(par1World, par2Random, k, l, i1);
    }
}
项目:ZeroQuest    文件:BiomeGenBioZone.java   
@Override
public void decorate(World par1World, Random par2Random, int chunk_X, int chunk_Z){
    super.decorate(par1World, par2Random, chunk_X, chunk_Z);
    WorldGenFlowers blueFlowerGenerator = new WorldGenFlowers(ModBlocks.nileBlueFlower.blockID);

    boolean doGen = TerrainGen.decorate(par1World, par2Random, chunk_X, chunk_Z, FLOWERS);
    for (int j = 0; doGen && j < 10; ++j)
    {
        int k = chunk_X + par2Random.nextInt(16) + 8;
        int l = par2Random.nextInt(128);
        int i1 = chunk_Z + par2Random.nextInt(16) + 8;
        blueFlowerGenerator.generate(par1World, par2Random, k, l, i1);
    }
}
项目:ZeroQuest    文件:BiomeGenBlueNile.java   
@Override
public void decorate(World par1World, Random par2Random, int chunk_X, int chunk_Z){
    super.decorate(par1World, par2Random, chunk_X, chunk_Z);
    WorldGenFlowers blueFlowerGenerator = new WorldGenFlowers(ModBlocks.nileBlueFlower.blockID);

    boolean doGen = TerrainGen.decorate(par1World, par2Random, chunk_X, chunk_Z, FLOWERS);
    for (int j = 0; doGen && j < 30; ++j)
    {
        int k = chunk_X + par2Random.nextInt(16) + 8;
        int l = par2Random.nextInt(128);
        int i1 = chunk_Z + par2Random.nextInt(16) + 8;
        blueFlowerGenerator.generate(par1World, par2Random, k, l, i1);
    }
}
项目:ZeroQuest    文件:BiomeGenPinkZone.java   
@Override
public void decorate(World par1World, Random par2Random, int chunk_X, int chunk_Z){
    super.decorate(par1World, par2Random, chunk_X, chunk_Z);
    WorldGenFlowers blueFlowerGenerator = new WorldGenFlowers(ModBlocks.nilePinkFlower.blockID);

    boolean doGen = TerrainGen.decorate(par1World, par2Random, chunk_X, chunk_Z, FLOWERS);
    for (int j = 0; doGen && j < 10; ++j)
    {
        int k = chunk_X + par2Random.nextInt(16) + 8;
        int l = par2Random.nextInt(128);
        int i1 = chunk_Z + par2Random.nextInt(16) + 8;
        blueFlowerGenerator.generate(par1World, par2Random, k, l, i1);
    }
}
项目:ZeroQuest    文件:BiomeGenDarkLand.java   
@Override
public void decorate(World par1World, Random par2Random, int chunk_X, int chunk_Z){
    super.decorate(par1World, par2Random, chunk_X, chunk_Z);
    WorldGenFlowers blueFlowerGenerator = new WorldGenFlowers(ModBlocks.nileBlackFlower.blockID);

    boolean doGen = TerrainGen.decorate(par1World, par2Random, chunk_X, chunk_Z, FLOWERS);
    for (int j = 0; doGen && j < 10; ++j)
    {
        int k = chunk_X + par2Random.nextInt(16) + 8;
        int l = par2Random.nextInt(128);
        int i1 = chunk_Z + par2Random.nextInt(16) + 8;
        blueFlowerGenerator.generate(par1World, par2Random, k, l, i1);
    }
}
项目:RuneCraftery    文件:BiomeDecorator.java   
public BiomeDecorator(BiomeGenBase p_i1974_1_) {
   this.field_76810_g = new WorldGenSand(7, Block.field_71939_E.field_71990_ca);
   this.field_76822_h = new WorldGenSand(6, Block.field_71940_F.field_71990_ca);
   this.field_76823_i = new WorldGenMinable(Block.field_71979_v.field_71990_ca, 32);
   this.field_76820_j = new WorldGenMinable(Block.field_71940_F.field_71990_ca, 32);
   this.field_76821_k = new WorldGenMinable(Block.field_71950_I.field_71990_ca, 16);
   this.field_76818_l = new WorldGenMinable(Block.field_71949_H.field_71990_ca, 8);
   this.field_76819_m = new WorldGenMinable(Block.field_71941_G.field_71990_ca, 8);
   this.field_76816_n = new WorldGenMinable(Block.field_72047_aN.field_71990_ca, 7);
   this.field_76817_o = new WorldGenMinable(Block.field_72073_aw.field_71990_ca, 7);
   this.field_76831_p = new WorldGenMinable(Block.field_71947_N.field_71990_ca, 6);
   this.field_76830_q = new WorldGenFlowers(Block.field_72097_ad.field_71990_ca);
   this.field_76829_r = new WorldGenFlowers(Block.field_72107_ae.field_71990_ca);
   this.field_76828_s = new WorldGenFlowers(Block.field_72109_af.field_71990_ca);
   this.field_76827_t = new WorldGenFlowers(Block.field_72103_ag.field_71990_ca);
   this.field_76826_u = new WorldGenBigMushroom();
   this.field_76825_v = new WorldGenReed();
   this.field_76824_w = new WorldGenCactus();
   this.field_76834_x = new WorldGenWaterlily();
   this.field_76802_A = 2;
   this.field_76803_B = 1;
   this.field_76801_G = 1;
   this.field_76805_H = 3;
   this.field_76806_I = 1;
   this.field_76808_K = true;
   this.field_76812_e = p_i1974_1_;
}
项目:RuneCraftery    文件:BiomeDecorator.java   
public BiomeDecorator(BiomeGenBase par1BiomeGenBase)
{
    this.sandGen = new WorldGenSand(7, Block.sand.blockID);
    this.gravelAsSandGen = new WorldGenSand(6, Block.gravel.blockID);
    this.dirtGen = new WorldGenMinable(Block.dirt.blockID, 32);
    this.gravelGen = new WorldGenMinable(Block.gravel.blockID, 32);
    this.coalGen = new WorldGenMinable(Block.oreCoal.blockID, 16);
    this.ironGen = new WorldGenMinable(Block.oreIron.blockID, 8);
    this.goldGen = new WorldGenMinable(Block.oreGold.blockID, 8);
    this.redstoneGen = new WorldGenMinable(Block.oreRedstone.blockID, 7);
    this.diamondGen = new WorldGenMinable(Block.oreDiamond.blockID, 7);
    this.lapisGen = new WorldGenMinable(Block.oreLapis.blockID, 6);
    this.plantYellowGen = new WorldGenFlowers(Block.plantYellow.blockID);
    this.plantRedGen = new WorldGenFlowers(Block.plantRed.blockID);
    this.mushroomBrownGen = new WorldGenFlowers(Block.mushroomBrown.blockID);
    this.mushroomRedGen = new WorldGenFlowers(Block.mushroomRed.blockID);
    this.bigMushroomGen = new WorldGenBigMushroom();
    this.reedGen = new WorldGenReed();
    this.cactusGen = new WorldGenCactus();
    this.waterlilyGen = new WorldGenWaterlily();
    this.flowersPerChunk = 2;
    this.grassPerChunk = 1;
    this.sandPerChunk = 1;
    this.sandPerChunk2 = 3;
    this.clayPerChunk = 1;
    this.generateLakes = true;
    this.biome = par1BiomeGenBase;
}
项目:BetterNutritionMod    文件:BiomeDecorator.java   
public BiomeDecorator(BiomeGenBase par1BiomeGenBase)
{
    this.sandGen = new WorldGenSand(7, Block.sand.blockID);
    this.gravelAsSandGen = new WorldGenSand(6, Block.gravel.blockID);
    this.dirtGen = new WorldGenMinable(Block.dirt.blockID, 32);
    this.gravelGen = new WorldGenMinable(Block.gravel.blockID, 32);
    this.coalGen = new WorldGenMinable(Block.oreCoal.blockID, 16);
    this.ironGen = new WorldGenMinable(Block.oreIron.blockID, 8);
    this.goldGen = new WorldGenMinable(Block.oreGold.blockID, 8);
    this.redstoneGen = new WorldGenMinable(Block.oreRedstone.blockID, 7);
    this.diamondGen = new WorldGenMinable(Block.oreDiamond.blockID, 7);
    this.lapisGen = new WorldGenMinable(Block.oreLapis.blockID, 6);
    this.plantYellowGen = new WorldGenFlowers(Block.plantYellow.blockID);
    this.plantRedGen = new WorldGenFlowers(Block.plantRed.blockID);
    this.mushroomBrownGen = new WorldGenFlowers(Block.mushroomBrown.blockID);
    this.mushroomRedGen = new WorldGenFlowers(Block.mushroomRed.blockID);
    this.bigMushroomGen = new WorldGenBigMushroom();
    this.reedGen = new WorldGenReed();
    this.cactusGen = new WorldGenCactus();
    this.waterlilyGen = new WorldGenWaterlily();
    this.flowersPerChunk = 2;
    this.grassPerChunk = 1;
    this.sandPerChunk = 1;
    this.sandPerChunk2 = 3;
    this.clayPerChunk = 1;
    this.generateLakes = true;
    this.biome = par1BiomeGenBase;
}
项目:ZeroQuest    文件:BiomeGenBlueTaiga.java   
public void decorate(World p_76728_1_, Random p_76728_2_, int p_76728_3_, int p_76728_4_)
{
    int k;
    int l;
    int i1;
    int j1;

    if (this.field_150644_aH == 1 || this.field_150644_aH == 2)
    {
        k = p_76728_2_.nextInt(3);

        for (l = 0; l < k; ++l)
        {
            i1 = p_76728_3_ + p_76728_2_.nextInt(16) + 8;
            j1 = p_76728_4_ + p_76728_2_.nextInt(16) + 8;
            int k1 = p_76728_1_.getHeightValue(i1, j1);
            field_150643_aG.generate(p_76728_1_, p_76728_2_, i1, k1, j1);
        }
    }

    genTallFlowers.func_150548_a(3);

    for (k = 0; k < 7; ++k)
    {
        l = p_76728_3_ + p_76728_2_.nextInt(16) + 8;
        i1 = p_76728_4_ + p_76728_2_.nextInt(16) + 8;
        j1 = p_76728_2_.nextInt(p_76728_1_.getHeightValue(l, i1) + 32);
        genTallFlowers.generate(p_76728_1_, p_76728_2_, l, j1, i1);
    }

    WorldGenFlowers blueFlowerGenerator = new WorldGenFlowers(ModBlocks.nileBlueFlower);

    boolean doGen = TerrainGen.decorate(p_76728_1_, p_76728_2_, p_76728_3_, p_76728_4_, FLOWERS);
    for (int j = 0; doGen && j < 30; ++j)
    {
        int k2 = p_76728_3_ + p_76728_2_.nextInt(16) + 8;
        int l2 = p_76728_2_.nextInt(128);
        int i2 = p_76728_4_ + p_76728_2_.nextInt(16) + 8;
        blueFlowerGenerator.generate(p_76728_1_, p_76728_2_, k2, l2, i2);
    }

    super.decorate(p_76728_1_, p_76728_2_, p_76728_3_, p_76728_4_);
}
项目:RuneCraftery    文件:ChunkProviderHell.java   
public void func_73153_a(IChunkProvider p_73153_1_, int p_73153_2_, int p_73153_3_) {
   BlockSand.field_72192_a = true;
   int var4 = p_73153_2_ * 16;
   int var5 = p_73153_3_ * 16;
   this.field_73172_c.func_75051_a(this.field_73175_o, this.field_73181_i, p_73153_2_, p_73153_3_);

   int var6;
   int var7;
   int var8;
   int var9;
   for(var6 = 0; var6 < 8; ++var6) {
      var7 = var4 + this.field_73181_i.nextInt(16) + 8;
      var8 = this.field_73181_i.nextInt(120) + 4;
      var9 = var5 + this.field_73181_i.nextInt(16) + 8;
      (new WorldGenHellLava(Block.field_71944_C.field_71990_ca, false)).func_76484_a(this.field_73175_o, this.field_73181_i, var7, var8, var9);
   }

   var6 = this.field_73181_i.nextInt(this.field_73181_i.nextInt(10) + 1) + 1;

   int var10;
   for(var7 = 0; var7 < var6; ++var7) {
      var8 = var4 + this.field_73181_i.nextInt(16) + 8;
      var9 = this.field_73181_i.nextInt(120) + 4;
      var10 = var5 + this.field_73181_i.nextInt(16) + 8;
      (new WorldGenFire()).func_76484_a(this.field_73175_o, this.field_73181_i, var8, var9, var10);
   }

   var6 = this.field_73181_i.nextInt(this.field_73181_i.nextInt(10) + 1);

   for(var7 = 0; var7 < var6; ++var7) {
      var8 = var4 + this.field_73181_i.nextInt(16) + 8;
      var9 = this.field_73181_i.nextInt(120) + 4;
      var10 = var5 + this.field_73181_i.nextInt(16) + 8;
      (new WorldGenGlowStone1()).func_76484_a(this.field_73175_o, this.field_73181_i, var8, var9, var10);
   }

   for(var7 = 0; var7 < 10; ++var7) {
      var8 = var4 + this.field_73181_i.nextInt(16) + 8;
      var9 = this.field_73181_i.nextInt(128);
      var10 = var5 + this.field_73181_i.nextInt(16) + 8;
      (new WorldGenGlowStone2()).func_76484_a(this.field_73175_o, this.field_73181_i, var8, var9, var10);
   }

   if(this.field_73181_i.nextInt(1) == 0) {
      var7 = var4 + this.field_73181_i.nextInt(16) + 8;
      var8 = this.field_73181_i.nextInt(128);
      var9 = var5 + this.field_73181_i.nextInt(16) + 8;
      (new WorldGenFlowers(Block.field_72109_af.field_71990_ca)).func_76484_a(this.field_73175_o, this.field_73181_i, var7, var8, var9);
   }

   if(this.field_73181_i.nextInt(1) == 0) {
      var7 = var4 + this.field_73181_i.nextInt(16) + 8;
      var8 = this.field_73181_i.nextInt(128);
      var9 = var5 + this.field_73181_i.nextInt(16) + 8;
      (new WorldGenFlowers(Block.field_72103_ag.field_71990_ca)).func_76484_a(this.field_73175_o, this.field_73181_i, var7, var8, var9);
   }

   WorldGenMinable var12 = new WorldGenMinable(Block.field_94342_cr.field_71990_ca, 13, Block.field_72012_bb.field_71990_ca);

   int var11;
   for(var8 = 0; var8 < 16; ++var8) {
      var9 = var4 + this.field_73181_i.nextInt(16);
      var10 = this.field_73181_i.nextInt(108) + 10;
      var11 = var5 + this.field_73181_i.nextInt(16);
      var12.func_76484_a(this.field_73175_o, this.field_73181_i, var9, var10, var11);
   }

   for(var8 = 0; var8 < 16; ++var8) {
      var9 = var4 + this.field_73181_i.nextInt(16);
      var10 = this.field_73181_i.nextInt(108) + 10;
      var11 = var5 + this.field_73181_i.nextInt(16);
      (new WorldGenHellLava(Block.field_71944_C.field_71990_ca, true)).func_76484_a(this.field_73175_o, this.field_73181_i, var9, var10, var11);
   }

   BlockSand.field_72192_a = false;
}