PHP Class pocketmine\block\FlowerPot

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

Protected Properties

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

Méthodes publiques

Méthode Description
__construct ( $meta )
canBeActivated ( ) : boolean
getBoundingBox ( )
getDrops ( Item $item ) : array
getName ( ) : string
onActivate ( Item $item, Player $player = null )
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 )

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

getName() public méthode

public getName ( ) : string
Résultat string

onActivate() public méthode

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

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