Companion

object Companion

Functions

Link copied to clipboard
fun addInteractHandler(effectiveBlock: EffectiveBlock, click: EffectiveAbstractInteract.Click, callback: InteractCallback)

Registers an interact handler matching blocks of effectiveBlock's custom type.

Link copied to clipboard

Runs matching handlers for the interacted block; returns whether the event should be cancelled.