Package mods.natura.worldgen

Examples of mods.natura.worldgen.FlowerGen


        if (doGen && hellRNG.nextInt(7) == 0)
        {
            int l2 = blockX + hellRNG.nextInt(16) + 8;
            int k4 = hellRNG.nextInt(128);
            int j6 = blockZ + hellRNG.nextInt(16) + 8;
            (new FlowerGen(NContent.glowshroom, 0)).generate(worldObj, hellRNG, l2, k4, j6);
        }
        if (doGen && hellRNG.nextInt(8) == 0)
        {
            int i3 = blockX + hellRNG.nextInt(16) + 8;
            int l4 = hellRNG.nextInt(128);
            int k6 = blockZ + hellRNG.nextInt(16) + 8;
            (new FlowerGen(NContent.glowshroom, 1)).generate(worldObj, hellRNG, i3, l4, k6);
        }
        if (doGen && hellRNG.nextInt(9) == 0)
        {
            int i3 = blockX + hellRNG.nextInt(16) + 8;
            int l4 = hellRNG.nextInt(128);
            int k6 = blockZ + hellRNG.nextInt(16) + 8;
            (new FlowerGen(NContent.glowshroom, 2)).generate(worldObj, hellRNG, i3, l4, k6);
        }

        MinecraftForge.EVENT_BUS.post(new DecorateBiomeEvent.Post(worldObj, hellRNG, blockX, blockZ));
        MinecraftForge.EVENT_BUS.post(new PopulateChunkEvent.Post(par1IChunkProvider, worldObj, hellRNG, par2, par3, false));
View Full Code Here

TOP

Related Classes of mods.natura.worldgen.FlowerGen

Copyright © 2018 www.massapicom. 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.