PHP Class pocketmine\level\generator\populator\LilyPad

Inheritance: extends Populator
显示文件 Open project: iTXTech/Genisys Class Usage Examples

Public Methods

Method Description
populate ( pocketmine\level\ChunkManager $level, $chunkX, $chunkZ, Random $random )
setBaseAmount ( $amount )
setRandomAmount ( $amount )

Private Methods

Method Description
canLilyPadStay ( $x, $y, $z )
getHighestWorkableBlock ( $x, $z )

Method Details

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 )