PocketMine
Tree Class Reference
Inheritance diagram for Tree:
BigTree BirchTree JungleTree OakTree SpruceTree

Public Member Functions

 canPlaceObject (ChunkManager $level, $x, $y, $z, Random $random)
 
 placeObject (ChunkManager $level, $x, $y, $z, Random $random)
 

Static Public Member Functions

static growTree (ChunkManager $level, $x, $y, $z, Random $random, $type=0)
 

Data Fields

 $overridable
 
 $type = 0
 
 $trunkBlock = Block::LOG
 
 $leafBlock = Block::LEAVES
 
 $treeHeight = 7
 

Protected Member Functions

 placeTrunk (ChunkManager $level, $x, $y, $z, Random $random, $trunkHeight)
 

Field Documentation

$overridable
Initial value:
= [
Block::AIR => true

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