Rebar Inventory 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
Called as the block is being broken. At this point, the block break cannot be cancelled, but the physical block has not yet been broken or removed from io.github.pylonmc.rebar.block.BlockStorage.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Called after the block has been broken. At this point, the block has been physically removed, block drops have been dropped, and the block has been removed from io.github.pylonmc.rebar.block.BlockStorage.
Link copied to clipboard
Called before the block is broken. Note this is not called for Deletions as those are not cancellable.