BlockSpreadEvent
extends BaseBlockChangeEvent
in package
Called when a block spreads to another block, such as grass spreading to nearby dirt blocks.
Table of Contents
- $source : Block
- __construct() : mixed
- getSource() : Block
Properties
$source
private
Block
$source
Methods
__construct()
public
__construct(Block $block, Block $source, Block $newState) : mixed
Parameters
Return values
mixed —getSource()
public
getSource() : Block