Package-level declarations

Types

Link copied to clipboard
abstract class VirtualInventory(val size: Int, val itemStacks: Array<ItemStack?> = arrayOfNulls(size))

A VirtualInventory is an inventory that is not directly tied to a physical inventory in the game, but can be used to represent a custom inventory for a GUI. It allows you to manage the items in the inventory and handle interactions with it without needing to create an actual Inventory object in Bukkit.

Link copied to clipboard

An event that represents an interaction with a virtual inventory. This event is fired when a player interacts with a virtual inventory, such as clicking on an item or dragging items in the inventory. It contains information about the interaction, such as the type of click, the item being interacted with, and the changes being made to the virtual inventory. This event can be listened to in order to handle interactions with virtual inventories and update them accordingly.