PHP Class pocketmine\block\Observer

Inheritance: extends Solid, implements pocketmine\block\RedstoneSource
Show file Open project: ClearSkyTeam/ClearSky

Protected Properties

Property Type Description
$currentStatus
$id

Public Methods

Method Description
__construct ( $meta ) #Vector3/Position/Block instance
getHardness ( )
getName ( )
getOutputBlock ( )
getPower ( )
getToolType ( )
getWatchBlock ( )
isCharged ( $hash )
isRedstoneSource ( )
onRedstoneUpdate ( $type, $power, $hash = NULL )
onUpdate ( $type, $fromBlock = NULL )
place ( Item $item, Block $block, Block $target, $face, $fx, $fy, $fz, Player $player = null )

Private Methods

Method Description
onUpdateRecieve ( $type = NULL, $data = NULL )

Method Details

__construct() public method

#Vector3/Position/Block instance
public __construct ( $meta )

getHardness() public method

public getHardness ( )

getName() public method

public getName ( )

getOutputBlock() public method

public getOutputBlock ( )

getPower() public method

public getPower ( )

getToolType() public method

public getToolType ( )

getWatchBlock() public method

public getWatchBlock ( )

isCharged() public method

public isCharged ( $hash )

isRedstoneSource() public method

public isRedstoneSource ( )

onRedstoneUpdate() public method

public onRedstoneUpdate ( $type, $power, $hash = NULL )

onUpdate() public method

public onUpdate ( $type, $fromBlock = NULL )

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

$currentStatus protected property

protected $currentStatus

$id protected property

protected $id