BlockFormEvent
Extends pocketmine\event\block\BaseBlockChangeEvent
Called when a new block forms, usually as the result of some action. This could be things like obsidian forming due to collision of lava and water.
Methods
__construct()
php
public function __construct(\pocketmine\block\Block $block, \pocketmine\block\Block $newState, \pocketmine\block\Block $causingBlock)getCausingBlock()
php
public function getCausingBlock() : \pocketmine\block\BlockReturns the block which caused the target block to form into a new state.
