PHP Class pocketmine\block\ActiveRedstoneLamp

Inheritance: extends Solid, implements ElectricalAppliance, implements SolidLight
Show file Open project: iTXTech/Genisys

Protected Properties

Property Type Description
$id

Public Methods

Method Description
__construct ( $meta )
getDrops ( Item $item ) : array
getHardness ( )
getLightLevel ( )
getName ( ) : string
getToolType ( )
isLightedByAround ( )
lightAround ( )
turnOff ( )
turnOn ( )

Protected Methods

Method Description
checkPower ( array $ignore = [] )
turnAroundOff ( array $ignore = [] )

Method Details

__construct() public method

public __construct ( $meta )

checkPower() protected method

protected checkPower ( array $ignore = [] )
$ignore array

getDrops() public method

public getDrops ( Item $item ) : array
$item pocketmine\item\Item
return array

getHardness() public method

public getHardness ( )

getLightLevel() public method

public getLightLevel ( )

getName() public method

public getName ( ) : string
return string

getToolType() public method

public getToolType ( )

isLightedByAround() public method

public isLightedByAround ( )

lightAround() public method

public lightAround ( )

turnAroundOff() protected method

protected turnAroundOff ( array $ignore = [] )
$ignore array

turnOff() public method

public turnOff ( )

turnOn() public method

public turnOn ( )

Property Details

$id protected property

protected $id