| Package | Description |
|---|---|
| me.mattstudios.mfgui.gui.components | |
| me.mattstudios.mfgui.gui.guis |
| Constructor and Description |
|---|
GuiFiller(BaseGui gui) |
| Modifier and Type | Class and Description |
|---|---|
class |
Gui |
class |
PaginatedGui |
class |
PersistentGui |
| Modifier and Type | Method and Description |
|---|---|
BaseGui |
PaginatedGui.addItem(GuiItem... items)
Overridden method to add the items to the page instead
|
BaseGui |
BaseGui.addItem(GuiItem... items)
Adds items to the GUI without specific slot
|
BaseGui |
PaginatedGui.addItem(@NotNull GuiItem item)
Adds an item to the next empty slot in the GUI
|
BaseGui |
BaseGui.addSlotAction(int slot,
GuiAction<org.bukkit.event.inventory.InventoryClickEvent> slotAction)
Adds a Gui Action for when clicking on a specific slot
|
BaseGui |
BaseGui.addSlotAction(int row,
int col,
GuiAction<org.bukkit.event.inventory.InventoryClickEvent> slotAction)
Adds a Gui Action for when clicking on a specific slot with row and col instead
|
BaseGui |
BaseGui.setCloseGuiAction(GuiAction<org.bukkit.event.inventory.InventoryCloseEvent> closeGuiAction)
Sets the action of what to do when GUI closes
|
BaseGui |
BaseGui.setDefaultClickAction(GuiAction<org.bukkit.event.inventory.InventoryClickEvent> defaultClickAction)
Sets the action of a default click on any item
|
BaseGui |
BaseGui.setDefaultTopClickAction(GuiAction<org.bukkit.event.inventory.InventoryClickEvent> defaultTopClickAction)
Sets the action of a default click on any item on the top part of the GUI
|
BaseGui |
BaseGui.setDragAction(GuiAction<org.bukkit.event.inventory.InventoryDragEvent> dragAction)
Sets the action of a default drag action
|
BaseGui |
BaseGui.setItem(int slot,
@NotNull GuiItem guiItem)
Add an item to the GUI
|
BaseGui |
BaseGui.setItem(int row,
int col,
@NotNull GuiItem guiItem)
Add an item to the GUI
|
BaseGui |
BaseGui.setItem(@NotNull List<Integer> slots,
@NotNull GuiItem guiItem)
Sets a GUI item to many slots
|
BaseGui |
BaseGui.setOpenGuiAction(GuiAction<org.bukkit.event.inventory.InventoryOpenEvent> openGuiAction)
Sets the action of what to do when GUI opens
|
BaseGui |
BaseGui.setOutsideClickAction(GuiAction<org.bukkit.event.inventory.InventoryClickEvent> outsideClickAction)
Sets the action of when clicking on the outside of the inventory
|
BaseGui |
PaginatedGui.setPageSize(int pageSize)
Sets the page size
|
BaseGui |
BaseGui.setRows(int rows)
Sets the number of rows the GUI should have
|
BaseGui |
BaseGui.updateTitle(@NotNull String title)
Updates the title of the GUI
This method may cause LAG if used on a loop
|
Copyright © 2020. All rights reserved.