Tree
Implements Populator
Methods
__construct()
php
public function __construct(?\pocketmine\world\generator\object\TreeType $type = null)populate()
php
public function populate(\pocketmine\world\ChunkManager $world, int $chunkX, int $chunkZ, \pocketmine\utils\Random $random) : voidsetBaseAmount()
php
public function setBaseAmount(int $amount) : voidsetRandomAmount()
php
public function setRandomAmount(int $amount) : void