PHP Class pocketmine\block\RedstoneLamp

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 ( )
getHardness ( )
getLightLevel ( )
getName ( )
getToolType ( )
isLightSource ( )
onRedstoneUpdate ( $type, $power )

Method Details

__construct() public method

public __construct ( )

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 )

Property Details

$id protected property

protected $id