| Package | Description |
|---|---|
| me.mattstudios.mfgui.gui.guis |
| Modifier and Type | Method and Description |
|---|---|
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
|
void |
GuiItem.setAction(GuiAction<org.bukkit.event.inventory.InventoryClickEvent> action)
Replaces the action of the current GUI Item
|
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.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
|
| Constructor and Description |
|---|
GuiItem(@NotNull org.bukkit.inventory.ItemStack itemStack,
GuiAction<org.bukkit.event.inventory.InventoryClickEvent> action)
Main constructor of the GuiItem
|
Copyright © 2020. All rights reserved.