PHP Class pocketmine\level\generator\populator\Flower

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

Public Methods

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

Private Methods

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

Method Details

addType() public method

public addType ( $type )

getTypes() public method

public getTypes ( )

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 )