本文整理汇总了Java中net.minecraft.world.gen.feature.WorldGenSwamp类的典型用法代码示例。如果您正苦于以下问题:Java WorldGenSwamp类的具体用法?Java WorldGenSwamp怎么用?Java WorldGenSwamp使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
WorldGenSwamp类属于net.minecraft.world.gen.feature包,在下文中一共展示了WorldGenSwamp类的5个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: BiomeGenBase
import net.minecraft.world.gen.feature.WorldGenSwamp; //导入依赖的package包/类
protected BiomeGenBase(int id)
{
this.minHeight = height_Default.rootHeight;
this.maxHeight = height_Default.variation;
this.temperature = 0.5F;
this.rainfall = 0.5F;
this.waterColorMultiplier = 16777215;
this.spawnableMonsterList = Lists.<BiomeGenBase.SpawnListEntry>newArrayList();
this.spawnableCreatureList = Lists.<BiomeGenBase.SpawnListEntry>newArrayList();
this.spawnableWaterCreatureList = Lists.<BiomeGenBase.SpawnListEntry>newArrayList();
this.spawnableCaveCreatureList = Lists.<BiomeGenBase.SpawnListEntry>newArrayList();
this.enableRain = true;
this.worldGeneratorTrees = new WorldGenTrees(false);
this.worldGeneratorBigTree = new WorldGenBigTree(false);
this.worldGeneratorSwamp = new WorldGenSwamp();
this.biomeID = id;
biomeList[id] = this;
this.theBiomeDecorator = this.createBiomeDecorator();
this.spawnableCreatureList.add(new BiomeGenBase.SpawnListEntry(EntitySheep.class, 12, 4, 4));
this.spawnableCreatureList.add(new BiomeGenBase.SpawnListEntry(EntityRabbit.class, 10, 3, 3));
this.spawnableCreatureList.add(new BiomeGenBase.SpawnListEntry(EntityPig.class, 10, 4, 4));
this.spawnableCreatureList.add(new BiomeGenBase.SpawnListEntry(EntityChicken.class, 10, 4, 4));
this.spawnableCreatureList.add(new BiomeGenBase.SpawnListEntry(EntityCow.class, 8, 4, 4));
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(EntityCreeper.class, 100, 4, 4));
this.spawnableMonsterList.add(new BiomeGenBase.SpawnListEntry(EntitySlime.class, 100, 4, 4));
this.spawnableMonsterList.add(new BiomeGenBase.SpawnListEntry(EntityEnderman.class, 10, 1, 4));
this.spawnableMonsterList.add(new BiomeGenBase.SpawnListEntry(EntityWitch.class, 5, 1, 1));
this.spawnableWaterCreatureList.add(new BiomeGenBase.SpawnListEntry(EntitySquid.class, 10, 4, 4));
this.spawnableCaveCreatureList.add(new BiomeGenBase.SpawnListEntry(EntityBat.class, 10, 8, 8));
}
示例2: BiomeGenBase
import net.minecraft.world.gen.feature.WorldGenSwamp; //导入依赖的package包/类
protected BiomeGenBase(int par1)
{
this.topBlock = Blocks.grass;
this.field_150604_aj = 0;
this.fillerBlock = Blocks.dirt;
this.field_76754_C = 5169201;
this.minHeight = field_150596_a.field_150777_a;
this.maxHeight = field_150596_a.field_150776_b;
this.temperature = 0.5F;
this.rainfall = 0.5F;
this.waterColorMultiplier = 16777215;
this.spawnableMonsterList = new ArrayList();
this.spawnableCreatureList = new ArrayList();
this.spawnableWaterCreatureList = new ArrayList();
this.spawnableCaveCreatureList = new ArrayList();
this.enableRain = true;
this.worldGeneratorTrees = new WorldGenTrees(false);
this.worldGeneratorBigTree = new WorldGenBigTree(false);
this.worldGeneratorSwamp = new WorldGenSwamp();
this.biomeID = par1;
biomeList[par1] = this;
this.theBiomeDecorator = this.createBiomeDecorator();
this.spawnableCreatureList.add(new BiomeGenBase.SpawnListEntry(EntitySheep.class, 12, 4, 4));
this.spawnableCreatureList.add(new BiomeGenBase.SpawnListEntry(EntityPig.class, 10, 4, 4));
this.spawnableCreatureList.add(new BiomeGenBase.SpawnListEntry(EntityChicken.class, 10, 4, 4));
this.spawnableCreatureList.add(new BiomeGenBase.SpawnListEntry(EntityCow.class, 8, 4, 4));
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(EntityCreeper.class, 100, 4, 4));
this.spawnableMonsterList.add(new BiomeGenBase.SpawnListEntry(EntitySlime.class, 100, 4, 4));
this.spawnableMonsterList.add(new BiomeGenBase.SpawnListEntry(EntityEnderman.class, 10, 1, 4));
this.spawnableMonsterList.add(new BiomeGenBase.SpawnListEntry(EntityWitch.class, 5, 1, 1));
this.spawnableWaterCreatureList.add(new BiomeGenBase.SpawnListEntry(EntitySquid.class, 10, 4, 4));
this.spawnableCaveCreatureList.add(new BiomeGenBase.SpawnListEntry(EntityBat.class, 10, 8, 8));
}
示例3: BiomeGenBase
import net.minecraft.world.gen.feature.WorldGenSwamp; //导入依赖的package包/类
public BiomeGenBase(int p_i1971_1_, boolean register)
{
this.topBlock = Blocks.grass;
this.field_150604_aj = 0;
this.fillerBlock = Blocks.dirt;
this.field_76754_C = 5169201;
this.rootHeight = height_Default.rootHeight;
this.heightVariation = height_Default.variation;
this.temperature = 0.5F;
this.rainfall = 0.5F;
this.waterColorMultiplier = 16777215;
this.spawnableMonsterList = new ArrayList();
this.spawnableCreatureList = new ArrayList();
this.spawnableWaterCreatureList = new ArrayList();
this.spawnableCaveCreatureList = new ArrayList();
this.enableRain = true;
this.worldGeneratorTrees = new WorldGenTrees(false);
this.worldGeneratorBigTree = new WorldGenBigTree(false);
this.worldGeneratorSwamp = new WorldGenSwamp();
this.biomeID = p_i1971_1_;
if (register)
biomeList[p_i1971_1_] = this;
this.theBiomeDecorator = this.createBiomeDecorator();
this.spawnableCreatureList.add(new BiomeGenBase.SpawnListEntry(EntitySheep.class, 12, 4, 4));
this.spawnableCreatureList.add(new BiomeGenBase.SpawnListEntry(EntityPig.class, 10, 4, 4));
this.spawnableCreatureList.add(new BiomeGenBase.SpawnListEntry(EntityChicken.class, 10, 4, 4));
this.spawnableCreatureList.add(new BiomeGenBase.SpawnListEntry(EntityCow.class, 8, 4, 4));
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(EntityCreeper.class, 100, 4, 4));
this.spawnableMonsterList.add(new BiomeGenBase.SpawnListEntry(EntitySlime.class, 100, 4, 4));
this.spawnableMonsterList.add(new BiomeGenBase.SpawnListEntry(EntityEnderman.class, 10, 1, 4));
this.spawnableMonsterList.add(new BiomeGenBase.SpawnListEntry(EntityWitch.class, 5, 1, 1));
this.spawnableWaterCreatureList.add(new BiomeGenBase.SpawnListEntry(EntitySquid.class, 10, 4, 4));
this.spawnableCaveCreatureList.add(new BiomeGenBase.SpawnListEntry(EntityBat.class, 10, 8, 8));
this.addDefaultFlowers();
}
示例4: BiomeGenBase
import net.minecraft.world.gen.feature.WorldGenSwamp; //导入依赖的package包/类
public BiomeGenBase(int p_i1971_1_) {
this.field_76752_A = (byte)Block.field_71980_u.field_71990_ca;
this.field_76753_B = (byte)Block.field_71979_v.field_71990_ca;
this.field_76754_C = 5169201;
this.field_76748_D = 0.1F;
this.field_76749_E = 0.3F;
this.field_76750_F = 0.5F;
this.field_76751_G = 0.5F;
this.field_76759_H = 16777215;
this.field_76761_J = new ArrayList();
this.field_76762_K = new ArrayList();
this.field_76755_L = new ArrayList();
this.field_82914_M = new ArrayList();
this.field_76765_S = true;
this.field_76757_N = new WorldGenTrees(false);
this.field_76758_O = new WorldGenBigTree(false);
this.field_76764_P = new WorldGenForest(false);
this.field_76763_Q = new WorldGenSwamp();
this.field_76756_M = p_i1971_1_;
field_76773_a[p_i1971_1_] = this;
this.field_76760_I = this.func_76729_a();
this.field_76762_K.add(new SpawnListEntry(EntitySheep.class, 12, 4, 4));
this.field_76762_K.add(new SpawnListEntry(EntityPig.class, 10, 4, 4));
this.field_76762_K.add(new SpawnListEntry(EntityChicken.class, 10, 4, 4));
this.field_76762_K.add(new SpawnListEntry(EntityCow.class, 8, 4, 4));
this.field_76761_J.add(new SpawnListEntry(EntitySpider.class, 10, 4, 4));
this.field_76761_J.add(new SpawnListEntry(EntityZombie.class, 10, 4, 4));
this.field_76761_J.add(new SpawnListEntry(EntitySkeleton.class, 10, 4, 4));
this.field_76761_J.add(new SpawnListEntry(EntityCreeper.class, 10, 4, 4));
this.field_76761_J.add(new SpawnListEntry(EntitySlime.class, 10, 4, 4));
this.field_76761_J.add(new SpawnListEntry(EntityEnderman.class, 1, 1, 4));
this.field_76755_L.add(new SpawnListEntry(EntitySquid.class, 10, 4, 4));
this.field_82914_M.add(new SpawnListEntry(EntityBat.class, 10, 8, 8));
}
示例5: BiomeGenBase
import net.minecraft.world.gen.feature.WorldGenSwamp; //导入依赖的package包/类
public BiomeGenBase(int par1, boolean register)
{
this.topBlock = (byte)Block.grass.blockID;
this.fillerBlock = (byte)Block.dirt.blockID;
this.field_76754_C = 5169201;
this.minHeight = 0.1F;
this.maxHeight = 0.3F;
this.temperature = 0.5F;
this.rainfall = 0.5F;
this.waterColorMultiplier = 16777215;
this.spawnableMonsterList = new ArrayList();
this.spawnableCreatureList = new ArrayList();
this.spawnableWaterCreatureList = new ArrayList();
this.spawnableCaveCreatureList = new ArrayList();
this.enableRain = true;
this.worldGeneratorTrees = new WorldGenTrees(false);
this.worldGeneratorBigTree = new WorldGenBigTree(false);
this.worldGeneratorForest = new WorldGenForest(false);
this.worldGeneratorSwamp = new WorldGenSwamp();
this.biomeID = par1;
if (register)
biomeList[par1] = this;
this.theBiomeDecorator = this.createBiomeDecorator();
this.spawnableCreatureList.add(new SpawnListEntry(EntitySheep.class, 12, 4, 4));
this.spawnableCreatureList.add(new SpawnListEntry(EntityPig.class, 10, 4, 4));
this.spawnableCreatureList.add(new SpawnListEntry(EntityChicken.class, 10, 4, 4));
this.spawnableCreatureList.add(new SpawnListEntry(EntityCow.class, 8, 4, 4));
this.spawnableMonsterList.add(new SpawnListEntry(EntitySpider.class, 10, 4, 4));
this.spawnableMonsterList.add(new SpawnListEntry(EntityZombie.class, 10, 4, 4));
this.spawnableMonsterList.add(new SpawnListEntry(EntitySkeleton.class, 10, 4, 4));
this.spawnableMonsterList.add(new SpawnListEntry(EntityCreeper.class, 10, 4, 4));
this.spawnableMonsterList.add(new SpawnListEntry(EntitySlime.class, 10, 4, 4));
this.spawnableMonsterList.add(new SpawnListEntry(EntityEnderman.class, 1, 1, 4));
this.spawnableWaterCreatureList.add(new SpawnListEntry(EntitySquid.class, 10, 4, 4));
this.spawnableCaveCreatureList.add(new SpawnListEntry(EntityBat.class, 10, 8, 8));
}