PHP Class pocketmine\level\generator\populator\WaterPit

Inheritance: extends Populator
Mostra file 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
canWaterPitStay ( $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 )