Package-level declarations
Contains the GUI builder and all GUI implementation classes
Types
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
class GuiCompound<E>(val guiType: GuiType, val slots: GuiSlotCompound.SlotRange.Rectangle, val content: AbstractGuiList<E, List<E>>, iconGenerator: suspend (E) -> ItemStack, onClick: suspend (event: GuiClickEvent, element: E) -> Unit?) : GuiUseable
Link copied to clipboard
Link copied to clipboard
interface GuiElement
Link copied to clipboard
class GuiEventHandler(val onClick: suspend (GuiClickEvent) -> Unit?, val onClose: suspend (GuiCloseEvent) -> Unit?)
Link copied to clipboard
Link copied to clipboard
class GuiPage(val key: String, val number: Int, val content: Map<Int, GuiElement>, val effectTo: GuiPage.ChangeEffect?, val effectFrom: GuiPage.ChangeEffect?) : GuiUseable
Link copied to clipboard
Link copied to clipboard
class GuiScreenHandler(val gui: Gui, syncId: Int, inventory: Inventory, container: Container) : ChestMenu
Link copied to clipboard
Link copied to clipboard
interface GuiSlotCompound
Link copied to clipboard
Functions
Link copied to clipboard
fun Gui.changePage(fromPage: GuiPage, toPage: GuiPage, overrideEffect: GuiPage.ChangeEffect? = null): Job
Link copied to clipboard
Creates a gui icon which automatically updates itself if the value of the property changes.
Link copied to clipboard
Creates a new slot range.
Link copied to clipboard
Creates a new slot range.
Link copied to clipboard
Creates a new slot range.