PHP Class pocketmine\block\LitRedstoneTorch

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

Protected Properties

Property Type Description
$id

Public Methods

Method Description
BroadcastRedstoneUpdate ( $type, $power )
__construct ( $meta )
getDrops ( Item $item )
getLightLevel ( )
getName ( )
getPower ( )
isCharged ( $hash )
isLightSource ( )
isRedstoneSource ( )
onRedstoneUpdate ( $type, $power )
onUpdate ( $type )
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 ( $meta )

getDrops() public method

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

getLightLevel() public method

public getLightLevel ( )

getName() public method

public getName ( )

getPower() public method

public getPower ( )

isCharged() public method

public isCharged ( $hash )

isLightSource() public method

public isLightSource ( )

isRedstoneSource() public method

public isRedstoneSource ( )

onRedstoneUpdate() public method

public onRedstoneUpdate ( $type, $power )

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

Property Details

$id protected property

protected $id