PHP Class pocketmine\block\Ladder

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

Protected Properties

Property Type Description
$id

Public Methods

Method Description
__construct ( $meta )
getDrops ( Item $item ) : array
getHardness ( )
getName ( ) : string
getToolType ( )
hasEntityCollision ( )
isSolid ( )
onEntityCollide ( Entity $entity )
onUpdate ( $type )
place ( Item $item, Block $block, Block $target, $face, $fx, $fy, $fz, Player $player = null )

Protected Methods

Method Description
recalculateBoundingBox ( )

Method Details

__construct() public method

public __construct ( $meta )

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

getToolType() public method

public getToolType ( )

hasEntityCollision() public method

public hasEntityCollision ( )

isSolid() public method

public isSolid ( )

onEntityCollide() public method

public onEntityCollide ( Entity $entity )
$entity pocketmine\entity\Entity

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

recalculateBoundingBox() protected method

protected recalculateBoundingBox ( )

Property Details

$id protected property

protected $id