PHP Class pocketmine\block\LitRedstoneLamp

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

Protected Properties

Property Type Description
$id

Public Methods

Method Description
__construct ( )
getDrops ( Item $item )
getHardness ( )
getLightLevel ( )
getName ( )
getToolType ( )
isLightSource ( )
onRedstoneUpdate ( $type, $power )
onUpdate ( $type )

Method Details

__construct() public method

public __construct ( )

getDrops() public method

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

getHardness() public method

public getHardness ( )

getLightLevel() public method

public getLightLevel ( )

getName() public method

public getName ( )

getToolType() public method

public getToolType ( )

isLightSource() public method

public isLightSource ( )

onRedstoneUpdate() public method

public onRedstoneUpdate ( $type, $power )

onUpdate() public method

public onUpdate ( $type )

Property Details

$id protected property

protected $id