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

项目:RuneCraftery    文件:BiomeGenJungle.java   
public WorldGenerator func_76740_a(Random p_76740_1_) {
   return (WorldGenerator)(p_76740_1_.nextInt(10) == 0?this.field_76758_O:(p_76740_1_.nextInt(2) == 0?new WorldGenShrub(3, 0):(p_76740_1_.nextInt(3) == 0?new WorldGenHugeTrees(false, 10 + p_76740_1_.nextInt(20), 3, 3):new WorldGenTrees(false, 4 + p_76740_1_.nextInt(7), 3, 3, true))));
}
项目:RuneCraftery    文件:BiomeGenJungle.java   
/**
 * Gets a WorldGen appropriate for this biome.
 */
public WorldGenerator getRandomWorldGenForTrees(Random par1Random)
{
    return (WorldGenerator)(par1Random.nextInt(10) == 0 ? this.worldGeneratorBigTree : (par1Random.nextInt(2) == 0 ? new WorldGenShrub(3, 0) : (par1Random.nextInt(3) == 0 ? new WorldGenHugeTrees(false, 10 + par1Random.nextInt(20), 3, 3) : new WorldGenTrees(false, 4 + par1Random.nextInt(7), 3, 3, true))));
}
项目:BetterNutritionMod    文件:BiomeGenJungle.java   
/**
 * Gets a WorldGen appropriate for this biome.
 */
public WorldGenerator getRandomWorldGenForTrees(Random par1Random)
{
    return (WorldGenerator)(par1Random.nextInt(10) == 0 ? this.worldGeneratorBigTree : (par1Random.nextInt(2) == 0 ? new WorldGenShrub(3, 0) : (par1Random.nextInt(3) == 0 ? new WorldGenHugeTrees(false, 10 + par1Random.nextInt(20), 3, 3) : new WorldGenTrees(false, 4 + par1Random.nextInt(7), 3, 3, true))));
}
项目:MysticMods    文件:BiomeGenJungle.java   
/**
 * Gets a WorldGen appropriate for this biome.
 */
public WorldGenerator getRandomWorldGenForTrees(Random par1Random)
{
    return (WorldGenerator)(par1Random.nextInt(10) == 0 ? this.worldGeneratorBigTree : (par1Random.nextInt(2) == 0 ?  new WorldGenHugeTrees(false, 10 + par1Random.nextInt(20), 3, 3) : new WorldGenTrees(false, 4 + par1Random.nextInt(7), 3, 3, true)));
}