Advertisement
Guest User

Untitled

a guest
Feb 14th, 2016
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.46 KB | None | 0 0
  1. <?php
  2. namespace BukkitPE\level\generator\normal\biome;
  3.  
  4. use BukkitPE\level\generator\populator\TallGrass;
  5.  
  6. class PlainBiome extends GrassyBiome{
  7.  
  8. public function __construct(){
  9. parent::__construct();
  10.  
  11. $tallGrass = new TallGrass();
  12. $tallGrass->setBaseAmount(12);
  13.  
  14. $this->addPopulator($tallGrass);
  15.  
  16. $this->setElevation(63, 74);
  17.  
  18. $this->temperature = 0.8;
  19. $this->rainfall = 0.4;
  20. }
  21.  
  22. public function getName(){
  23. return "Plains";
  24. }
  25. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement