상속: extends NormalBiome
예제 #1
0
 public function __construct()
 {
     parent::__construct();
     $sugarcane = new Sugarcane();
     $sugarcane->setBaseAmount(6);
     $tallGrass = new TallGrass();
     $tallGrass->setBaseAmount(25);
     $waterPit = new WaterPit();
     $waterPit->setBaseAmount(9999);
     $lilyPad = new LilyPad();
     $lilyPad->setBaseAmount(8);
     $flower = new Flower();
     $flower->setBaseAmount(2);
     $flower->addType([Block::DANDELION, 0]);
     $flower->addType([Block::RED_FLOWER, FlowerBlock::TYPE_POPPY]);
     $flower->addType([Block::RED_FLOWER, FlowerBlock::TYPE_AZURE_BLUET]);
     $flower->addType([Block::RED_FLOWER, FlowerBlock::TYPE_RED_TULIP]);
     $flower->addType([Block::RED_FLOWER, FlowerBlock::TYPE_ORANGE_TULIP]);
     $flower->addType([Block::RED_FLOWER, FlowerBlock::TYPE_WHITE_TULIP]);
     $flower->addType([Block::RED_FLOWER, FlowerBlock::TYPE_PINK_TULIP]);
     $flower->addType([Block::RED_FLOWER, FlowerBlock::TYPE_OXEYE_DAISY]);
     $this->addPopulator($sugarcane);
     $this->addPopulator($tallGrass);
     $this->addPopulator($flower);
     $this->addPopulator($waterPit);
     $this->addPopulator($lilyPad);
     $this->setElevation(61, 68);
     $this->temperature = 0.8;
     $this->rainfall = 0.4;
 }
예제 #2
0
 public function __construct()
 {
     parent::__construct();
     $tallGrass = new TallGrass();
     $tallGrass->setBaseAmount(5);
     $this->addPopulator($tallGrass);
     $this->setElevation(58, 62);
     $this->temperature = 0.5;
     $this->rainfall = 0.7;
 }
예제 #3
0
 public function __construct()
 {
     parent::__construct();
     $lilypad = new LilyPad();
     $lilypad->setBaseAmount(4);
     $this->addPopulator($lilypad);
     $this->setElevation(62, 63);
     $this->temperature = 0.8;
     $this->rainfall = 0.9;
 }
예제 #4
0
 public function __construct()
 {
     parent::__construct();
     $this->setGroundCover([Block::get(Block::DIRT, 0), Block::get(Block::DIRT, 0), Block::get(Block::DIRT, 0), Block::get(Block::DIRT, 0), Block::get(Block::DIRT, 0)]);
     $tallGrass = new TallGrass();
     $tallGrass->setBaseAmount(5);
     $this->addPopulator($tallGrass);
     $this->setElevation(46, 68);
     $this->temperature = 0.5;
     $this->rainfall = 0.5;
 }
예제 #5
0
 public function __construct()
 {
     parent::__construct();
     $flower = new Flower();
     $flower->setBaseAmount(8);
     $flower->addType([Block::RED_FLOWER, FlowerBlock::TYPE_BLUE_ORCHID]);
     $this->addPopulator($flower);
     $this->setElevation(62, 63);
     $this->temperature = 0.8;
     $this->rainfall = 0.9;
 }
 public function __construct()
 {
     parent::__construct();
     $trees = new Tree();
     $trees->setBaseAmount(1);
     $this->addPopulator($trees);
     $tallGrass = new TallGrass();
     $tallGrass->setBaseAmount(1);
     $this->addPopulator($tallGrass);
     //TODO: add emerald
     $this->setElevation(63, 127);
     $this->temperature = 0.4;
     $this->rainfall = 0.5;
 }
예제 #7
0
 public function __construct()
 {
     parent::__construct();
     $cactus = new Cactus();
     $cactus->setBaseAmount(6);
     $deadBush = new DeadBush();
     $deadBush->setBaseAmount(2);
     $this->addPopulator($cactus);
     $this->addPopulator($deadBush);
     $this->setElevation(63, 81);
     $this->temperature = 0.05;
     $this->rainfall = 0.8;
     $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), 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), 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 __construct()
 {
     parent::__construct();
     $sugarcane = new Sugarcane();
     $sugarcane->setBaseAmount(6);
     $tallSugarcane = new TallSugarcane();
     $tallSugarcane->setBaseAmount(60);
     $tallGrass = new TallGrass();
     $tallGrass->setBaseAmount(5);
     $this->addPopulator($sugarcane);
     $this->addPopulator($tallSugarcane);
     $this->addPopulator($tallGrass);
     $this->setElevation(46, 68);
     $this->temperature = 0.5;
     $this->rainfall = 0.5;
 }
예제 #9
0
 public function __construct()
 {
     parent::__construct();
     $tallGrass = new TallGrass();
     $tallGrass->setBaseAmount(12);
     $waterPit = new WaterPit();
     $waterPit->setBaseAmount(9999);
     $lilyPad = new LilyPad();
     $lilyPad->setBaseAmount(8);
     $this->addPopulator($tallGrass);
     $this->addPopulator($waterPit);
     $this->addPopulator($lilyPad);
     $this->setElevation(61, 68);
     $this->temperature = 0.8;
     $this->rainfall = 0.4;
 }
예제 #10
0
 public function __construct($type = self::TYPE_NORMAL)
 {
     parent::__construct();
     $this->type = $type;
     $trees = new Tree($type === self::TYPE_BIRCH ? Sapling::BIRCH : Sapling::OAK);
     $trees->setBaseAmount(5);
     $this->addPopulator($trees);
     $tallGrass = new TallGrass();
     $tallGrass->setBaseAmount(3);
     $this->addPopulator($tallGrass);
     $this->setElevation(63, 81);
     if ($type === self::TYPE_BIRCH) {
         $this->temperature = 0.5;
         $this->rainfall = 0.5;
     } else {
         $this->temperature = 0.7;
         $this->temperature = 0.8;
     }
 }
예제 #11
0
 public function __construct()
 {
     parent::__construct();
     $tallGrass = new TallGrass();
     $tallGrass->setBaseAmount(12);
     $flower = new Flower();
     $flower->setBaseAmount(2);
     $flower->addType([Block::DANDELION, 0]);
     $flower->addType([Block::RED_FLOWER, FlowerBlock::TYPE_POPPY]);
     $flower->addType([Block::RED_FLOWER, FlowerBlock::TYPE_AZURE_BLUET]);
     $flower->addType([Block::RED_FLOWER, FlowerBlock::TYPE_RED_TULIP]);
     $flower->addType([Block::RED_FLOWER, FlowerBlock::TYPE_ORANGE_TULIP]);
     $flower->addType([Block::RED_FLOWER, FlowerBlock::TYPE_WHITE_TULIP]);
     $flower->addType([Block::RED_FLOWER, FlowerBlock::TYPE_PINK_TULIP]);
     $flower->addType([Block::RED_FLOWER, FlowerBlock::TYPE_OXEYE_DAISY]);
     $this->addPopulator($tallGrass);
     $this->addPopulator($flower);
     $this->setElevation(63, 74);
     $this->temperature = 0.8;
     $this->rainfall = 0.4;
 }