inventory

val inventory: @NotNull Inventory

The inventory object representing the GUI. This is the actual Bukkit inventory that is opened for the player and contains the items displayed in the GUI. The inventory is created based on the specified size and title, and it is populated with items from the structure of AbstractItemProviders when the GUI is initialized. The inventory is also updated whenever providers are refreshed or when virtual inventories are scrolled.