PocketMine-MP 5.18.2 git-00e39821f06a4b6d728d35053c2621dbb19369ff
pocketmine\world\generator\populator\Tree Class Reference
+ Inheritance diagram for pocketmine\world\generator\populator\Tree:
+ Collaboration diagram for pocketmine\world\generator\populator\Tree:

Public Member Functions

 __construct (?TreeType $type=null)
 
 populate (ChunkManager $world, int $chunkX, int $chunkZ, Random $random)
 
 setBaseAmount (int $amount)
 
 setRandomAmount (int $amount)
 

Detailed Description

Definition at line 34 of file populator/Tree.php.

Constructor & Destructor Documentation

◆ __construct()

pocketmine\world\generator\populator\Tree::__construct ( ?TreeType  $type = null)
Parameters
TreeType | null$typedefault oak

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

Member Function Documentation

◆ populate()

pocketmine\world\generator\populator\Tree::populate ( ChunkManager  $world,
int  $chunkX,
int  $chunkZ,
Random  $random 
)

Implements pocketmine\world\generator\populator\Populator.

Definition at line 54 of file populator/Tree.php.

◆ setBaseAmount()

pocketmine\world\generator\populator\Tree::setBaseAmount ( int  $amount)

Definition at line 50 of file populator/Tree.php.

◆ setRandomAmount()

pocketmine\world\generator\populator\Tree::setRandomAmount ( int  $amount)

Definition at line 46 of file populator/Tree.php.


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