PHP Class pocketmine\level\generator\populator\Tree

Inheritance: extends Populator
Mostra file Open project: iTXTech/Genisys Class Usage Examples

Public Methods

Method Description
__construct ( $type = Sapling::OAK )
populate ( pocketmine\level\ChunkManager $level, $chunkX, $chunkZ, Random $random )
setBaseAmount ( $amount )
setRandomAmount ( $amount )

Private Methods

Method Description
getHighestWorkableBlock ( $x, $z )

Method Details

__construct() public method

public __construct ( $type = Sapling::OAK )

populate() public method

public populate ( pocketmine\level\ChunkManager $level, $chunkX, $chunkZ, Random $random )
$level pocketmine\level\ChunkManager
$random pocketmine\utils\Random

setBaseAmount() public method

public setBaseAmount ( $amount )

setRandomAmount() public method

public setRandomAmount ( $amount )