Index

A C D E F G I N O Q R S V W 
All Classes and Interfaces|All Packages|Serialized Form

A

addFlags(ItemFlag...) - Method in class de.leonheuer.mcguiapi.utils.ItemBuilder
Adds all given item flags to the item.
amount(int) - Method in class de.leonheuer.mcguiapi.utils.ItemBuilder
Sets the amount of the item.
asItem() - Method in class de.leonheuer.mcguiapi.utils.ItemBuilder
Gets the current item stack that has been built by the builder.

C

calculateIndex(int, int) - Static method in class de.leonheuer.mcguiapi.utils.GUIUtils
 
CLOSE - Enum constant in enum class de.leonheuer.mcguiapi.enums.CloseCause
 
CloseCause - Enum Class in de.leonheuer.mcguiapi.enums
 
createGUI(int) - Method in class de.leonheuer.mcguiapi.gui.GUIFactory
Creates a GUI with the specified amount of rows.
createGUI(int, String) - Method in class de.leonheuer.mcguiapi.gui.GUIFactory
Creates a GUI with the specified amount of rows and title.

D

de.leonheuer.mcguiapi.enums - package de.leonheuer.mcguiapi.enums
 
de.leonheuer.mcguiapi.exceptions - package de.leonheuer.mcguiapi.exceptions
 
de.leonheuer.mcguiapi.gui - package de.leonheuer.mcguiapi.gui
 
de.leonheuer.mcguiapi.utils - package de.leonheuer.mcguiapi.utils
 
DEATH - Enum constant in enum class de.leonheuer.mcguiapi.enums.CloseCause
 
description(String...) - Method in class de.leonheuer.mcguiapi.utils.ItemBuilder
Sets the description of the item

E

enchant(Enchantment, int) - Method in class de.leonheuer.mcguiapi.utils.ItemBuilder
Enchants the item with the given enchantment and level.

F

ForbiddenRowAmountException - Exception in de.leonheuer.mcguiapi.exceptions
 
ForbiddenRowAmountException(String) - Constructor for exception de.leonheuer.mcguiapi.exceptions.ForbiddenRowAmountException
 
formatPattern(GUIPattern) - Method in class de.leonheuer.mcguiapi.gui.GUI
Formats the gui with the specified pattern.

G

getClickActions() - Method in class de.leonheuer.mcguiapi.gui.GUI
 
getCloseActions() - Method in class de.leonheuer.mcguiapi.gui.GUI
 
getDefaultClickAction() - Method in class de.leonheuer.mcguiapi.gui.GUI
 
getDefaultCloseAction() - Method in class de.leonheuer.mcguiapi.gui.GUI
 
getIndex() - Method in class de.leonheuer.mcguiapi.gui.GUIPattern
 
getInv() - Method in class de.leonheuer.mcguiapi.gui.GUI
 
getLines() - Method in class de.leonheuer.mcguiapi.gui.GUIPattern
 
getPatternItems() - Method in class de.leonheuer.mcguiapi.gui.GUIPattern
 
getUnStealableSlots() - Method in class de.leonheuer.mcguiapi.gui.GUI
 
getViewers() - Method in class de.leonheuer.mcguiapi.gui.GUI
 
getViewersList() - Method in class de.leonheuer.mcguiapi.gui.GUI
Gets an unmodifiable list of players currently looking at the GUI.
glowing() - Method in class de.leonheuer.mcguiapi.utils.ItemBuilder
Makes the item glow.
GUI - Class in de.leonheuer.mcguiapi.gui
GUI class that contains items with different click actions.
GUI(int) - Constructor for class de.leonheuer.mcguiapi.gui.GUI
 
GUI(int, String) - Constructor for class de.leonheuer.mcguiapi.gui.GUI
 
GUIFactory - Class in de.leonheuer.mcguiapi.gui
Class that can create new GUIs and register their listeners to a Minecraft Plugin.
GUIFactory(JavaPlugin) - Constructor for class de.leonheuer.mcguiapi.gui.GUIFactory
 
GUIListener - Class in de.leonheuer.mcguiapi.gui
 
GUIListener(GUI) - Constructor for class de.leonheuer.mcguiapi.gui.GUIListener
 
GUIPattern - Class in de.leonheuer.mcguiapi.gui
Builder class for a GUI pattern.
GUIUtils - Class in de.leonheuer.mcguiapi.utils
 
GUIUtils() - Constructor for class de.leonheuer.mcguiapi.utils.GUIUtils
 

I

ItemBuilder - Class in de.leonheuer.mcguiapi.utils
Builder utility class for easily creating item stacks.

N

name(String) - Method in class de.leonheuer.mcguiapi.utils.ItemBuilder
Sets the name of the item.

O

of(ItemStack) - Static method in class de.leonheuer.mcguiapi.utils.ItemBuilder
Creates a new builder instance for creating an item stack.
of(Material) - Static method in class de.leonheuer.mcguiapi.utils.ItemBuilder
Creates a new builder instance for creating an item stack.
ofPattern(String...) - Static method in class de.leonheuer.mcguiapi.gui.GUIPattern
Creates a new GUIPattern with the specified lines of patterns.
onInventoryClick(InventoryClickEvent) - Method in class de.leonheuer.mcguiapi.gui.GUIListener
 
onInventoryClose(InventoryCloseEvent) - Method in class de.leonheuer.mcguiapi.gui.GUIListener
 
onPlayerDeath(PlayerDeathEvent) - Method in class de.leonheuer.mcguiapi.gui.GUIListener
 
onPlayerQuit(PlayerQuitEvent) - Method in class de.leonheuer.mcguiapi.gui.GUIListener
 

Q

QUIT - Enum constant in enum class de.leonheuer.mcguiapi.enums.CloseCause
 

R

removeClickAction(int) - Method in class de.leonheuer.mcguiapi.gui.GUI
Removes the click action of the specified slot.
removeClickAction(int, int) - Method in class de.leonheuer.mcguiapi.gui.GUI
Removes the click action of the specified slot.
removeCloseAction(CloseCause) - Method in class de.leonheuer.mcguiapi.gui.GUI
Removes the specified close action.
removeItem(int) - Method in class de.leonheuer.mcguiapi.gui.GUI
Removes the item at the specified slot from the inventory.
removeItem(int, int) - Method in class de.leonheuer.mcguiapi.gui.GUI
Removes the item at the specified slot from the inventory.
reset() - Method in class de.leonheuer.mcguiapi.gui.GUI
Resets all contents and actions of the GUI.

S

setClickAction(int, int, Consumer<InventoryClickEvent>) - Method in class de.leonheuer.mcguiapi.gui.GUI
Sets an action to perform when clicking the specified slot.
setClickAction(int, Consumer<InventoryClickEvent>) - Method in class de.leonheuer.mcguiapi.gui.GUI
Sets an action to perform when clicking the specified slot.
setCloseAction(CloseCause, BiConsumer<Event, Player>) - Method in class de.leonheuer.mcguiapi.gui.GUI
Sets an action to perform when the specified cause leads to closing the GUI.
setDefaultClickAction(Consumer<InventoryClickEvent>) - Method in class de.leonheuer.mcguiapi.gui.GUI
Sets an action that will always be performed when something in the GUI is clicked.
setDefaultCloseAction(Consumer<Event>) - Method in class de.leonheuer.mcguiapi.gui.GUI
Sets an action that will always be performed when the GUI is closed.
setItem(int, int, ItemStack) - Method in class de.leonheuer.mcguiapi.gui.GUI
Sets an item at the given slot.
setItem(int, int, ItemStack, boolean) - Method in class de.leonheuer.mcguiapi.gui.GUI
Sets an item at the given slot.
setItem(int, int, ItemStack, boolean, Consumer<InventoryClickEvent>) - Method in class de.leonheuer.mcguiapi.gui.GUI
Sets an item at the given slot and registers an action to be executed when the item is clicked.
setItem(int, int, ItemStack, Consumer<InventoryClickEvent>) - Method in class de.leonheuer.mcguiapi.gui.GUI
Sets an item at the given slot and registers an action to be executed when the item is clicked.
setItem(int, ItemStack) - Method in class de.leonheuer.mcguiapi.gui.GUI
Sets an item at the given slot.
setItem(int, ItemStack, boolean) - Method in class de.leonheuer.mcguiapi.gui.GUI
Sets an item at the given slot.
setItem(int, ItemStack, boolean, Consumer<InventoryClickEvent>) - Method in class de.leonheuer.mcguiapi.gui.GUI
Sets an item at the given slot and registers an action to be executed when the item is clicked.
setItem(int, ItemStack, Consumer<InventoryClickEvent>) - Method in class de.leonheuer.mcguiapi.gui.GUI
Sets an item at the given slot and registers an action to be executed when the item is clicked.
setStealable(int, boolean) - Method in class de.leonheuer.mcguiapi.gui.GUI
Sets whether the slot of the GUI should allow items to be stolen from.
setStealable(int, int, boolean) - Method in class de.leonheuer.mcguiapi.gui.GUI
Sets whether the slot of the GUI should allow items to be stolen from.
show(Player) - Method in class de.leonheuer.mcguiapi.gui.GUI
Shows the GUI to the specified player.
startAtLine(int) - Method in class de.leonheuer.mcguiapi.gui.GUIPattern
The line in the GUI to start the pattern at

V

valueOf(String) - Static method in enum class de.leonheuer.mcguiapi.enums.CloseCause
Returns the enum constant of this class with the specified name.
values() - Static method in enum class de.leonheuer.mcguiapi.enums.CloseCause
Returns an array containing the constants of this enum class, in the order they are declared.

W

withMaterial(char, ItemStack) - Method in class de.leonheuer.mcguiapi.gui.GUIPattern
Defines what item a character in the pattern should be replaced with.
A C D E F G I N O Q R S V W 
All Classes and Interfaces|All Packages|Serialized Form