PocketMine-MP 5.39.4 git-a2b7d660558310260c376d1eeaff549367b9fc6e
Loading...
Searching...
No Matches
pocketmine\world\generator\object\AzaleaTree Class Reference
+ Inheritance diagram for pocketmine\world\generator\object\AzaleaTree:
+ Collaboration diagram for pocketmine\world\generator\object\AzaleaTree:

Public Member Functions

 canPlaceObject (ChunkManager $world, int $x, int $y, int $z, Random $random)
 
 getBlockTransaction (ChunkManager $world, int $x, int $y, int $z, Random $random)
 

Protected Member Functions

 canOverride (Block $block)
 
 generateTrunkHeight (Random $random)
 
 placeCanopy (int $x, int $y, int $z, Random $random, BlockTransaction $transaction)
 
 placeTrunk (int $x, int $y, int $z, Random $random, int $trunkHeight, BlockTransaction $transaction)
 

Detailed Description

Definition at line 40 of file AzaleaTree.php.

Constructor & Destructor Documentation

◆ __construct()

pocketmine\world\generator\object\AzaleaTree::__construct ( )

Definition at line 52 of file AzaleaTree.php.

Member Function Documentation

◆ canOverride()

pocketmine\world\generator\object\AzaleaTree::canOverride ( Block $block)
protected

Reimplemented from pocketmine\world\generator\object\Tree.

Definition at line 139 of file AzaleaTree.php.

◆ canPlaceObject()

pocketmine\world\generator\object\Tree::canPlaceObject ( ChunkManager $world,
int $x,
int $y,
int $z,
Random $random )
inherited

Definition at line 42 of file object/Tree.php.

◆ generateTrunkHeight()

pocketmine\world\generator\object\AzaleaTree::generateTrunkHeight ( Random $random)
protected

Reimplemented from pocketmine\world\generator\object\Tree.

Definition at line 62 of file AzaleaTree.php.

◆ getBlockTransaction()

pocketmine\world\generator\object\AzaleaTree::getBlockTransaction ( ChunkManager $world,
int $x,
int $y,
int $z,
Random $random )

Returns the BlockTransaction containing all the blocks the tree would change upon growing at the given coordinates or null if the tree can't be grown

Reimplemented from pocketmine\world\generator\object\Tree.

Definition at line 56 of file AzaleaTree.php.

◆ placeCanopy()

pocketmine\world\generator\object\AzaleaTree::placeCanopy ( int $x,
int $y,
int $z,
Random $random,
BlockTransaction $transaction )
protected

Reimplemented from pocketmine\world\generator\object\Tree.

Definition at line 104 of file AzaleaTree.php.

◆ placeTrunk()

pocketmine\world\generator\object\AzaleaTree::placeTrunk ( int $x,
int $y,
int $z,
Random $random,
int $trunkHeight,
BlockTransaction $transaction )
protected

Reimplemented from pocketmine\world\generator\object\Tree.

Definition at line 66 of file AzaleaTree.php.


The documentation for this class was generated from the following file: