PHP Class pocketmine\block\Redstone

Inheritance: extends Solid
Show file Open project: iTXTech/Genisys

Protected Properties

Property Type Description
$id

Public Methods

Method Description
__construct ( )
canBeFlowedInto ( )
getBoundingBox ( )
getDrops ( Item $item ) : array
getHardness ( )
getName ( ) : string
getToolType ( )
isActivated ( Block $from = null )
isSolid ( )

Method Details

__construct() public method

public __construct ( )

canBeFlowedInto() public method

public canBeFlowedInto ( )

getBoundingBox() public method

public getBoundingBox ( )

getDrops() public method

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

getHardness() public method

public getHardness ( )

getName() public method

public getName ( ) : string
return string

getToolType() public method

public getToolType ( )

isActivated() public method

public isActivated ( Block $from = null )
$from Block

isSolid() public method

public isSolid ( )

Property Details

$id protected property

protected $id