registerBlockBreak

open fun registerBlockBreak(method: Any): RegularTrigger

Registers a new trigger that runs before the player breaks a block

Passes through one argument:

  • The block

Available modifications:

Return

The trigger for additional modification

Parameters

method

The method to call when the event is fired

Sources

Link copied to clipboard