PocketMine-MP 5.27.1 git-9af3cde03fabbe4129c79e46dc87ffa0fff446e6
|
Static Public Member Functions | |
static | die (Block $oldState, Block $newState) |
static | form (Block $oldState, Block $newState, Block $cause) |
static | grow (Block $oldState, Block $newState, ?Player $causingPlayer) |
static | melt (Block $oldState, Block $newState) |
static | spread (Block $oldState, Block $newState, Block $source) |
Helper class to call block changing events and apply the results to the world. TODO: try to further reduce the amount of code duplication here - while this is much better than before, it's still very repetitive.
Definition at line 39 of file BlockEventHelper.php.
Definition at line 101 of file BlockEventHelper.php.
|
static |
Definition at line 71 of file BlockEventHelper.php.
|
static |
Definition at line 41 of file BlockEventHelper.php.
Definition at line 86 of file BlockEventHelper.php.
|
static |
Definition at line 56 of file BlockEventHelper.php.