PHP Class pocketmine\block\DoublePlant

Inheritance: extends Flowable
Show file Open project: ClearSkyTeam/ClearSky

Protected Properties

Property Type Description
$id

Public Methods

Method Description
__construct ( $meta )
canBeReplaced ( )
getDrops ( Item $item )
getName ( )
onBreak ( Item $item )
onUpdate ( $type )
place ( Item $item, Block $block, Block $target, $face, $fx, $fy, $fz, Player $player = null )

Method Details

__construct() public method

public __construct ( $meta )

canBeReplaced() public method

public canBeReplaced ( )

getDrops() public method

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

getName() public method

public getName ( )

onBreak() public method

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

onUpdate() public method

public onUpdate ( $type )

place() public method

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 property

protected $id