setBaseAmount(1); $deadBush->setRandomAmount(2); $cactus = new CactusPopulator (); $cactus->setBaseAmount(1); $cactus->setRandomAmount(2); $sugarCane = new SugarCanePopulator (); $sugarCane->setRandomAmount(20); $sugarCane->setBaseAmount(3); $temple = new TemplePopulator (); $well = new WellPopulator (); if(!\Ad5001\BetterGen\utils\CommonUtils::in_arrayi("Cactus", BetterNormal::$options["delStruct"])) $this->addPopulator($cactus); if(!\Ad5001\BetterGen\utils\CommonUtils::in_arrayi("Deadbush", BetterNormal::$options["delStruct"])) $this->addPopulator($deadBush); if(!\Ad5001\BetterGen\utils\CommonUtils::in_arrayi("SugarCane", BetterNormal::$options["delStruct"])) $this->addPopulator($sugarCane); if(!\Ad5001\BetterGen\utils\CommonUtils::in_arrayi("Temples", BetterNormal::$options["delStruct"])) $this->addPopulator($temple); if(!\Ad5001\BetterGen\utils\CommonUtils::in_arrayi("Wells", BetterNormal::$options["delStruct"])) $this->addPopulator($well); $this->setElevation(63, 70); // $this->setElevation(66, 70); $this->temperature = 0.5; $this->rainfall = 0; $this->setGroundCover([ Block::get(Block::SAND, 0), Block::get(Block::SAND, 0), Block::get(Block::SAND, 0), Block::get(Block::SAND, 0), Block::get(Block::SANDSTONE, 0), Block::get(Block::SANDSTONE, 0), Block::get(Block::SANDSTONE, 0), Block::get(Block::SANDSTONE, 0), Block::get(Block::SANDSTONE, 0), Block::get(Block::SANDSTONE, 0), Block::get(Block::SANDSTONE, 0), Block::get(Block::SANDSTONE, 0), Block::get(Block::SANDSTONE, 0), Block::get(Block::SANDSTONE, 0), Block::get(Block::SANDSTONE, 0), Block::get(Block::SANDSTONE, 0), Block::get(Block::SANDSTONE, 0) ]); } public function getName(): string { return "BetterDesert"; } /* * Returns biome id */ public function getId() { return Biome::DESERT; } }