GenisysPro  for Minecraft PE/Windows 10 v1.1.x
Feature-rich server software for Minecraft PE and Windows 10 Edition
DarkOakTree Class Reference

Public Member Functions

 __construct ()
 
- Public Member Functions inherited from Tree
 canPlaceObject (ChunkManager $level, $x, $y, $z, Random $random)
 
 placeObject (ChunkManager $level, $x, $y, $z, Random $random)
 

Additional Inherited Members

- Static Public Member Functions inherited from Tree
static growTree (ChunkManager $level, $x, $y, $z, Random $random, $type=0, bool $noBigTree=true)
 
- Data Fields inherited from Tree
 $overridable
 
 $type = 0
 
 $trunkBlock = Block::LOG
 
 $leafBlock = Block::LEAVES
 
 $treeHeight = 7
 
 $leafType = 0
 
- Protected Member Functions inherited from Tree
 placeTrunk (ChunkManager $level, $x, $y, $z, Random $random, $trunkHeight)
 

Constructor & Destructor Documentation

◆ __construct()

__construct ( )

DarkOakTree constructor.

32  {
33  $this->trunkBlock = Block::WOOD2;
34  $this->leafBlock = Block::LEAVES2;
35  $this->leafType = Leaves2::DARK_OAK;
36  $this->type = Wood2::DARK_OAK;
37  $this->treeHeight = 8;
38  }

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