Skip navigation links
A B C E F G I M N O P R S U V 

A

addEnchantment(Enchantment, int, boolean) - Method in class me.mattstudios.mfgui.gui.components.ItemBuilder
Add enchantment to an item
addEnchantment(Enchantment, int) - Method in class me.mattstudios.mfgui.gui.components.ItemBuilder
Add enchantment to an item
addEnchantment(Enchantment) - Method in class me.mattstudios.mfgui.gui.components.ItemBuilder
Add enchantment to an item
addItem(GuiItem...) - Method in class me.mattstudios.mfgui.gui.guis.BaseGui
Adds GuiItems to the GUI without specific slot It'll set the item to the next empty slot available
addItem(GuiItem) - Method in class me.mattstudios.mfgui.gui.guis.PaginatedGui
Adds an GuiItem to the next available slot in the page area
addItem(GuiItem...) - Method in class me.mattstudios.mfgui.gui.guis.PaginatedGui
Overridden addItem(GuiItem...) to add the items to the page instead
addItem(ItemStack...) - Method in class me.mattstudios.mfgui.gui.guis.PersistentGui
Adds ItemStack to the inventory straight, not the GUI
addItemFlags(ItemFlag...) - Method in class me.mattstudios.mfgui.gui.components.ItemBuilder
Add a custom ItemFlag to the item
addSlotAction(int, GuiAction<InventoryClickEvent>) - Method in class me.mattstudios.mfgui.gui.guis.BaseGui
Adds a GuiAction for when clicking on a specific slot See InventoryClickEvent
addSlotAction(int, int, GuiAction<InventoryClickEvent>) - Method in class me.mattstudios.mfgui.gui.guis.BaseGui
Alternative method for addSlotAction(int, GuiAction) to add a GuiAction to a specific slot using ROWS and COLUMNS instead of slots See InventoryClickEvent
asGuiItem() - Method in class me.mattstudios.mfgui.gui.components.ItemBuilder
 
asGuiItem(GuiAction<InventoryClickEvent>) - Method in class me.mattstudios.mfgui.gui.components.ItemBuilder
 

B

BaseGui - Class in me.mattstudios.mfgui.gui.guis
Base class that every GUI extends Contains all the basics for the GUI to work Main and simplest implementation of this is Gui
BaseGui(int, String) - Constructor for class me.mattstudios.mfgui.gui.guis.BaseGui
Main constructor that takes rows
BaseGui(GuiType, String) - Constructor for class me.mattstudios.mfgui.gui.guis.BaseGui
Alternative constructor that takes GuiType instead of rows number
build() - Method in class me.mattstudios.mfgui.gui.components.ItemBuilder
Builds the item into ItemStack

C

close(HumanEntity) - Method in class me.mattstudios.mfgui.gui.guis.BaseGui
Closes the GUI with a 2s delay (to prevent items from being taken from the Inventory)
CURRENT_VERSION - Static variable in enum me.mattstudios.mfgui.gui.components.ServerVersion
 

E

execute(T) - Method in interface me.mattstudios.mfgui.gui.components.GuiAction
Executes the task passed to it

F

fill(GuiItem) - Method in class me.mattstudios.mfgui.gui.components.GuiFiller
Sets an GuiItem to fill up the entire inventory where there is no other item
fill(List<GuiItem>) - Method in class me.mattstudios.mfgui.gui.components.GuiFiller
Fill empty slots with Multiple GuiItems, goes through list and starts again
fillBetweenPoints(int, int, int, int, GuiItem) - Method in class me.mattstudios.mfgui.gui.components.GuiFiller
Fills rectangle from points within the GUI
fillBetweenPoints(int, int, int, int, List<GuiItem>) - Method in class me.mattstudios.mfgui.gui.components.GuiFiller
Fills rectangle from points within the GUI
fillBorder(GuiItem) - Method in class me.mattstudios.mfgui.gui.components.GuiFiller
Fills the outside section of the GUI with a GuiItem
fillBorder(List<GuiItem>) - Method in class me.mattstudios.mfgui.gui.components.GuiFiller
Fill empty slots with Multiple GuiItems, goes through list and starts again
fillBottom(GuiItem) - Method in class me.mattstudios.mfgui.gui.components.GuiFiller
Fills bottom portion of the GUI
fillBottom(List<GuiItem>) - Method in class me.mattstudios.mfgui.gui.components.GuiFiller
Fills bottom portion of the GUI with alternation
fillTop(GuiItem) - Method in class me.mattstudios.mfgui.gui.components.GuiFiller
Fills top portion of the GUI
fillTop(List<GuiItem>) - Method in class me.mattstudios.mfgui.gui.components.GuiFiller
Fills top portion of the GUI with alternation
from(ItemStack) - Static method in class me.mattstudios.mfgui.gui.components.ItemBuilder
Main method to create ItemBuilder
from(Material) - Static method in class me.mattstudios.mfgui.gui.components.ItemBuilder
Alternative method to create ItemBuilder

G

getByNmsName(String) - Static method in enum me.mattstudios.mfgui.gui.components.ServerVersion
Gets a version from the NMS name
getCurrentPageItems() - Method in class me.mattstudios.mfgui.gui.guis.PaginatedGui
Gets an immutable Map with all the current pages items
getCurrentPageNum() - Method in class me.mattstudios.mfgui.gui.guis.PaginatedGui
Gets the current page number
getFiller() - Method in class me.mattstudios.mfgui.gui.guis.BaseGui
Gets the GuiFiller that it's used for filling up the GUI in specific ways
getGuiItem(int) - Method in class me.mattstudios.mfgui.gui.guis.BaseGui
Gets a specific GuiItem on the slot
getGuiItems() - Method in class me.mattstudios.mfgui.gui.guis.BaseGui
Gets an immutable Map with all the GUI items
getInventory() - Method in class me.mattstudios.mfgui.gui.guis.BaseGui
Gets the main Inventory of this GUI
getInventoryType() - Method in enum me.mattstudios.mfgui.gui.components.GuiType
 
getItemStack() - Method in class me.mattstudios.mfgui.gui.guis.GuiItem
Gets the GuiItem's ItemStack
getLimit() - Method in enum me.mattstudios.mfgui.gui.components.GuiType
 
getNBTTag(ItemStack, String) - Static method in class me.mattstudios.mfgui.gui.components.ItemNBT
Gets the NBT tag based on a given key
getNextPageNum() - Method in class me.mattstudios.mfgui.gui.guis.PaginatedGui
Gets the next page number
getPageItems() - Method in class me.mattstudios.mfgui.gui.guis.PaginatedGui
Gets an immutable List with all the page items added to the GUI
getPrevPageNum() - Method in class me.mattstudios.mfgui.gui.guis.PaginatedGui
Gets the previous page number
getRows() - Method in class me.mattstudios.mfgui.gui.guis.BaseGui
Gets the amount of rows
glow(boolean) - Method in class me.mattstudios.mfgui.gui.components.ItemBuilder
Makes the Item glow
Gui - Class in me.mattstudios.mfgui.gui.guis
Standard GUI implementation of BaseGui
Gui(int, String) - Constructor for class me.mattstudios.mfgui.gui.guis.Gui
Main constructor for the GUI
Gui(String) - Constructor for class me.mattstudios.mfgui.gui.guis.Gui
Alternative constructor that defaults to 1 row
Gui(GuiType, String) - Constructor for class me.mattstudios.mfgui.gui.guis.Gui
Main constructor that takes a GuiType instead of rows
Gui(Plugin, int, String) - Constructor for class me.mattstudios.mfgui.gui.guis.Gui
Deprecated.
No longer requires the plugin's instance to be passed use Gui.Gui(int, String) instead
Gui(Plugin, String) - Constructor for class me.mattstudios.mfgui.gui.guis.Gui
Deprecated.
No longer requires the plugin's instance to be passed use Gui.Gui(String) instead
Gui(Plugin, GuiType, String) - Constructor for class me.mattstudios.mfgui.gui.guis.Gui
Deprecated.
No longer requires the plugin's instance to be passed use Gui.Gui(GuiType, String) instead
GuiAction<T extends org.bukkit.event.Event> - Interface in me.mattstudios.mfgui.gui.components
 
GuiException - Exception in me.mattstudios.mfgui.gui.components
 
GuiException(String) - Constructor for exception me.mattstudios.mfgui.gui.components.GuiException
 
GuiFiller - Class in me.mattstudios.mfgui.gui.components
 
GuiFiller(BaseGui) - Constructor for class me.mattstudios.mfgui.gui.components.GuiFiller
 
GuiItem - Class in me.mattstudios.mfgui.gui.guis
GuiItem represents the ItemStack on the Inventory
GuiItem(ItemStack, GuiAction<InventoryClickEvent>) - Constructor for class me.mattstudios.mfgui.gui.guis.GuiItem
Main constructor of the GuiItem
GuiItem(ItemStack) - Constructor for class me.mattstudios.mfgui.gui.guis.GuiItem
Secondary constructor with no action
GuiItem(Material) - Constructor for class me.mattstudios.mfgui.gui.guis.GuiItem
Alternate constructor that takes Material instead of an ItemStack but without a GuiAction
GuiItem(Material, GuiAction<InventoryClickEvent>) - Constructor for class me.mattstudios.mfgui.gui.guis.GuiItem
Alternate constructor that takes Material instead of an ItemStack
GuiListener - Class in me.mattstudios.mfgui.gui.guis
 
GuiListener() - Constructor for class me.mattstudios.mfgui.gui.guis.GuiListener
 
GuiType - Enum in me.mattstudios.mfgui.gui.components
 

I

isLegacy() - Method in enum me.mattstudios.mfgui.gui.components.ServerVersion
Checks if the server is using a legacy version
isNewerThan(ServerVersion) - Method in enum me.mattstudios.mfgui.gui.components.ServerVersion
Checks if the current version is newer than the ServerVersion specified
isOlderThan(ServerVersion) - Method in enum me.mattstudios.mfgui.gui.components.ServerVersion
Checks if the current version is older than the ServerVersion specified
isUpdating() - Method in class me.mattstudios.mfgui.gui.guis.BaseGui
Checks whether or not the GUI is updating
ItemBuilder - Class in me.mattstudios.mfgui.gui.components
 
ItemBuilder(ItemStack) - Constructor for class me.mattstudios.mfgui.gui.components.ItemBuilder
Deprecated.
Use ItemBuilder.from(ItemStack) instead, it's more idiomatic for a builder
ItemBuilder(Material) - Constructor for class me.mattstudios.mfgui.gui.components.ItemBuilder
Deprecated.
Use ItemBuilder.from(Material) instead, it's more idiomatic for a builder
ItemNBT - Class in me.mattstudios.mfgui.gui.components
Class to set / get NBT tags from items
ItemNBT() - Constructor for class me.mattstudios.mfgui.gui.components.ItemNBT
 

M

me.mattstudios.mfgui.gui.components - package me.mattstudios.mfgui.gui.components
 
me.mattstudios.mfgui.gui.guis - package me.mattstudios.mfgui.gui.guis
 

N

next() - Method in class me.mattstudios.mfgui.gui.guis.PaginatedGui
Goes to the next page
next() - Method in class me.mattstudios.mfgui.gui.guis.ScrollingGui
Overrides PaginatedGui.next() to make it work with the specific scrolls
nextPage() - Method in class me.mattstudios.mfgui.gui.guis.PaginatedGui
Deprecated.
NMS_VERSION - Static variable in enum me.mattstudios.mfgui.gui.components.ServerVersion
 

O

onGuiCLick(InventoryClickEvent) - Method in class me.mattstudios.mfgui.gui.guis.GuiListener
Handles what happens when a player clicks on the GUI
onGuiClose(InventoryCloseEvent) - Method in class me.mattstudios.mfgui.gui.guis.GuiListener
Handles what happens when the GUI is closed
onGuiDrag(InventoryDragEvent) - Method in class me.mattstudios.mfgui.gui.guis.GuiListener
Handles what happens when a player clicks on the GUI
onGuiOpen(InventoryOpenEvent) - Method in class me.mattstudios.mfgui.gui.guis.GuiListener
Handles what happens when the GUI is opened
open(HumanEntity) - Method in class me.mattstudios.mfgui.gui.guis.BaseGui
Opens the GUI for a HumanEntity
open(HumanEntity) - Method in class me.mattstudios.mfgui.gui.guis.PaginatedGui
Overrides open(HumanEntity) to use the paginated populator instead
open(HumanEntity, int) - Method in class me.mattstudios.mfgui.gui.guis.PaginatedGui
Specific open method for the Paginated GUI Uses PaginatedGui.populatePage()
open(HumanEntity) - Method in class me.mattstudios.mfgui.gui.guis.PersistentGui
Overridden open(HumanEntity) to prevent
open(HumanEntity) - Method in class me.mattstudios.mfgui.gui.guis.ScrollingGui
Overrides PaginatedGui.open(HumanEntity) to make it work with the specific scrolls
open(HumanEntity, int) - Method in class me.mattstudios.mfgui.gui.guis.ScrollingGui
Overrides PaginatedGui.open(HumanEntity, int) to make it work with the specific scrolls

P

PACKAGE_NAME - Static variable in enum me.mattstudios.mfgui.gui.components.ServerVersion
 
PaginatedGui - Class in me.mattstudios.mfgui.gui.guis
GUI that allows you to have multiple pages
PaginatedGui(int, int, String) - Constructor for class me.mattstudios.mfgui.gui.guis.PaginatedGui
Main constructor of the PaginatedGui
PaginatedGui(int, String) - Constructor for class me.mattstudios.mfgui.gui.guis.PaginatedGui
Alternative constructor that doesn't require the PaginatedGui.pageSize to be defined
PaginatedGui(String) - Constructor for class me.mattstudios.mfgui.gui.guis.PaginatedGui
Alternative constructor that only requires title
PaginatedGui(Plugin, int, int, String) - Constructor for class me.mattstudios.mfgui.gui.guis.PaginatedGui
Deprecated.
No longer requires the plugin's instance to be passed use PaginatedGui.PaginatedGui(int, int, String) instead
PaginatedGui(Plugin, int, String) - Constructor for class me.mattstudios.mfgui.gui.guis.PaginatedGui
Deprecated.
No longer requires the plugin's instance to be passed use PaginatedGui.PaginatedGui(int, String) instead
PaginatedGui(Plugin, String) - Constructor for class me.mattstudios.mfgui.gui.guis.PaginatedGui
Deprecated.
No longer requires the plugin's instance to be passed use PaginatedGui.PaginatedGui(String) instead
PersistentGui - Class in me.mattstudios.mfgui.gui.guis
GUI that does not clear it's items once it's closed
PersistentGui(int, String) - Constructor for class me.mattstudios.mfgui.gui.guis.PersistentGui
Main constructor of the Persistent GUI
PersistentGui(String) - Constructor for class me.mattstudios.mfgui.gui.guis.PersistentGui
Alternative constructor that does not require rows
PersistentGui(Plugin, int, String) - Constructor for class me.mattstudios.mfgui.gui.guis.PersistentGui
Deprecated.
No longer requires the plugin's instance to be passed use PersistentGui.PersistentGui(int, String) instead
PersistentGui(Plugin, String) - Constructor for class me.mattstudios.mfgui.gui.guis.PersistentGui
Deprecated.
No longer requires the plugin's instance to be passed use PersistentGui.PersistentGui(String) instead
previous() - Method in class me.mattstudios.mfgui.gui.guis.PaginatedGui
Goes to the previous page if possible
previous() - Method in class me.mattstudios.mfgui.gui.guis.ScrollingGui
Overrides PaginatedGui.previous() to make it work with the specific scrolls
prevPage() - Method in class me.mattstudios.mfgui.gui.guis.PaginatedGui
Deprecated.

R

removeEnchantment(Enchantment) - Method in class me.mattstudios.mfgui.gui.components.ItemBuilder
Removes a certain Enchantment from the item

S

ScrollingGui - Class in me.mattstudios.mfgui.gui.guis
GUI that allows you to scroll through items
ScrollingGui(int, int, String, ScrollType) - Constructor for class me.mattstudios.mfgui.gui.guis.ScrollingGui
Main constructor of the Scrolling GUI
ScrollingGui(int, int, String) - Constructor for class me.mattstudios.mfgui.gui.guis.ScrollingGui
Alternative constructor that doesn't require the ScrollType
ScrollingGui(int, String) - Constructor for class me.mattstudios.mfgui.gui.guis.ScrollingGui
Alternative constructor that doesn't require the ScrollType or page size
ScrollingGui(int, String, ScrollType) - Constructor for class me.mattstudios.mfgui.gui.guis.ScrollingGui
Alternative constructor that doesn't require the page size
ScrollingGui(String) - Constructor for class me.mattstudios.mfgui.gui.guis.ScrollingGui
Alternative constructor that only requires title
ScrollingGui(String, ScrollType) - Constructor for class me.mattstudios.mfgui.gui.guis.ScrollingGui
Alternative constructor that doesn't require the rows or page size
ScrollType - Enum in me.mattstudios.mfgui.gui.components
Possible Scroll types for the ScrollingGui
ServerVersion - Enum in me.mattstudios.mfgui.gui.components
 
setAction(GuiAction<InventoryClickEvent>) - Method in class me.mattstudios.mfgui.gui.guis.GuiItem
Replaces the GuiAction of the current GUI Item
setAmount(int) - Method in class me.mattstudios.mfgui.gui.components.ItemBuilder
Sets the amount of items
setCloseGuiAction(GuiAction<InventoryCloseEvent>) - Method in class me.mattstudios.mfgui.gui.guis.BaseGui
Sets the GuiAction to run once the inventory is closed See InventoryCloseEvent
setDefaultClickAction(GuiAction<InventoryClickEvent>) - Method in class me.mattstudios.mfgui.gui.guis.BaseGui
Sets the GuiAction of a default click on any item See InventoryClickEvent
setDefaultTopClickAction(GuiAction<InventoryClickEvent>) - Method in class me.mattstudios.mfgui.gui.guis.BaseGui
Sets the GuiAction 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 InventoryClickEvent
setDragAction(GuiAction<InventoryDragEvent>) - Method in class me.mattstudios.mfgui.gui.guis.BaseGui
Sets the GuiAction of a default drag action See InventoryDragEvent
setItem(int, GuiItem) - Method in class me.mattstudios.mfgui.gui.guis.BaseGui
Sets the GuiItem to a specific slot on the GUI
setItem(List<Integer>, GuiItem) - Method in class me.mattstudios.mfgui.gui.guis.BaseGui
Alternative setItem(int, GuiItem) to set item that takes a List of slots instead
setItem(int, int, GuiItem) - Method in class me.mattstudios.mfgui.gui.guis.BaseGui
Alternative setItem(int, GuiItem) to set item that uses ROWS and COLUMNS instead of slots
setItemStack(ItemStack) - Method in class me.mattstudios.mfgui.gui.guis.GuiItem
Replaces the ItemStack of the GUI Item
setLore(String...) - Method in class me.mattstudios.mfgui.gui.components.ItemBuilder
Set the lore lines of an item
setLore(List<String>) - Method in class me.mattstudios.mfgui.gui.components.ItemBuilder
Set the lore lines of an item
setName(String) - Method in class me.mattstudios.mfgui.gui.components.ItemBuilder
Set display name of the item
setNbt(String, String) - Method in class me.mattstudios.mfgui.gui.components.ItemBuilder
Sets NBT tag to the ItemStack
setNBTTag(ItemStack, String, String) - Static method in class me.mattstudios.mfgui.gui.components.ItemNBT
Sets an NBT tag to the an ItemStack
setOpenGuiAction(GuiAction<InventoryOpenEvent>) - Method in class me.mattstudios.mfgui.gui.guis.BaseGui
Sets the GuiAction to run when the GUI opens See InventoryOpenEvent
setOutsideClickAction(GuiAction<InventoryClickEvent>) - Method in class me.mattstudios.mfgui.gui.guis.BaseGui
Sets the GuiAction to run when clicking on the outside of the inventory See InventoryClickEvent
setPageSize(int) - Method in class me.mattstudios.mfgui.gui.guis.PaginatedGui
Sets the page size
setRows(int) - Method in class me.mattstudios.mfgui.gui.guis.BaseGui
Sets the number of rows the GUI should have
setSkullOwner(OfflinePlayer) - Method in class me.mattstudios.mfgui.gui.components.ItemBuilder
Sets skull owner via bukkit methods
setSkullTexture(String) - Method in class me.mattstudios.mfgui.gui.components.ItemBuilder
Sets the skull texture
setUnbreakable(boolean) - Method in class me.mattstudios.mfgui.gui.components.ItemBuilder
Sets the item as unbreakable
setUpdating(boolean) - Method in class me.mattstudios.mfgui.gui.guis.BaseGui
Sets the updating status of the GUI

U

update() - Method in class me.mattstudios.mfgui.gui.guis.BaseGui
Updates the GUI for all the Inventory views
update() - Method in class me.mattstudios.mfgui.gui.guis.PaginatedGui
Overridden update() to use the paginated open
updateItem(int, ItemStack) - Method in class me.mattstudios.mfgui.gui.guis.BaseGui
Updates the specified item in the GUI at runtime, without creating a new GuiItem
updateItem(int, int, ItemStack) - Method in class me.mattstudios.mfgui.gui.guis.BaseGui
Alternative updateItem(int, ItemStack) that takes ROWS and COLUMNS instead of slots
updateItem(int, GuiItem) - Method in class me.mattstudios.mfgui.gui.guis.BaseGui
Alternative updateItem(int, ItemStack) but creates a new GuiItem
updateItem(int, int, GuiItem) - Method in class me.mattstudios.mfgui.gui.guis.BaseGui
Alternative updateItem(int, GuiItem) that takes ROWS and COLUMNS instead of slots
updatePageItem(int, ItemStack) - Method in class me.mattstudios.mfgui.gui.guis.PaginatedGui
Updates the page GuiItem on the slot in the page Can get the slot from InventoryClickEvent.getSlot()
updatePageItem(int, int, ItemStack) - Method in class me.mattstudios.mfgui.gui.guis.PaginatedGui
Alternative PaginatedGui.updatePageItem(int, ItemStack) that uses ROWS and COLUMNS instead
updatePageItem(int, GuiItem) - Method in class me.mattstudios.mfgui.gui.guis.PaginatedGui
updatePageItem(int, int, GuiItem) - Method in class me.mattstudios.mfgui.gui.guis.PaginatedGui
Alternative PaginatedGui.updatePageItem(int, GuiItem) that uses ROWS and COLUMNS instead
updateTitle(String) - Method in class me.mattstudios.mfgui.gui.guis.BaseGui
Updates the title of the GUI This method may cause LAG if used on a loop
updateTitle(String) - Method in class me.mattstudios.mfgui.gui.guis.PaginatedGui
Overrides updateTitle(String) to use the paginated populator instead Updates the title of the GUI This method may cause LAG if used on a loop

V

valueOf(String) - Static method in enum me.mattstudios.mfgui.gui.components.GuiType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum me.mattstudios.mfgui.gui.components.ScrollType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum me.mattstudios.mfgui.gui.components.ServerVersion
Returns the enum constant of this type with the specified name.
values() - Static method in enum me.mattstudios.mfgui.gui.components.GuiType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum me.mattstudios.mfgui.gui.components.ScrollType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum me.mattstudios.mfgui.gui.components.ServerVersion
Returns an array containing the constants of this enum type, in the order they are declared.
A B C E F G I M N O P R S U V 
Skip navigation links

Copyright © 2020. All rights reserved.