PocketMine-MP 5.21.2 git-a6534ecbbbcf369264567d27e5ed70f7f5be9816
|
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.