PHP Class pocketmine\block\RedstoneBlock

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

Protected Properties

Property Type Description
$id

Public Methods

Method Description
BroadcastRedstoneUpdate ( $type, $power )
__construct ( )
getDrops ( Item $item )
getHardness ( )
getName ( )
getPower ( )
getToolType ( )
isCharged ( $hash )
isRedstoneSource ( )
onBreak ( Item $item )
onRedstoneUpdate ( $type, $power )
place ( Item $item, Block $block, Block $target, $face, $fx, $fy, $fz, Player $player = null )

Method Details

BroadcastRedstoneUpdate() public method

public BroadcastRedstoneUpdate ( $type, $power )

__construct() public method

public __construct ( )

getDrops() public method

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

getHardness() public method

public getHardness ( )

getName() public method

public getName ( )

getPower() public method

public getPower ( )

getToolType() public method

public getToolType ( )

isCharged() public method

public isCharged ( $hash )

isRedstoneSource() public method

public isRedstoneSource ( )

onBreak() public method

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

onRedstoneUpdate() public method

public onRedstoneUpdate ( $type, $power )

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

protected $id