PHP Class pocketmine\block\Portal

Inheritance: extends Flowable
Show file Open project: iTXTech/Genisys

Protected Properties

Property Type Description
$id

Public Methods

Method Description
__construct ( )
canPassThrough ( )
getDrops ( Item $item ) : array
getHardness ( )
getName ( ) : string
getResistance ( )
getToolType ( )
hasEntityCollision ( )
onBreak ( Item $item )
place ( Item $item, Block $block, Block $target, $face, $fx, $fy, $fz, Player $player = null )

Method Details

__construct() public method

public __construct ( )

canPassThrough() public method

public canPassThrough ( )

getDrops() public method

public getDrops ( Item $item ) : array
$item pocketmine\item\Item
return array

getHardness() public method

public getHardness ( )

getName() public method

public getName ( ) : string
return string

getResistance() public method

public getResistance ( )

getToolType() public method

public getToolType ( )

hasEntityCollision() public method

public hasEntityCollision ( )

onBreak() public method

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

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