PHP Class pocketmine\block\Water

Inheritance: extends Liquid
Show file Open project: iTXTech/Genisys Class Usage Examples

Protected Properties

Property Type Description
$id

Public Methods

Method Description
__construct ( $meta )
getName ( ) : string
onEntityCollide ( Entity $entity )
place ( Item $item, Block $block, Block $target, $face, $fx, $fy, $fz, Player $player = null )

Method Details

__construct() public method

public __construct ( $meta )

getName() public method

public getName ( ) : string
return string

onEntityCollide() public method

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

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