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