PHP Class pocketmine\block\RedstoneBlock

Inheritance: extends Solid, implements Redstone, implements pocketmine\block\RedstoneSource
Afficher le fichier Open project: ClearSkyTeam/ClearSky

Protected Properties

Свойство Type Description
$id

Méthodes publiques

Méthode Description
BroadcastRedstoneUpdate ( $type, $power )
__construct ( )
getDrops ( Item $item )
getHardness ( )
getName ( )
getPower ( )
getToolType ( )
isCharged ( $hash )
isRedstoneSource ( )
onBreak ( Item $item )
onRedstoneUpdate ( $type, $power )
place ( Item $item, Block $block, Block $target, $face, $fx, $fy, $fz, Player $player = null )

Method Details

BroadcastRedstoneUpdate() public méthode

public BroadcastRedstoneUpdate ( $type, $power )

__construct() public méthode

public __construct ( )

getDrops() public méthode

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

getHardness() public méthode

public getHardness ( )

getName() public méthode

public getName ( )

getPower() public méthode

public getPower ( )

getToolType() public méthode

public getToolType ( )

isCharged() public méthode

public isCharged ( $hash )

isRedstoneSource() public méthode

public isRedstoneSource ( )

onBreak() public méthode

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

onRedstoneUpdate() public méthode

public onRedstoneUpdate ( $type, $power )

place() public méthode

public place ( Item $item, Block $block, Block $target, $face, $fx, $fy, $fz, Player $player = null )
$item pocketmine\item\Item
$block Block
$target Block
$player pocketmine\Player

Property Details

$id protected_oe property

protected $id