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


Java WorldGenCactus类代码示例

本文整理汇总了Java中net.minecraft.world.gen.feature.WorldGenCactus的典型用法代码示例。如果您正苦于以下问题:Java WorldGenCactus类的具体用法?Java WorldGenCactus怎么用?Java WorldGenCactus使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。


WorldGenCactus类属于net.minecraft.world.gen.feature包,在下文中一共展示了WorldGenCactus类的4个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: BiomeDecorator

import net.minecraft.world.gen.feature.WorldGenCactus; //导入依赖的package包/类
public BiomeDecorator()
{
    this.sandGen = new WorldGenSand(Blocks.sand, 7);
    this.gravelAsSandGen = new WorldGenSand(Blocks.gravel, 6);
    this.dirtGen = new WorldGenMinable(Blocks.dirt, 32);
    this.gravelGen = new WorldGenMinable(Blocks.gravel, 32);
    this.coalGen = new WorldGenMinable(Blocks.coal_ore, 16);
    this.ironGen = new WorldGenMinable(Blocks.iron_ore, 8);
    this.goldGen = new WorldGenMinable(Blocks.gold_ore, 8);
    this.redstoneGen = new WorldGenMinable(Blocks.redstone_ore, 7);
    this.diamondGen = new WorldGenMinable(Blocks.diamond_ore, 7);
    this.lapisGen = new WorldGenMinable(Blocks.lapis_ore, 6);
    this.field_150514_p = new WorldGenFlowers(Blocks.yellow_flower);
    this.mushroomBrownGen = new WorldGenFlowers(Blocks.brown_mushroom);
    this.mushroomRedGen = new WorldGenFlowers(Blocks.red_mushroom);
    this.bigMushroomGen = new WorldGenBigMushroom();
    this.reedGen = new WorldGenReed();
    this.cactusGen = new WorldGenCactus();
    this.waterlilyGen = new WorldGenWaterlily();
    this.flowersPerChunk = 2;
    this.grassPerChunk = 1;
    this.sandPerChunk = 1;
    this.sandPerChunk2 = 3;
    this.clayPerChunk = 1;
    this.generateLakes = true;
}
 
开发者ID:MinecraftModdedClients,项目名称:Resilience-Client-Source,代码行数:27,代码来源:BiomeDecorator.java

示例2: BiomeDecorator

import net.minecraft.world.gen.feature.WorldGenCactus; //导入依赖的package包/类
public BiomeDecorator()
{
    this.sandGen = new WorldGenSand(Blocks.sand, 7);
    this.gravelAsSandGen = new WorldGenSand(Blocks.gravel, 6);
    this.dirtGen = new WorldGenMinable(Blocks.dirt, 32);
    this.gravelGen = new WorldGenMinable(Blocks.gravel, 32);
    this.coalGen = new WorldGenMinable(Blocks.coal_ore, 16);
    this.ironGen = new WorldGenMinable(Blocks.iron_ore, 8);
    this.goldGen = new WorldGenMinable(Blocks.gold_ore, 8);
    this.redstoneGen = new WorldGenMinable(Blocks.redstone_ore, 7);
    this.diamondGen = new WorldGenMinable(Blocks.diamond_ore, 7);
    this.lapisGen = new WorldGenMinable(Blocks.lapis_ore, 6);
    this.yellowFlowerGen = new WorldGenFlowers(Blocks.yellow_flower);
    this.mushroomBrownGen = new WorldGenFlowers(Blocks.brown_mushroom);
    this.mushroomRedGen = new WorldGenFlowers(Blocks.red_mushroom);
    this.bigMushroomGen = new WorldGenBigMushroom();
    this.reedGen = new WorldGenReed();
    this.cactusGen = new WorldGenCactus();
    this.waterlilyGen = new WorldGenWaterlily();
    this.flowersPerChunk = 2;
    this.grassPerChunk = 1;
    this.sandPerChunk = 1;
    this.sandPerChunk2 = 3;
    this.clayPerChunk = 1;
    this.generateLakes = true;
}
 
开发者ID:xtrafrancyz,项目名称:Cauldron,代码行数:27,代码来源:BiomeDecorator.java

示例3: BiomeDecorator

import net.minecraft.world.gen.feature.WorldGenCactus; //导入依赖的package包/类
public BiomeDecorator(BiomeGenBase p_i1974_1_) {
   this.field_76810_g = new WorldGenSand(7, Block.field_71939_E.field_71990_ca);
   this.field_76822_h = new WorldGenSand(6, Block.field_71940_F.field_71990_ca);
   this.field_76823_i = new WorldGenMinable(Block.field_71979_v.field_71990_ca, 32);
   this.field_76820_j = new WorldGenMinable(Block.field_71940_F.field_71990_ca, 32);
   this.field_76821_k = new WorldGenMinable(Block.field_71950_I.field_71990_ca, 16);
   this.field_76818_l = new WorldGenMinable(Block.field_71949_H.field_71990_ca, 8);
   this.field_76819_m = new WorldGenMinable(Block.field_71941_G.field_71990_ca, 8);
   this.field_76816_n = new WorldGenMinable(Block.field_72047_aN.field_71990_ca, 7);
   this.field_76817_o = new WorldGenMinable(Block.field_72073_aw.field_71990_ca, 7);
   this.field_76831_p = new WorldGenMinable(Block.field_71947_N.field_71990_ca, 6);
   this.field_76830_q = new WorldGenFlowers(Block.field_72097_ad.field_71990_ca);
   this.field_76829_r = new WorldGenFlowers(Block.field_72107_ae.field_71990_ca);
   this.field_76828_s = new WorldGenFlowers(Block.field_72109_af.field_71990_ca);
   this.field_76827_t = new WorldGenFlowers(Block.field_72103_ag.field_71990_ca);
   this.field_76826_u = new WorldGenBigMushroom();
   this.field_76825_v = new WorldGenReed();
   this.field_76824_w = new WorldGenCactus();
   this.field_76834_x = new WorldGenWaterlily();
   this.field_76802_A = 2;
   this.field_76803_B = 1;
   this.field_76801_G = 1;
   this.field_76805_H = 3;
   this.field_76806_I = 1;
   this.field_76808_K = true;
   this.field_76812_e = p_i1974_1_;
}
 
开发者ID:HATB0T,项目名称:RuneCraftery,代码行数:28,代码来源:BiomeDecorator.java

示例4: BiomeDecorator

import net.minecraft.world.gen.feature.WorldGenCactus; //导入依赖的package包/类
public BiomeDecorator(BiomeGenBase par1BiomeGenBase)
{
    this.sandGen = new WorldGenSand(7, Block.sand.blockID);
    this.gravelAsSandGen = new WorldGenSand(6, Block.gravel.blockID);
    this.dirtGen = new WorldGenMinable(Block.dirt.blockID, 32);
    this.gravelGen = new WorldGenMinable(Block.gravel.blockID, 32);
    this.coalGen = new WorldGenMinable(Block.oreCoal.blockID, 16);
    this.ironGen = new WorldGenMinable(Block.oreIron.blockID, 8);
    this.goldGen = new WorldGenMinable(Block.oreGold.blockID, 8);
    this.redstoneGen = new WorldGenMinable(Block.oreRedstone.blockID, 7);
    this.diamondGen = new WorldGenMinable(Block.oreDiamond.blockID, 7);
    this.lapisGen = new WorldGenMinable(Block.oreLapis.blockID, 6);
    this.plantYellowGen = new WorldGenFlowers(Block.plantYellow.blockID);
    this.plantRedGen = new WorldGenFlowers(Block.plantRed.blockID);
    this.mushroomBrownGen = new WorldGenFlowers(Block.mushroomBrown.blockID);
    this.mushroomRedGen = new WorldGenFlowers(Block.mushroomRed.blockID);
    this.bigMushroomGen = new WorldGenBigMushroom();
    this.reedGen = new WorldGenReed();
    this.cactusGen = new WorldGenCactus();
    this.waterlilyGen = new WorldGenWaterlily();
    this.flowersPerChunk = 2;
    this.grassPerChunk = 1;
    this.sandPerChunk = 1;
    this.sandPerChunk2 = 3;
    this.clayPerChunk = 1;
    this.generateLakes = true;
    this.biome = par1BiomeGenBase;
}
 
开发者ID:HATB0T,项目名称:RuneCraftery,代码行数:29,代码来源:BiomeDecorator.java


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