PHP Class pocketmine\level\generator\object\Tree

Mostrar archivo Open project: iTXTech/Genisys Class Usage Examples

Public Properties

Property Type Description
$leafBlock
$leafType
$overridable
$treeHeight
$trunkBlock
$type

Public Methods

Method Description
canPlaceObject ( pocketmine\level\ChunkManager $level, $x, $y, $z, Random $random )
growTree ( pocketmine\level\ChunkManager $level, $x, $y, $z, Random $random, $type, boolean $noBigTree = true )
placeObject ( pocketmine\level\ChunkManager $level, $x, $y, $z, Random $random )

Protected Methods

Method Description
placeTrunk ( pocketmine\level\ChunkManager $level, $x, $y, $z, Random $random, $trunkHeight )

Method Details

canPlaceObject() public method

public canPlaceObject ( pocketmine\level\ChunkManager $level, $x, $y, $z, Random $random )
$level pocketmine\level\ChunkManager
$random pocketmine\utils\Random

growTree() public static method

public static growTree ( pocketmine\level\ChunkManager $level, $x, $y, $z, Random $random, $type, boolean $noBigTree = true )
$level pocketmine\level\ChunkManager
$random pocketmine\utils\Random
$noBigTree boolean

placeObject() public method

public placeObject ( pocketmine\level\ChunkManager $level, $x, $y, $z, Random $random )
$level pocketmine\level\ChunkManager
$random pocketmine\utils\Random

placeTrunk() protected method

protected placeTrunk ( pocketmine\level\ChunkManager $level, $x, $y, $z, Random $random, $trunkHeight )
$level pocketmine\level\ChunkManager
$random pocketmine\utils\Random

Property Details

$leafBlock public_oe property

public $leafBlock

$leafType public_oe property

public $leafType

$overridable public_oe property

public $overridable

$treeHeight public_oe property

public $treeHeight

$trunkBlock public_oe property

public $trunkBlock

$type public_oe property

public $type