Exemplo n.º 1
0
 public void func_21027_b(World world, int i, int j, int k, Random random)
 {
     world.setBlock(i, j, k, 0);
     object obj = new WorldGenTrees();
     if (random.nextInt(10) == 0)
     {
         obj = new WorldGenBigTree();
     }
     if (!((WorldGenerator) (obj)).generate(world, random, i, j, k))
     {
         world.setBlock(i, j, k, blockID);
     }
 }
Exemplo n.º 2
0
        public void func_21027_b(World world, int i, int j, int k, Random random)
        {
            world.setBlock(i, j, k, 0);
            object obj = new WorldGenTrees();

            if (random.nextInt(10) == 0)
            {
                obj = new WorldGenBigTree();
            }
            if (!((WorldGenerator)(obj)).generate(world, random, i, j, k))
            {
                world.setBlock(i, j, k, blockID);
            }
        }