void |
BaseGui.addSlotAction(int row,
int col,
@Nullable GuiAction<org.bukkit.event.inventory.InventoryClickEvent> slotAction) |
|
void |
BaseGui.addSlotAction(int slot,
@Nullable GuiAction<org.bukkit.event.inventory.InventoryClickEvent> slotAction) |
Adds a GuiAction for when clicking on a specific slot.
|
void |
GuiItem.setAction(GuiAction<org.bukkit.event.inventory.InventoryClickEvent> action) |
Replaces the GuiAction of the current GUI Item
|
void |
BaseGui.setCloseGuiAction(@Nullable GuiAction<org.bukkit.event.inventory.InventoryCloseEvent> closeGuiAction) |
Sets the GuiAction to run once the inventory is closed.
|
void |
BaseGui.setDefaultClickAction(@Nullable GuiAction<org.bukkit.event.inventory.InventoryClickEvent> defaultClickAction) |
Sets the GuiAction of a default click on any item.
|
void |
BaseGui.setDefaultTopClickAction(@Nullable GuiAction<org.bukkit.event.inventory.InventoryClickEvent> defaultTopClickAction) |
Sets the GuiAction of a default click on any item on the top part of the GUI.
|
void |
BaseGui.setDragAction(@Nullable GuiAction<org.bukkit.event.inventory.InventoryDragEvent> dragAction) |
|
void |
BaseGui.setOpenGuiAction(@Nullable GuiAction<org.bukkit.event.inventory.InventoryOpenEvent> openGuiAction) |
Sets the GuiAction to run when the GUI opens.
|
void |
BaseGui.setOutsideClickAction(@Nullable GuiAction<org.bukkit.event.inventory.InventoryClickEvent> outsideClickAction) |
Sets the GuiAction to run when clicking on the outside of the inventory.
|
void |
BaseGui.setPlayerInventoryAction(@Nullable GuiAction<org.bukkit.event.inventory.InventoryClickEvent> playerInventoryAction) |
|