|
| __construct (protected Block $trunkBlock, protected Block $leafBlock, protected int $treeHeight=7) |
|
| canPlaceObject (ChunkManager $world, int $x, int $y, int $z, Random $random) |
|
| getBlockTransaction (ChunkManager $world, int $x, int $y, int $z, Random $random) |
|
Definition at line 35 of file object/Tree.php.
◆ __construct()
pocketmine\world\generator\object\Tree::__construct |
( |
protected Block |
$trunkBlock, |
|
|
protected Block |
$leafBlock, |
|
|
protected int |
$treeHeight = 7 |
|
) |
| |
◆ canOverride()
pocketmine\world\generator\object\Tree::canOverride |
( |
Block |
$block | ) |
|
|
protected |
◆ canPlaceObject()
pocketmine\world\generator\object\Tree::canPlaceObject |
( |
ChunkManager |
$world, |
|
|
int |
$x, |
|
|
int |
$y, |
|
|
int |
$z, |
|
|
Random |
$random |
|
) |
| |
◆ generateTrunkHeight()
pocketmine\world\generator\object\Tree::generateTrunkHeight |
( |
Random |
$random | ) |
|
|
protected |
◆ getBlockTransaction()
pocketmine\world\generator\object\Tree::getBlockTransaction |
( |
ChunkManager |
$world, |
|
|
int |
$x, |
|
|
int |
$y, |
|
|
int |
$z, |
|
|
Random |
$random |
|
) |
| |
◆ placeCanopy()
pocketmine\world\generator\object\Tree::placeCanopy |
( |
int |
$x, |
|
|
int |
$y, |
|
|
int |
$z, |
|
|
Random |
$random, |
|
|
BlockTransaction |
$transaction |
|
) |
| |
|
protected |
◆ placeTrunk()
pocketmine\world\generator\object\Tree::placeTrunk |
( |
int |
$x, |
|
|
int |
$y, |
|
|
int |
$z, |
|
|
Random |
$random, |
|
|
int |
$trunkHeight, |
|
|
BlockTransaction |
$transaction |
|
) |
| |
|
protected |
The documentation for this class was generated from the following file: