本文整理汇总了Java中net.minecraft.world.gen.feature.WorldGenTaiga2类的典型用法代码示例。如果您正苦于以下问题:Java WorldGenTaiga2类的具体用法?Java WorldGenTaiga2怎么用?Java WorldGenTaiga2使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
WorldGenTaiga2类属于net.minecraft.world.gen.feature包,在下文中一共展示了WorldGenTaiga2类的10个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: BiomeGenHills
import net.minecraft.world.gen.feature.WorldGenTaiga2; //导入依赖的package包/类
protected BiomeGenHills(int p_i45373_1_, boolean p_i45373_2_)
{
super(p_i45373_1_);
this.theWorldGenerator = new WorldGenMinable(Blocks.monster_egg, 8);
this.field_150634_aD = new WorldGenTaiga2(false);
this.field_150635_aE = 0;
this.field_150636_aF = 1;
this.field_150637_aG = 2;
this.field_150638_aH = this.field_150635_aE;
if (p_i45373_2_)
{
this.theBiomeDecorator.treesPerChunk = 3;
this.field_150638_aH = this.field_150636_aF;
}
}
示例2: BiomeGenNileMountains
import net.minecraft.world.gen.feature.WorldGenTaiga2; //导入依赖的package包/类
public BiomeGenNileMountains(int p_i45373_1_, boolean p_i45373_2_)
{
super(p_i45373_1_);
this.theWorldGenerator = new WorldGenMinable(Blocks.monster_egg, 8);
this.field_150634_aD = new WorldGenTaiga2(false);
this.field_150635_aE = 0;
this.field_150636_aF = 1;
this.field_150637_aG = 2;
this.field_150638_aH = this.field_150635_aE;
this.spawnableMonsterList.clear();
this.spawnableMonsterList.add(new BiomeGenBase.SpawnListEntry(EntitySpider.class, 100, 4, 4));
this.spawnableMonsterList.add(new BiomeGenBase.SpawnListEntry(EntityZombie.class, 100, 4, 4));
this.spawnableMonsterList.add(new BiomeGenBase.SpawnListEntry(EntitySkeleton.class, 100, 4, 4));
this.spawnableMonsterList.add(new BiomeGenBase.SpawnListEntry(EntitySlime.class, 100, 4, 4));
if (p_i45373_2_)
{
this.theBiomeDecorator.treesPerChunk = 3;
this.field_150638_aH = this.field_150636_aF;
}
}
示例3: BiomeGenNileMountains
import net.minecraft.world.gen.feature.WorldGenTaiga2; //导入依赖的package包/类
public BiomeGenNileMountains(int p_i45373_1_, boolean p_i45373_2_)
{
super(p_i45373_1_);
this.theWorldGenerator = new WorldGenMinable(Blocks.monster_egg.getDefaultState().withProperty(BlockSilverfish.VARIANT, BlockSilverfish.EnumType.STONE), 9);
this.field_150634_aD = new WorldGenTaiga2(false);
this.field_150635_aE = 0;
this.field_150636_aF = 1;
this.field_150637_aG = 2;
this.field_150638_aH = this.field_150635_aE;
if (p_i45373_2_)
{
this.theBiomeDecorator.treesPerChunk = 3;
this.field_150638_aH = this.field_150636_aF;
}
}
示例4: BiomeGenHills
import net.minecraft.world.gen.feature.WorldGenTaiga2; //导入依赖的package包/类
public BiomeGenHills(int p_i45373_1_, boolean p_i45373_2_)
{
super(p_i45373_1_);
this.theWorldGenerator = new WorldGenMinable(Blocks.monster_egg, 8);
this.field_150634_aD = new WorldGenTaiga2(false);
this.field_150635_aE = 0;
this.field_150636_aF = 1;
this.field_150637_aG = 2;
this.field_150638_aH = this.field_150635_aE;
if (p_i45373_2_)
{
this.theBiomeDecorator.treesPerChunk = 3;
this.field_150638_aH = this.field_150636_aF;
}
}
示例5: BiomeGenCoffee
import net.minecraft.world.gen.feature.WorldGenTaiga2; //导入依赖的package包/类
public BiomeGenCoffee(int par1) {
super(par1);
this.theBiomeDecorator.treesPerChunk = 50;
this.theBiomeDecorator.grassPerChunk = 25;
this.theBiomeDecorator.flowersPerChunk = 4;
this.field_150634_aD = new WorldGenTaiga2(false);
this.waterColorMultiplier = 14745518;
this.spawnableMonsterList.clear();
this.spawnableCreatureList.clear();
this.spawnableWaterCreatureList.clear();
this.spawnableCaveCreatureList.clear();
this.setBiomeName("Coffee, Not Tea");
}
示例6: genBigTreeChance
import net.minecraft.world.gen.feature.WorldGenTaiga2; //导入依赖的package包/类
public WorldGenAbstractTree genBigTreeChance(Random rand)
{
return new WorldGenTaiga2(false);
}
示例7: func_150567_a
import net.minecraft.world.gen.feature.WorldGenTaiga2; //导入依赖的package包/类
public WorldGenAbstractTree func_150567_a(Random p_150567_1_)
{
return new WorldGenTaiga2(false);
}
示例8: getRandomWorldGenForTrees
import net.minecraft.world.gen.feature.WorldGenTaiga2; //导入依赖的package包/类
public WorldGenerator getRandomWorldGenForTrees(Random par1Random)
{
return (WorldGenerator)(par1Random.nextInt(3) == 0 ? new WorldGenTaiga1() : new WorldGenTaiga2(false));
}
示例9: func_76740_a
import net.minecraft.world.gen.feature.WorldGenTaiga2; //导入依赖的package包/类
public WorldGenerator func_76740_a(Random p_76740_1_) {
return (WorldGenerator)(p_76740_1_.nextInt(3) == 0?new WorldGenTaiga1():new WorldGenTaiga2(false));
}
示例10: getRandomWorldGenForTrees
import net.minecraft.world.gen.feature.WorldGenTaiga2; //导入依赖的package包/类
/**
* Gets a WorldGen appropriate for this biome.
*/
public WorldGenerator getRandomWorldGenForTrees(Random par1Random)
{
return (WorldGenerator)(par1Random.nextInt(3) == 0 ? new WorldGenTaiga1() : new WorldGenTaiga2(false));
}