PylonBreakHandler

Functions

Link copied to clipboard
open fun onBreak(drops: MutableList<ItemStack>, context: BlockBreakContext)
Link copied to clipboard
open fun postBreak(context: BlockBreakContext)
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.