当前位置: 首页>>代码示例>>Java>>正文


Java WorldGenTaiga2类代码示例

本文整理汇总了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;
    }
}
 
开发者ID:MinecraftModdedClients,项目名称:Resilience-Client-Source,代码行数:17,代码来源:BiomeGenHills.java

示例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;
    }
}
 
开发者ID:NovaViper,项目名称:ZeroQuest,代码行数:22,代码来源:BiomeGenNileMountains.java

示例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;
    }
}
 
开发者ID:NovaViper,项目名称:ZeroQuest,代码行数:17,代码来源:BiomeGenNileMountains.java

示例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;
    }
}
 
开发者ID:xtrafrancyz,项目名称:Cauldron,代码行数:17,代码来源:BiomeGenHills.java

示例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");
}
 
开发者ID:MadPC,项目名称:Coffee,代码行数:16,代码来源:BiomeGenCoffee.java

示例6: genBigTreeChance

import net.minecraft.world.gen.feature.WorldGenTaiga2; //导入依赖的package包/类
public WorldGenAbstractTree genBigTreeChance(Random rand)
{
    return new WorldGenTaiga2(false);
}
 
开发者ID:Notoh,项目名称:DecompiledMinecraft,代码行数:5,代码来源:BiomeGenSnow.java

示例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);
}
 
开发者ID:MinecraftModdedClients,项目名称:Resilience-Client-Source,代码行数:5,代码来源:BiomeGenSnow.java

示例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));
}
 
开发者ID:MinecraftModArchive,项目名称:Runes-And-Silver,代码行数:5,代码来源:SnowBiome.java

示例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));
}
 
开发者ID:HATB0T,项目名称:RuneCraftery,代码行数:4,代码来源:BiomeGenTaiga.java

示例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));
}
 
开发者ID:HATB0T,项目名称:RuneCraftery,代码行数:8,代码来源:BiomeGenTaiga.java


注:本文中的net.minecraft.world.gen.feature.WorldGenTaiga2类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。