PHP Class pocketmine\block\PoweredRepeater

Inheritance: extends pocketmine\block\RedstoneSource
Afficher le fichier Open project: iTXTech/Genisys

Protected Properties

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

Méthodes publiques

Méthode Description
__construct ( $meta )
activate ( array $ignore = [] )
canBeActivated ( ) : boolean
deactivate ( array $ignore = [] )
deactivateImmediately ( )
getDelayLevel ( ) : integer
getDirection ( ) : integer
getDrops ( Item $item ) : array
getName ( ) : string
getOppositeDirection ( ) : integer
getStrength ( )
isActivated ( Block $from = null )
onActivate ( Item $item, Player $player = null )
onBreak ( Item $item )
onUpdate ( $type )
place ( Item $item, Block $block, Block $target, $face, $fx, $fy, $fz, Player $player = null )

Method Details

__construct() public méthode

public __construct ( $meta )

activate() public méthode

public activate ( array $ignore = [] )
$ignore array

canBeActivated() public méthode

public canBeActivated ( ) : boolean
Résultat boolean

deactivate() public méthode

public deactivate ( array $ignore = [] )
$ignore array

deactivateImmediately() public méthode

getDelayLevel() public méthode

public getDelayLevel ( ) : integer
Résultat integer

getDirection() public méthode

public getDirection ( ) : integer
Résultat integer

getDrops() public méthode

public getDrops ( Item $item ) : array
$item pocketmine\item\Item
Résultat array

getName() public méthode

public getName ( ) : string
Résultat string

getOppositeDirection() public méthode

public getOppositeDirection ( ) : integer
Résultat integer

getStrength() public méthode

public getStrength ( )

isActivated() public méthode

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

onActivate() public méthode

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

onBreak() public méthode

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

onUpdate() public méthode

public onUpdate ( $type )

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