PHP Class pocketmine\block\CocoaPod

Inheritance: extends Block
Show file Open project: ClearSkyTeam/ClearSky

Protected Properties

Property Type Description
$id

Public Methods

Method Description
__construct ( $meta )
canBeActivated ( )
getDrops ( Item $item )
getHardness ( )
getName ( )
getResistance ( )
onActivate ( Item $item, Player $player = null )
onUpdate ( $type )
place ( Item $item, Block $block, Block $target, $face, $fx, $fy, $fz, Player $player = null )

Protected Methods

Method Description
recalculateBoundingBox ( )

Method Details

__construct() public method

public __construct ( $meta )

canBeActivated() public method

public canBeActivated ( )

getDrops() public method

public getDrops ( Item $item )
$item pocketmine\item\Item

getHardness() public method

public getHardness ( )

getName() public method

public getName ( )

getResistance() public method

public getResistance ( )

onActivate() public method

public onActivate ( Item $item, Player $player = null )
$item pocketmine\item\Item
$player pocketmine\Player

onUpdate() public method

public onUpdate ( $type )

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

recalculateBoundingBox() protected method

protected recalculateBoundingBox ( )

Property Details

$id protected property

protected $id