Examples of WorldGenHellLava


Examples of net.minecraft.world.gen.feature.WorldGenHellLava

        for (i1 = 0; doGen && i1 < 8; ++i1)
        {
            xPos = blockX + this.hellRNG.nextInt(16) + 8;
            yPos = this.hellRNG.nextInt(120) + 4;
            zPos = blockZ + this.hellRNG.nextInt(16) + 8;
            (new WorldGenHellLava(Blocks.lava, false)).generate(this.worldObj, this.hellRNG, xPos, yPos, zPos);
        }

        i1 = this.hellRNG.nextInt(this.hellRNG.nextInt(10) + 1) + 1;
        int i2;

        doGen = TerrainGen.populate(par1IChunkProvider, worldObj, hellRNG, par2, par3, false, FIRE);
        for (xPos = 0; doGen && xPos < i1; ++xPos)
        {
            yPos = blockX + this.hellRNG.nextInt(16) + 8;
            zPos = this.hellRNG.nextInt(120) + 4;
            i2 = blockZ + this.hellRNG.nextInt(16) + 8;
            (new FireGen()).generate(this.worldObj, this.hellRNG, yPos, zPos, i2);
        }

        i1 = this.hellRNG.nextInt(this.hellRNG.nextInt(10) + 1);

        doGen = TerrainGen.populate(par1IChunkProvider, worldObj, hellRNG, par2, par3, false, GLOWSTONE);
        for (xPos = 0; doGen && xPos < i1; ++xPos)
        {
            yPos = blockX + this.hellRNG.nextInt(16) + 8;
            zPos = this.hellRNG.nextInt(120) + 4;
            i2 = blockZ + this.hellRNG.nextInt(16) + 8;
            (new WorldGenGlowStone1()).generate(this.worldObj, this.hellRNG, yPos, zPos, i2);
        }

        for (xPos = 0; doGen && xPos < 10; ++xPos)
        {
            yPos = blockX + this.hellRNG.nextInt(16) + 8;
            zPos = this.hellRNG.nextInt(128);
            i2 = blockZ + this.hellRNG.nextInt(16) + 8;
            (new WorldGenGlowStone2()).generate(this.worldObj, this.hellRNG, yPos, zPos, i2);
        }

        WorldGenMinable worldgenminable = new WorldGenMinable(Blocks.quartz_ore, 13, Blocks.netherrack);
        int j2;

        for (yPos = 0; yPos < 16; ++yPos)
        {
            zPos = blockX + this.hellRNG.nextInt(16);
            i2 = this.hellRNG.nextInt(108) + 10;
            j2 = blockZ + this.hellRNG.nextInt(16);
            worldgenminable.generate(this.worldObj, this.hellRNG, zPos, i2, j2);
        }

        for (yPos = 0; yPos < 16; ++yPos)
        {
            zPos = blockX + this.hellRNG.nextInt(16);
            i2 = this.hellRNG.nextInt(108) + 10;
            j2 = blockZ + this.hellRNG.nextInt(16);
            (new WorldGenHellLava(Blocks.lava, true)).generate(this.worldObj, this.hellRNG, zPos, i2, j2);
        }
        MinecraftForge.EVENT_BUS.post(new DecorateBiomeEvent.Pre(worldObj, hellRNG, blockX, blockZ));
        doGen = TerrainGen.decorate(worldObj, hellRNG, blockX, blockZ, SHROOM);

        /*if (doGen && this.hellRNG.nextInt(1) == 0)
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.