PHP Class pocketmine\block\Wood

Inheritance: extends Solid
Show file Open project: iTXTech/Genisys

Protected Properties

Property Type Description
$id const DARK_OAK = 5;

Public Methods

Method Description
__construct ( $meta )
getBurnAbility ( ) : integer
getBurnChance ( ) : integer
getDrops ( Item $item ) : array
getHardness ( )
getName ( ) : string
getToolType ( )
place ( Item $item, Block $block, Block $target, $face, $fx, $fy, $fz, Player $player = null )

Method Details

__construct() public method

public __construct ( $meta )

getBurnAbility() public method

public getBurnAbility ( ) : integer
return integer

getBurnChance() public method

public getBurnChance ( ) : integer
return integer

getDrops() public method

public getDrops ( Item $item ) : array
$item pocketmine\item\Item
return array

getHardness() public method

public getHardness ( )

getName() public method

public getName ( ) : string
return string

getToolType() public method

public getToolType ( )

place() public method

public place ( Item $item, Block $block, Block $target, $face, $fx, $fy, $fz, Player $player = null )
$item pocketmine\item\Item
$block Block
$target Block
$player pocketmine\Player

Property Details

$id protected property

const DARK_OAK = 5;
protected $id