| Package | Description |
|---|---|
| me.mattstudios.mfgui.gui.components | |
| me.mattstudios.mfgui.gui.guis |
| Modifier and Type | Method and Description |
|---|---|
void |
GuiFiller.fill(@NotNull GuiItem guiItem)
Sets an GuiItem to fill up the entire inventory where there is no other item
|
void |
GuiFiller.fillBetweenPoints(int rowFrom,
int colFrom,
int rowTo,
int colTo,
@NotNull GuiItem guiItem)
Fills rectangle from points within the GUI
|
void |
GuiFiller.fillBorder(@NotNull GuiItem guiItem)
Fills the outside section of the GUI with a GuiItem
|
void |
GuiFiller.fillBottom(@NotNull GuiItem guiItem)
Fills bottom portion of the GUI
|
void |
GuiFiller.fillTop(@NotNull GuiItem guiItem)
Fills top portion of the GUI
|
| Modifier and Type | Method and Description |
|---|---|
GuiItem |
BaseGui.getGuiItem(int slot)
Gets a specific GuiItem on the slot
|
| Modifier and Type | Method and Description |
|---|---|
Map<Integer,GuiItem> |
PaginatedGui.getCurrentPageItems()
Gets the items on the current page
|
Map<Integer,GuiItem> |
BaseGui.getGuiItems()
Gets map with all the GUI items
|
List<GuiItem> |
PaginatedGui.getPageItems()
Gets all the items added to the GUI
|
| 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.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
|
void |
BaseGui.updateItem(int slot,
@NotNull GuiItem item)
Used for updating the current item in the GUI at runtime
|
void |
BaseGui.updateItem(int row,
int col,
@NotNull GuiItem item)
Used for updating the current item in the GUI at runtime
|
void |
PaginatedGui.updatePageItem(int slot,
@NotNull GuiItem item)
Used for updating the current item in the page at runtime
|
void |
PaginatedGui.updatePageItem(int row,
int col,
@NotNull GuiItem item)
Used for updating the current item in the page at runtime
|
Copyright © 2020. All rights reserved.