Functions

Link copied to clipboard
open fun onBreak(drops: MutableList<ItemStack>, context: BlockBreakContext)

In the case of a vanilla BlockBreakEvent this is called during the monitor priority

Link copied to clipboard
open fun postBreak(context: BlockBreakContext)

In the case of a vanilla BlockBreakEvent this is called during the monitor priority

Link copied to clipboard
open fun preBreak(context: BlockBreakContext): Boolean

Called before the block is broken. Note this is not called for Deletions as those are not cancellable.