PHP Class pocketmine\block\Noteblock

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

Protected Properties

Property Type Description
$id

Public Methods

Method Description
__construct ( $meta )
canBeActivated ( ) : boolean
getHardness ( )
getInstrument ( )
getName ( ) : string
getResistance ( )
getStrength ( )
getToolType ( )
onActivate ( Item $item, Player $player = null )

Method Details

__construct() public method

public __construct ( $meta )

canBeActivated() public method

public canBeActivated ( ) : boolean
return boolean

getHardness() public method

public getHardness ( )

getInstrument() public method

public getInstrument ( )

getName() public method

public getName ( ) : string
return string

getResistance() public method

public getResistance ( )

getStrength() public method

public getStrength ( )

getToolType() public method

public getToolType ( )

onActivate() public method

public onActivate ( Item $item, Player $player = null )
$item pocketmine\item\Item
$player pocketmine\Player

Property Details

$id protected property

protected $id