Skip to content

BlockBurnEvent ​

class · pocketmine\event\block\BlockBurnEvent · source

Extends BlockEvent
Implements Cancellable

Called when a block is burned away by fire.

Methods ​

__construct() ​

php
public function __construct(\pocketmine\block\Block $block, \pocketmine\block\Block $causingBlock)

getCausingBlock() ​

php
public function getCausingBlock() : \pocketmine\block\Block

Returns the block (usually Fire) which caused the target block to be burned away.

VanillaMine is a fork of PocketMine-MP, maintained by Luxury Nodes. Not affiliated with the PMMP team or Mojang.