GuiItems to the GUI without specific slot
It'll set the item to the next empty slot availableGuiItem to the next available slot in the page areaaddItem(GuiItem...) to add the items to the page insteadItemStack to the inventory straight, not the GUIItemFlag to the itemGuiAction for when clicking on a specific slot
See InventoryClickEventaddSlotAction(int, GuiAction) to add a GuiAction to a specific slot using ROWS and COLUMNS instead of slots
See InventoryClickEventGuiGuiType instead of rows numberItemStack2s delay (to prevent items from being taken from the Inventory)ItemBuilderItemBuilderMap with all the current pages itemsGuiFiller that it's used for filling up the GUI in specific waysGuiItem on the slotMap with all the GUI itemsInventory of this GUIItemStackList with all the page items added to the GUIrowsBaseGuiGuiType instead of rowsGui.Gui(int, String) insteadGui.Gui(String) insteadGui.Gui(GuiType, String) insteadItemStack on the InventoryMaterial instead of an ItemStackServerVersion specifiedServerVersion specifiedItemBuilder.from(ItemStack) instead, it's more idiomatic for a builderItemBuilder.from(Material) instead, it's more idiomatic for a builderPaginatedGui.next() to make it work with the specific scrollsPaginatedGui.next() insteadHumanEntityopen(HumanEntity) to use the paginated populator insteadPaginatedGui.populatePage()open(HumanEntity) to preventPaginatedGui.open(HumanEntity) to make it work with the specific scrollsPaginatedGui.open(HumanEntity, int) to make it work with the specific scrollsPaginatedGui.pageSize to be definedPaginatedGui.PaginatedGui(int, int, String) insteadPaginatedGui.PaginatedGui(int, String) insteadPaginatedGui.PaginatedGui(String) insteadPersistentGui.PersistentGui(int, String) insteadPersistentGui.PersistentGui(String) insteadPaginatedGui.previous() to make it work with the specific scrollsPaginatedGui.previous() insteadEnchantment from the itemGuiItem in the specific slotremoveItem(int) with cols and rowsScrollTypeScrollType or page sizeScrollingGuiGuiAction of the current GUI ItemGuiAction to run once the inventory is closed
See InventoryCloseEventGuiAction of a default click on any item
See InventoryClickEventGuiAction of a default click on any item on the top part of the GUI
Top inventory being for example chests etc, instead of the Player inventory
See InventoryClickEventGuiAction of a default drag action
See InventoryDragEventGuiItem to a specific slot on the GUIsetItem(int, GuiItem) to set item that takes a List of slots insteadsetItem(int, GuiItem) to set item that uses ROWS and COLUMNS instead of slotsItemStack of the GUI ItemItemStackItemStackGuiAction to run when the GUI opens
See InventoryOpenEventGuiAction to run when clicking on the outside of the inventory
See InventoryClickEventInventory viewsupdate() to use the paginated openGuiItemupdateItem(int, ItemStack) that takes ROWS and COLUMNS instead of slotsupdateItem(int, ItemStack) but creates a new GuiItemupdateItem(int, GuiItem) that takes ROWS and COLUMNS instead of slotsGuiItem on the slot in the page
Can get the slot from InventoryClickEvent.getSlot()PaginatedGui.updatePageItem(int, ItemStack) that uses ROWS and COLUMNS insteadPaginatedGui.updatePageItem(int, ItemStack) that uses GuiItem insteadPaginatedGui.updatePageItem(int, GuiItem) that uses ROWS and COLUMNS insteadupdateTitle(String) to use the paginated populator instead
Updates the title of the GUI
This method may cause LAG if used on a loopCopyright © 2020. All rights reserved.