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

项目:DecompiledMinecraft    文件:BiomeGenJungle.java   
public WorldGenAbstractTree genBigTreeChance(Random rand)
{
    return (WorldGenAbstractTree)(rand.nextInt(10) == 0 ? this.worldGeneratorBigTree : (rand.nextInt(2) == 0 ? new WorldGenShrub(field_181620_aE, field_181622_aG) : (!this.field_150614_aC && rand.nextInt(3) == 0 ? new WorldGenMegaJungle(false, 10, 20, field_181620_aE, field_181621_aF) : new WorldGenTrees(false, 4 + rand.nextInt(7), field_181620_aE, field_181621_aF, true))));
}
项目:DecompiledMinecraft    文件:BiomeGenJungle.java   
public WorldGenAbstractTree genBigTreeChance(Random rand)
{
    return (WorldGenAbstractTree)(rand.nextInt(10) == 0 ? this.worldGeneratorBigTree : (rand.nextInt(2) == 0 ? new WorldGenShrub(field_181620_aE, field_181622_aG) : (!this.field_150614_aC && rand.nextInt(3) == 0 ? new WorldGenMegaJungle(false, 10, 20, field_181620_aE, field_181621_aF) : new WorldGenTrees(false, 4 + rand.nextInt(7), field_181620_aE, field_181621_aF, true))));
}
项目:BaseClient    文件:BiomeGenJungle.java   
public WorldGenAbstractTree genBigTreeChance(Random rand)
{
    return (WorldGenAbstractTree)(rand.nextInt(10) == 0 ? this.worldGeneratorBigTree : (rand.nextInt(2) == 0 ? new WorldGenShrub(field_181620_aE, field_181622_aG) : (!this.field_150614_aC && rand.nextInt(3) == 0 ? new WorldGenMegaJungle(false, 10, 20, field_181620_aE, field_181621_aF) : new WorldGenTrees(false, 4 + rand.nextInt(7), field_181620_aE, field_181621_aF, true))));
}
项目:BaseClient    文件:BiomeGenJungle.java   
public WorldGenAbstractTree genBigTreeChance(Random rand)
{
    return (WorldGenAbstractTree)(rand.nextInt(10) == 0 ? this.worldGeneratorBigTree : (rand.nextInt(2) == 0 ? new WorldGenShrub(field_181620_aE, field_181622_aG) : (!this.field_150614_aC && rand.nextInt(3) == 0 ? new WorldGenMegaJungle(false, 10, 20, field_181620_aE, field_181621_aF) : new WorldGenTrees(false, 4 + rand.nextInt(7), field_181620_aE, field_181621_aF, true))));
}
项目:Backmemed    文件:BiomeJungle.java   
public WorldGenAbstractTree genBigTreeChance(Random rand)
{
    return (WorldGenAbstractTree)(rand.nextInt(10) == 0 ? BIG_TREE_FEATURE : (rand.nextInt(2) == 0 ? new WorldGenShrub(JUNGLE_LOG, OAK_LEAF) : (!this.isEdge && rand.nextInt(3) == 0 ? new WorldGenMegaJungle(false, 10, 20, JUNGLE_LOG, JUNGLE_LEAF) : new WorldGenTrees(false, 4 + rand.nextInt(7), JUNGLE_LOG, JUNGLE_LEAF, true))));
}
项目:CustomWorldGen    文件:BiomeJungle.java   
public WorldGenAbstractTree genBigTreeChance(Random rand)
{
    return (WorldGenAbstractTree)(rand.nextInt(10) == 0 ? BIG_TREE_FEATURE : (rand.nextInt(2) == 0 ? new WorldGenShrub(JUNGLE_LOG, OAK_LEAF) : (!this.isEdge && rand.nextInt(3) == 0 ? new WorldGenMegaJungle(false, 10, 20, JUNGLE_LOG, JUNGLE_LEAF) : new WorldGenTrees(false, 4 + rand.nextInt(7), JUNGLE_LOG, JUNGLE_LEAF, true))));
}
项目:Resilience-Client-Source    文件:BiomeGenJungle.java   
public WorldGenAbstractTree func_150567_a(Random p_150567_1_)
{
    return (WorldGenAbstractTree)(p_150567_1_.nextInt(10) == 0 ? this.worldGeneratorBigTree : (p_150567_1_.nextInt(2) == 0 ? new WorldGenShrub(3, 0) : (!this.field_150614_aC && p_150567_1_.nextInt(3) == 0 ? new WorldGenMegaJungle(false, 10, 20, 3, 3) : new WorldGenTrees(false, 4 + p_150567_1_.nextInt(7), 3, 3, true))));
}
项目:AdvancedRocketry    文件:BiomeGenOceanSpires.java   
public WorldGenAbstractTree func_150567_a(Random rand) {
    return new WorldGenShrub(3, 0);
}
项目:AdvancedRocketry    文件:BiomeGenMarsh.java   
public WorldGenAbstractTree func_150567_a(Random p_150567_1_)
{
    return new WorldGenShrub(3, 0);
}
项目:ZeroQuest    文件:BiomeGenNileJungle.java   
public WorldGenAbstractTree func_150567_a(Random p_150567_1_)
{
    return (WorldGenAbstractTree)(p_150567_1_.nextInt(10) == 0 ? this.worldGeneratorBigTree : (p_150567_1_.nextInt(2) == 0 ? new WorldGenShrub(3, 0) : (!this.field_150614_aC && p_150567_1_.nextInt(3) == 0 ? new WorldGenMegaJungle(false, 10, 20, 3, 3) : new WorldGenTrees(false, 4 + p_150567_1_.nextInt(7), 3, 3, true))));
}
项目:ZeroQuest    文件:BiomeGenNileJungle.java   
public WorldGenAbstractTree genBigTreeChance(Random p_150567_1_)
{
    return (WorldGenAbstractTree)(p_150567_1_.nextInt(10) == 0 ? this.worldGeneratorBigTree : (p_150567_1_.nextInt(2) == 0 ? new WorldGenShrub(BlockPlanks.EnumType.JUNGLE.getMetadata(), BlockPlanks.EnumType.OAK.getMetadata()) : (!this.field_150614_aC && p_150567_1_.nextInt(3) == 0 ? new WorldGenMegaJungle(false, 10, 20, BlockPlanks.EnumType.JUNGLE.getMetadata(), BlockPlanks.EnumType.JUNGLE.getMetadata()) : new WorldGenTrees(false, 4 + p_150567_1_.nextInt(7), BlockPlanks.EnumType.JUNGLE.getMetadata(), BlockPlanks.EnumType.JUNGLE.getMetadata(), true))));
}
项目:Cauldron    文件:BiomeGenJungle.java   
public WorldGenAbstractTree func_150567_a(Random p_150567_1_)
{
    return (WorldGenAbstractTree)(p_150567_1_.nextInt(10) == 0 ? this.worldGeneratorBigTree : (p_150567_1_.nextInt(2) == 0 ? new WorldGenShrub(3, 0) : (!this.field_150614_aC && p_150567_1_.nextInt(3) == 0 ? new WorldGenMegaJungle(false, 10, 20, 3, 3) : new WorldGenTrees(false, 4 + p_150567_1_.nextInt(7), 3, 3, true))));
}
项目:Cauldron    文件:BiomeGenJungle.java   
public WorldGenAbstractTree func_150567_a(Random p_150567_1_)
{
    return (WorldGenAbstractTree)(p_150567_1_.nextInt(10) == 0 ? this.worldGeneratorBigTree : (p_150567_1_.nextInt(2) == 0 ? new WorldGenShrub(3, 0) : (!this.field_150614_aC && p_150567_1_.nextInt(3) == 0 ? new WorldGenMegaJungle(false, 10, 20, 3, 3) : new WorldGenTrees(false, 4 + p_150567_1_.nextInt(7), 3, 3, true))));
}
项目: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))));
}
项目:JLPModJam    文件:BiomeGenLushHills.java   
/**
 * Gets a WorldGen appropriate for this biome. Use this method to add World Gen items to certain Biomes.
 */
public WorldGenerator getRandomWorldGenForTrees(Random par1Random)
{
    return (WorldGenerator)(par1Random.nextInt(10) == 4 ? new WorldGenBigSparklingTree(false) : (par1Random.nextInt(2) == 0 ? new WorldGenShrub(3, 0) : (par1Random.nextInt(3) == 0 ? new WorldGenBrilliantTrees(false) : new WorldGenBigSparklingTree(true))));
}
项目:JLPModJam    文件:BiomeGenTreacherousHills.java   
/**
 * Gets a WorldGen appropriate for this biome. Use this method to add World Gen items to certain Biomes.
 */
public WorldGenerator getRandomWorldGenForTrees(Random par1Random)
{
    return (WorldGenerator)(par1Random.nextInt(10) == 4 ? this.worldGeneratorAshTrees : (par1Random.nextInt(2) == 0 ? new WorldGenShrub(3, 0) : (par1Random.nextInt(3) == 0 ? new WorldGenAshTrees(false) : new WorldGenInfernalTrees(true))));
}