Browse Source

Removing lakes

tags/1.0
Ad5001 3 years ago
parent
commit
4ef639fc80
3 changed files with 8 additions and 8 deletions
  1. +2
    -4
      README.md
  2. BIN
      imgs/lake.png
  3. +6
    -4
      src/Ad5001/BetterGen/generator/BetterNormal.php

+ 2
- 4
README.md View File

@@ -8,11 +8,9 @@ Welcome user to the home of a new PocketMine World Generator which features 9 ne
<img src="https://raw.githubusercontent.com/Ad5001/BetterGen/master/imgs/Mineshaft.jpg" style="width: 500px"></img>
2. <h3>Ravines:</h3>
<img src="https://raw.githubusercontent.com/Ad5001/BetterGen/master/imgs/MesaRavine.jpg" style="width: 500px"></img>
3. <h3>Lakes:</h3>
<img src="https://raw.githubusercontent.com/Ad5001/BetterGen/master/imgs/lake.png" style="width: 500px"></img>
4. <h3>Caves:</h3>
3. <h3>Caves:</h3>
<img src="https://raw.githubusercontent.com/Ad5001/BetterGen/master/imgs/cave.jpg" style="width: 500px"></img>
5. <h3>Floating islands:</h3>
4. <h3>Floating islands:</h3>
<img src="https://raw.githubusercontent.com/Ad5001/BetterGen/master/imgs/Island.jpg" style="width: 500px"></img>




BIN
imgs/lake.png View File

Before After
Width: 2048  |  Height: 1536  |  Size: 1.1 MiB

+ 6
- 4
src/Ad5001/BetterGen/generator/BetterNormal.php View File

@@ -154,10 +154,12 @@ class BetterNormal extends Generator {
$mineshaft->setRandomAmount(102);
$this->populators [] = $mineshaft;
$lake = new LakePopulator ();
$lake->setBaseAmount(0);
$lake->setRandomAmount(1);
$this->generationPopulators [] = $lake;
// https://twitter.com/Ad5001P4F/status/859430935468670976
// $lake = new LakePopulator ();
// $lake->setBaseAmount(0);
// $lake->setRandomAmount(1);
// $this->generationPopulators [] = $lake;

$fisl = new FloatingIslandPopulator();
$fisl->setBaseAmount(0);


Loading…
Cancel
Save