PocketMine-MP 5.35.1 git-e32e836dad793a3a3c8ddd8927c00e112b1e576a
|
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.