SurfChestSinglePlayerGui

Properties

Link copied to clipboard
@get:Contract(pure = true)
val dirty: Boolean
Link copied to clipboard
open override val gui: NamedGui
Link copied to clipboard
@NotNull
@get:NotNull
@get:Contract(pure = true)
val inventoryComponent: @NotNull InventoryComponent
Link copied to clipboard
open override val parent: SurfGui? = null
Link copied to clipboard
open override val player: Player
Link copied to clipboard
@get:Contract(pure = true)
val updating: Boolean

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
open override fun addPane(@NotNull p0: @NotNull Pane)
Link copied to clipboard
open fun HumanEntity.backToParent()
Link copied to clipboard
open fun callOnBottomClick(@NotNull p0: @NotNull InventoryClickEvent)
Link copied to clipboard
open fun callOnBottomDrag(@NotNull p0: @NotNull InventoryDragEvent)
Link copied to clipboard
open fun callOnClose(@NotNull p0: @NotNull InventoryCloseEvent)
Link copied to clipboard
open fun callOnGlobalClick(@NotNull p0: @NotNull InventoryClickEvent)
Link copied to clipboard
open fun callOnGlobalDrag(@NotNull p0: @NotNull InventoryDragEvent)
Link copied to clipboard
open fun callOnOutsideClick(@NotNull p0: @NotNull InventoryClickEvent)
Link copied to clipboard
open fun callOnTopClick(@NotNull p0: @NotNull InventoryClickEvent)
Link copied to clipboard
open fun callOnTopDrag(@NotNull p0: @NotNull InventoryDragEvent)
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
open override fun click(@NotNull p0: @NotNull InventoryClickEvent)
Link copied to clipboard
@NotNull
@Contract(pure = true)
open override fun copy(): @NotNull ChestGui
Link copied to clipboard
@NotNull
@Contract(pure = true)
open override fun createInventory(): @NotNull Inventory
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
@NotNull
@Contract(pure = true)
open fun getHumanEntityCache(): @NotNull HumanEntityCache
Link copied to clipboard
@NotNull
open override fun getInventory(): @NotNull Inventory
Link copied to clipboard
@NotNull
@Contract(pure = true)
open override fun getItems(): @NotNull MutableCollection<GuiItem>
Link copied to clipboard
@NotNull
@Contract(pure = true)
open override fun getPanes(): @NotNull MutableList<Pane>
Link copied to clipboard
@Contract(pure = true)
open fun getRows(): Int
Link copied to clipboard
@NotNull
@Contract(pure = true)
open fun getTitle(): @NotNull String
Link copied to clipboard
@NotNull
@Contract(pure = true)
open fun getTitleHolder(): @NotNull TextHolder
Link copied to clipboard
@Contract(pure = true)
open override fun getViewerCount(): Int
Link copied to clipboard
@NotNull
@Contract(pure = true)
open override fun getViewers(): @NotNull MutableList<HumanEntity>
Link copied to clipboard
@Contract(pure = true)
open override fun isPlayerInventoryUsed(): Boolean
Link copied to clipboard
open fun StaticPane.item(slot: Slot, item: ItemStack? = null, init: SurfGuiItem.() -> Unit)
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
open fun markChanges()
Link copied to clipboard
open fun navigateToParent(@NotNull p0: @NotNull HumanEntity)
Link copied to clipboard
open fun open()
Link copied to clipboard
open fun setOnBottomClick(@Nullable p0: @Nullable Consumer<InventoryClickEvent>?)
Link copied to clipboard
open fun setOnBottomDrag(@Nullable p0: @Nullable Consumer<InventoryDragEvent>?)
Link copied to clipboard
open fun setOnClose(@Nullable p0: @Nullable Consumer<InventoryCloseEvent>?)
Link copied to clipboard
open fun setOnGlobalClick(@Nullable p0: @Nullable Consumer<InventoryClickEvent>?)
Link copied to clipboard
open fun setOnGlobalDrag(@Nullable p0: @Nullable Consumer<InventoryDragEvent>?)
Link copied to clipboard
open fun setOnOutsideClick(@Nullable p0: @Nullable Consumer<InventoryClickEvent>?)
Link copied to clipboard
open fun setOnTopClick(@Nullable p0: @Nullable Consumer<InventoryClickEvent>?)
Link copied to clipboard
open fun setOnTopDrag(@Nullable p0: @Nullable Consumer<InventoryDragEvent>?)
Link copied to clipboard
open fun setParent(@NotNull p0: @NotNull Gui)
Link copied to clipboard
open fun setRows(p0: Int)
Link copied to clipboard
open fun setTitle(@NotNull p0: @NotNull TextHolder)
open fun setTitle(@NotNull p0: @NotNull String)
Link copied to clipboard
open override fun show(@NotNull p0: @NotNull HumanEntity)
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)
Link copied to clipboard
open fun update()
Link copied to clipboard
open fun walkParents(): List<SurfGui>