Package-level declarations

Types

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
class StaticPaneScope(slot: Slot, length: Int, height: Int) : StaticPane

Functions

Link copied to clipboard
fun SurfChestGui.addItem(slot: Slot, item: GuiItem)
Link copied to clipboard
fun SurfChestGui.addItems(vararg items: Pair<Slot, GuiItem>)
Link copied to clipboard
fun SurfChestGui.childMenu(title: Component, rows: @Range(from = 2, to = 6) Int, init: SurfChestGui.() -> Unit): SurfChestGui
fun SurfChestSinglePlayerGui.childMenu(title: Component, rows: @Range(from = 2, to = 6) Int, init: SurfChestSinglePlayerGui.() -> Unit): SurfChestSinglePlayerGui
Link copied to clipboard
fun SurfChestGui.drawOutline(slot: Slot, height: @Range(from = 1, to = 6) Int, length: @Range(from = 1, to = 9) Int = 9, item: GuiItem = guiItem(Material.GRAY_STAINED_GLASS_PANE) { isCancelled = true }): OutlinePane
fun SurfChestGui.drawOutline(slot: Slot, height: @Range(from = 1, to = 6) Int, length: @Range(from = 1, to = 9) Int = 9, init: OutlinePane.() -> Unit): OutlinePane
Link copied to clipboard
fun SurfChestGui.drawOutlineRow(row: @Range(from = 0, to = 5) Int, length: @Range(from = 1, to = 9) Int = 9, item: GuiItem = guiItem(Material.GRAY_STAINED_GLASS_PANE) { isCancelled = true }): OutlinePane
fun SurfChestGui.drawOutlineRow(row: @Range(from = 0, to = 5) Int, length: @Range(from = 1, to = 9) Int = 9, init: OutlinePane.() -> Unit): OutlinePane
Link copied to clipboard
fun SurfChestGui.makeStaticPane(slot: Slot, height: @Range(from = 1, to = 6) Int, length: @Range(from = 1, to = 9) Int, init: StaticPane.() -> Unit): StaticPane
Link copied to clipboard
fun SurfChestGui.makeSubmitItemPane(slot: Slot, length: @Range(from = 1, to = 6) Int, height: @Range(from = 1, to = 6) Int, filter: (ItemStack) -> Boolean, init: SubmitItemPane.() -> Unit = {}): SubmitItemPane
fun SurfChestGui.makeSubmitItemPane(slot: Slot, length: @Range(from = 1, to = 6) Int, height: @Range(from = 1, to = 6) Int, filter: List<Material>, init: SubmitItemPane.() -> Unit = {}): SubmitItemPane
Link copied to clipboard
fun menu(title: Component, rows: @Range(from = 2, to = 6) Int = 6, init: SurfChestGui.() -> Unit): SurfChestGui
Link copied to clipboard
fun playerMenu(title: Component, player: Player, rows: @Range(from = 2, to = 6) Int = 6, init: SurfChestSinglePlayerGui.() -> Unit): SurfChestSinglePlayerGui
Link copied to clipboard
fun slot(index: Int): @NotNull Slot
fun slot(x: @Range(from = 0, to = 8) Int, y: @Range(from = 0, to = 5) Int): @NotNull Slot
Link copied to clipboard
fun MergedGui.staticPane(slot: Slot, height: @Range(from = 1, to = 6) Int, length: @Range(from = 1, to = 9) Int = 9, init: StaticPane.() -> Unit)