Rebar Gui Block
A simple interface that opens a GUI when the block is right clicked
The title of the window opened is by default the block's name. Override guiTitle to change this.
See InvUI docs for information on how to make GUIs.
See also
Functions
Link copied to clipboard
In the case of a vanilla BlockBreakEvent this is called during the monitor priority
Link copied to clipboard
open override fun onInventoryOpen(event: InventoryOpenEvent, priority: EventPriority): <Error class: unknown class>
Link copied to clipboard
open override fun onItemMoveFrom(event: InventoryMoveItemEvent, priority: EventPriority): <Error class: unknown class>
Link copied to clipboard
open override fun onItemMoveTo(event: InventoryMoveItemEvent, priority: EventPriority): <Error class: unknown class>
Link copied to clipboard
In the case of a vanilla BlockBreakEvent this is called during the monitor priority
Link copied to clipboard
Called before the block is broken. Note this is not called for Deletions as those are not cancellable.