예제 #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);
     }
 }
예제 #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);
            }
        }