Package-level declarations
Types
Functions
Link copied to clipboard
fun Player.animatedGui(title: Component, slotType: InventoryType = InventoryType.CHEST_27, init: Animation.() -> Unit = {}): Animation
Creates an animated GUI. Uses the default GUI.
Link copied to clipboard
fun Player.gui(title: Component, slotType: InventoryType = InventoryType.CHEST_27, init: SimpleInventoryBuilder.() -> Unit = {}): Inventory
Opens the default GUI for a player.
Link copied to clipboard
fun Player.linkedGui(title: Component, slotType: InventoryType = InventoryType.CHEST_27, init: LinkedInventoryBuilder.() -> Unit = {}): Inventory
Opens a linked GUI for a player. Unlike the default GUI, modifying the LinkedInventoryBuilder observes changes to the builder and modifies the inventory on change. Thus, modifications afterwards in the builder will also be applied to the built inventory.