コード例 #1
0
 public BiomeGenBog(int par1) {
   super(par1);
   spawnableCreatureList.clear();
   spawnableWaterCreatureList.clear();
   theBiomeDecorator = new BiomeDecoratorBOP(this);
   customBiomeDecorator = (BiomeDecoratorBOP) theBiomeDecorator;
   customBiomeDecorator.treesPerChunk = 12;
   customBiomeDecorator.flowersPerChunk = -999;
   customBiomeDecorator.mushroomsPerChunk = 8;
   customBiomeDecorator.grassPerChunk = 5;
   customBiomeDecorator.bushesPerChunk = 6;
   customBiomeDecorator.mudPerChunk = 2;
   customBiomeDecorator.mudPerChunk2 = 2;
   customBiomeDecorator.sandPerChunk = -999;
   customBiomeDecorator.sandPerChunk2 = -999;
   customBiomeDecorator.algaePerChunk = 2;
   customBiomeDecorator.waterlilyPerChunk = 4;
   customBiomeDecorator.reedsBOPPerChunk = 8;
   customBiomeDecorator.blueMilksPerChunk = 1;
   customBiomeDecorator.waterLakesPerChunk = 6;
   customBiomeDecorator.wheatGrassPerChunk = 3;
   customBiomeDecorator.poisonWaterPerChunk = 2;
   customBiomeDecorator.waterReedsPerChunk = 8;
   customBiomeDecorator.shrubsPerChunk = 10;
   customBiomeDecorator.generatePumpkins = false;
 }
コード例 #2
0
 public BiomeGenMoor(int par1) {
   super(par1);
   spawnableCreatureList.clear();
   spawnableWaterCreatureList.clear();
   theBiomeDecorator = new BiomeDecoratorBOP(this);
   customBiomeDecorator = (BiomeDecoratorBOP) theBiomeDecorator;
   customBiomeDecorator.treesPerChunk = -999;
   customBiomeDecorator.flowersPerChunk = -999;
   customBiomeDecorator.grassPerChunk = 15;
   customBiomeDecorator.sandPerChunk = -999;
   customBiomeDecorator.sandPerChunk2 = -999;
   customBiomeDecorator.mudPerChunk = 1;
   customBiomeDecorator.mudPerChunk2 = 1;
   customBiomeDecorator.waterLakesPerChunk = 10;
   waterColorMultiplier = 5800566;
   customBiomeDecorator.generatePumpkins = false;
 }