PHP Class pocketmine\block\EnchantingTable

Inheritance: extends Transparent, implements pocketmine\block\LightSource
Afficher le fichier Open project: iTXTech/Genisys

Protected Properties

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

Méthodes publiques

Méthode Description
__construct ( )
canBeActivated ( ) : boolean
getBoundingBox ( )
getDrops ( Item $item ) : array
getHardness ( )
getLightLevel ( )
getName ( ) : string
getResistance ( )
getToolType ( )
onActivate ( Item $item, Player $player = null )
place ( Item $item, Block $block, Block $target, $face, $fx, $fy, $fz, Player $player = null )

Method Details

__construct() public méthode

public __construct ( )

canBeActivated() public méthode

public canBeActivated ( ) : boolean
Résultat boolean

getBoundingBox() public méthode

public getBoundingBox ( )

getDrops() public méthode

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

getHardness() public méthode

public getHardness ( )

getLightLevel() public méthode

public getLightLevel ( )

getName() public méthode

public getName ( ) : string
Résultat string

getResistance() public méthode

public getResistance ( )

getToolType() public méthode

public getToolType ( )

onActivate() public méthode

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

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