PHP Class pocketmine\level\generator\populator\DeadBush

Inheritance: extends Populator
Datei anzeigen 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
canDeadBushStay ( $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 )