PHP Class pocketmine\block\SkullBlock

Inheritance: extends Transparent
Afficher le fichier Open project: iTXTech/Genisys

Protected Properties

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

Méthodes publiques

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

Method Details

__construct() public méthode

public __construct ( $meta )

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 ( )

getName() public méthode

public getName ( ) : string
Résultat string

getResistance() public méthode

public getResistance ( )

getToolType() public méthode

public getToolType ( )

isHelmet() public méthode

public isHelmet ( )

isSolid() public méthode

public isSolid ( )

onBreak() public méthode

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

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