Manages callbacks that are connected to before a player breaks a block.
This closure is called with restricted-execution privilege.
Optional
Closure that is called with restricted-execution privilege.
Adds a callback that will be called before a block is broken by a player.
no-restricted-execution - This function can't be called in restricted-execution mode.
early-execution-allowed - This function can be called in early-execution mode.
Removes a callback from being called before a player breaks a block.
Manages callbacks that are connected to before a player breaks a block.