Skip navigation links
A B C D G H I N O P R S U V 

A

addElement(GuiElement) - Method in class de.themoep.inventorygui.GuiElementGroup
Add an element to this group
addElement(GuiElement) - Method in class de.themoep.inventorygui.InventoryGui
Add an element to the gui
addElement(char, ItemStack, GuiElement.Action) - Method in class de.themoep.inventorygui.InventoryGui
Create and add a StaticGuiElement in one quick method.
addElement(char, ItemStack) - Method in class de.themoep.inventorygui.InventoryGui
Create and add a StaticGuiElement that has no action.
addElement(char, MaterialData, GuiElement.Action) - Method in class de.themoep.inventorygui.InventoryGui
Create and add a StaticGuiElement in one quick method.
addElement(char, Material, byte, GuiElement.Action) - Method in class de.themoep.inventorygui.InventoryGui
Create and add a StaticGuiElement
addElement(char, Material, GuiElement.Action) - Method in class de.themoep.inventorygui.InventoryGui
Create and add a StaticGuiElement
addElements(GuiElement...) - Method in class de.themoep.inventorygui.GuiElementGroup
Add elements to this group
addElements(Collection<GuiElement>) - Method in class de.themoep.inventorygui.GuiElementGroup
Add elements to this group
addElements(GuiElement...) - Method in class de.themoep.inventorygui.InventoryGui
Add multiple elements to the gui
addElements(Collection<GuiElement>) - Method in class de.themoep.inventorygui.InventoryGui
Add multiple elements to the gui
addHistory(HumanEntity, InventoryGui) - Static method in class de.themoep.inventorygui.InventoryGui
Add a new history entry to the end of the history

B

build() - Method in class de.themoep.inventorygui.InventoryGui
Build the gui
build(InventoryHolder) - Method in class de.themoep.inventorygui.InventoryGui
Set the gui's owner and build it

C

clearHistory(HumanEntity) - Static method in class de.themoep.inventorygui.InventoryGui
Clear the history of a player
Click(InventoryGui, int, GuiElement, ClickType, InventoryClickEvent) - Constructor for class de.themoep.inventorygui.GuiElement.Click
 
close() - Method in class de.themoep.inventorygui.InventoryGui
Closes the GUI for everyone viewing it
close(boolean) - Method in class de.themoep.inventorygui.InventoryGui
Close the GUI for everyone viewing it
Close(HumanEntity, InventoryGui, InventoryCloseEvent) - Constructor for class de.themoep.inventorygui.InventoryGui.Close
 

D

de.themoep.inventorygui - package de.themoep.inventorygui
 
destroy() - Method in class de.themoep.inventorygui.InventoryGui
Destroy this GUI.
draw() - Method in class de.themoep.inventorygui.InventoryGui
Draw the elements in the inventory.
DynamicGuiElement - Class in de.themoep.inventorygui
Represents an element in a gui that will query all it's data when drawn.
DynamicGuiElement(char, Supplier<GuiElement>) - Constructor for class de.themoep.inventorygui.DynamicGuiElement
Represents an element in a gui that will query all it's data when drawn.

G

get(InventoryHolder) - Static method in class de.themoep.inventorygui.InventoryGui
Get the GUI registered to an InventoryHolder
getAction() - Method in class de.themoep.inventorygui.DynamicGuiElement
 
getAction() - Method in class de.themoep.inventorygui.GuiElement
Get the action that is executed when clicking on this element
getApplyStorage() - Method in class de.themoep.inventorygui.GuiStorageElement
Get the runnable that applies the storage
getCachedElement() - Method in class de.themoep.inventorygui.DynamicGuiElement
Get the cached element, creates a new one if there is none
getCloseAction() - Method in class de.themoep.inventorygui.InventoryGui
Get the action that is run when this GUI is closed
getElement() - Method in class de.themoep.inventorygui.GuiElement.Click
Get the element that was clicked
getElement(int) - Method in class de.themoep.inventorygui.GuiElementGroup
Get the element in a certain slot
getElement(int, int) - Method in class de.themoep.inventorygui.GuiElementGroup
Get the element in a certain slot on a certain page
getElement() - Method in class de.themoep.inventorygui.GuiStorageElement.ValidatorInfo
 
getElement(int) - Method in class de.themoep.inventorygui.InventoryGui
Get element in a certain slot
getEvent() - Method in class de.themoep.inventorygui.GuiElement.Click
Get the event of the click
getEvent() - Method in class de.themoep.inventorygui.InventoryGui.Close
 
getFiller() - Method in class de.themoep.inventorygui.GuiElementGroup
Get the filler element
getFiller() - Method in class de.themoep.inventorygui.InventoryGui
Get the filler element
getGui() - Method in class de.themoep.inventorygui.GuiElement.Click
 
getGui() - Method in class de.themoep.inventorygui.InventoryGui.Close
 
getGui() - Method in class de.themoep.inventorygui.InventoryGui.Holder
 
getHistory(HumanEntity) - Static method in class de.themoep.inventorygui.InventoryGui
Get the history of a player
getInventory() - Method in class de.themoep.inventorygui.InventoryGui.Holder
 
getItem(int) - Method in class de.themoep.inventorygui.DynamicGuiElement
 
getItem(int) - Method in class de.themoep.inventorygui.GuiElement
Get the item that is displayed by this element on a certain page
getItem(int) - Method in class de.themoep.inventorygui.GuiElementGroup
 
getItem(int) - Method in class de.themoep.inventorygui.GuiPageElement
 
getItem(int) - Method in class de.themoep.inventorygui.GuiStateElement
 
getItem() - Method in class de.themoep.inventorygui.GuiStateElement.State
Get the ItemStack that represents this state.
getItem(int) - Method in class de.themoep.inventorygui.GuiStorageElement
 
getItem() - Method in class de.themoep.inventorygui.GuiStorageElement.ValidatorInfo
 
getItem(int) - Method in class de.themoep.inventorygui.StaticGuiElement
 
getItemValidator() - Method in class de.themoep.inventorygui.GuiStorageElement
Get the item validator
getKey() - Method in class de.themoep.inventorygui.GuiStateElement.State
Get the string key of the state.
getLastCached() - Method in class de.themoep.inventorygui.DynamicGuiElement
Get the time at which this element was last cached
getNumber() - Method in class de.themoep.inventorygui.StaticGuiElement
Get the number that this element should display
getOpen(HumanEntity) - Static method in class de.themoep.inventorygui.InventoryGui
Get the GUI that a player has currently open
getOutsideAction() - Method in class de.themoep.inventorygui.InventoryGui
Get the Action that is run when clicked outside of the inventory
getOwner() - Method in class de.themoep.inventorygui.InventoryGui
Get the owner of this GUI.
getPageAmount() - Method in class de.themoep.inventorygui.InventoryGui
Get the amount of pages that this GUI has
getPageNumber() - Method in class de.themoep.inventorygui.InventoryGui
Get the number of the page that this gui is on.
getPlayer() - Method in class de.themoep.inventorygui.InventoryGui.Close
 
getQuery() - Method in class de.themoep.inventorygui.DynamicGuiElement
Get the supplier for this element's content
getRawItem() - Method in class de.themoep.inventorygui.StaticGuiElement
Get the raw item displayed by this element which was passed to the constructor or set with StaticGuiElement.setItem(ItemStack).
getSlot() - Method in class de.themoep.inventorygui.GuiElement.Click
Get the slot of the GUI that was clicked
getSlot() - Method in class de.themoep.inventorygui.GuiStorageElement.ValidatorInfo
 
getSlotChar() - Method in class de.themoep.inventorygui.GuiElement
Get the character in the gui setup that corresponds with this element
getSlotIndex(int) - Method in class de.themoep.inventorygui.GuiElement
Get the index that this slot has in the list of slots that this element is displayed in
getSlotIndex(int, int) - Method in class de.themoep.inventorygui.GuiElement
Get the index that this slot has in the list of slots that this element is displayed in
getSlots() - Method in class de.themoep.inventorygui.GuiElement
Get the indexes of the lots that this element is displayed in
getState() - Method in class de.themoep.inventorygui.GuiStateElement
Get the current state of this element
getStorage() - Method in class de.themoep.inventorygui.GuiStorageElement
Get the Inventory that this element is linked to.
getStorageItem(int) - Method in class de.themoep.inventorygui.GuiStorageElement
Get the item in the storage that corresponds to the InventoryGui slot
getText() - Method in class de.themoep.inventorygui.GuiStateElement.State
Get the text lines that describe this state.
getText() - Method in class de.themoep.inventorygui.StaticGuiElement
Get the text that this element displays
getTitle() - Method in class de.themoep.inventorygui.InventoryGui
Get the title of the gui
getType() - Method in class de.themoep.inventorygui.GuiElement.Click
Get the type of the click
goBack(HumanEntity) - Static method in class de.themoep.inventorygui.InventoryGui
Go back one entry in the history
gui - Variable in class de.themoep.inventorygui.GuiElement
 
GuiElement - Class in de.themoep.inventorygui
Represents an element in a gui
GuiElement(char, GuiElement.Action) - Constructor for class de.themoep.inventorygui.GuiElement
Represents an element in a gui
GuiElement(char) - Constructor for class de.themoep.inventorygui.GuiElement
Represents an element in a gui that doesn't have any action when clicked
GuiElement.Action - Interface in de.themoep.inventorygui
 
GuiElement.Click - Class in de.themoep.inventorygui
 
GuiElementGroup - Class in de.themoep.inventorygui
Represents a group of multiple elements
GuiElementGroup(char, GuiElement...) - Constructor for class de.themoep.inventorygui.GuiElementGroup
A group of elements
GuiListener(InventoryGui) - Constructor for class de.themoep.inventorygui.InventoryGui.GuiListener
 
GuiPageElement - Class in de.themoep.inventorygui
This is an element that allows for controlling the pagination of the gui.
GuiPageElement(char, ItemStack, GuiPageElement.PageAction, String...) - Constructor for class de.themoep.inventorygui.GuiPageElement
An element that allows for controlling the pagination of the gui.
GuiPageElement.PageAction - Enum in de.themoep.inventorygui
 
GuiStateElement - Class in de.themoep.inventorygui
An element that can switch between certain states.
GuiStateElement(char, int, GuiStateElement.State...) - Constructor for class de.themoep.inventorygui.GuiStateElement
An element that can switch between certain states.
GuiStateElement(char, String, GuiStateElement.State...) - Constructor for class de.themoep.inventorygui.GuiStateElement
An element that can switch between certain states.
GuiStateElement(char, Supplier<String>, GuiStateElement.State...) - Constructor for class de.themoep.inventorygui.GuiStateElement
An element that can switch between certain states.
GuiStateElement(char, GuiStateElement.State...) - Constructor for class de.themoep.inventorygui.GuiStateElement
An element that can switch between certain states.
GuiStateElement.State - Class in de.themoep.inventorygui
A state that the GuiStateElement can have.
GuiStateElement.State.Change - Interface in de.themoep.inventorygui
Define what should happen when the state of the element' state changes to this state
GuiStorageElement - Class in de.themoep.inventorygui
This element is used to access an Inventory.
GuiStorageElement(char, Inventory) - Constructor for class de.themoep.inventorygui.GuiStorageElement
An element used to access an Inventory.
GuiStorageElement(char, Inventory, int) - Constructor for class de.themoep.inventorygui.GuiStorageElement
An element used to access a specific slot in an Inventory.
GuiStorageElement(char, Inventory, int, Runnable, Function<GuiStorageElement.ValidatorInfo, Boolean>) - Constructor for class de.themoep.inventorygui.GuiStorageElement
An element used to access a specific slot in an Inventory.
GuiStorageElement.ValidatorInfo - Class in de.themoep.inventorygui
 

H

hasRealOwner() - Method in class de.themoep.inventorygui.InventoryGui
Check whether or not the Owner of this GUI is real or fake
Holder(InventoryGui) - Constructor for class de.themoep.inventorygui.InventoryGui.Holder
 

I

InventoryGui - Class in de.themoep.inventorygui
The main library class that lets you create and manage your GUIs
InventoryGui(JavaPlugin, InventoryHolder, String, String[], GuiElement...) - Constructor for class de.themoep.inventorygui.InventoryGui
Create a new gui with a certain setup and some elements
InventoryGui(JavaPlugin, String, String[], GuiElement...) - Constructor for class de.themoep.inventorygui.InventoryGui
The simplest way to create a new gui.
InventoryGui(JavaPlugin, InventoryHolder, String, String[], Collection<GuiElement>) - Constructor for class de.themoep.inventorygui.InventoryGui
Create a new gui that has no owner with a certain setup and some elements
InventoryGui.Close - Class in de.themoep.inventorygui
 
InventoryGui.CloseAction - Interface in de.themoep.inventorygui
 
InventoryGui.GuiListener - Class in de.themoep.inventorygui
All the listeners that InventoryGui needs to work
InventoryGui.Holder - Class in de.themoep.inventorygui
Fake InventoryHolder for the GUIs

N

nextState() - Method in class de.themoep.inventorygui.GuiStateElement
Loop through the states of this element

O

onBlockBreak(BlockBreakEvent) - Method in class de.themoep.inventorygui.InventoryGui.GuiListener
 
onChange(GuiElement.Click) - Method in interface de.themoep.inventorygui.GuiStateElement.State.Change
What should happen when the element's state changes to this state
onClick(GuiElement.Click) - Method in interface de.themoep.inventorygui.GuiElement.Action
Executed when a player clicks on an element
onClose(InventoryGui.Close) - Method in interface de.themoep.inventorygui.InventoryGui.CloseAction
Executed when a player closes a GUI inventory
onDispense(BlockDispenseEvent) - Method in class de.themoep.inventorygui.InventoryGui.GuiListener
 
onEntityDeath(EntityDeathEvent) - Method in class de.themoep.inventorygui.InventoryGui.GuiListener
 
onInventoryClose(InventoryCloseEvent) - Method in class de.themoep.inventorygui.InventoryGui.GuiListener
 
onInventoryDrag(InventoryDragEvent) - Method in class de.themoep.inventorygui.InventoryGui.GuiListener
 
onInventoryMoveItem(InventoryMoveItemEvent) - Method in class de.themoep.inventorygui.InventoryGui.GuiListener
 

P

playClickSound() - Method in class de.themoep.inventorygui.InventoryGui
Play a click sound e.g.
previousState() - Method in class de.themoep.inventorygui.GuiStateElement
Loop through the states of this element backwards

R

replaceVars(String, String...) - Method in class de.themoep.inventorygui.InventoryGui
Replace some placeholders in the with values regarding the gui's state.

S

setAction(GuiElement.Action) - Method in class de.themoep.inventorygui.GuiElement
Set the action that is executed when clicking on this element
setApplyStorage(Runnable) - Method in class de.themoep.inventorygui.GuiStorageElement
Set what should be done to apply the storage.
setCloseAction(InventoryGui.CloseAction) - Method in class de.themoep.inventorygui.InventoryGui
Set the action that is run when this GUI is closed; it should return true if the GUI should go back
setFiller(ItemStack) - Method in class de.themoep.inventorygui.GuiElementGroup
Set the filler element for empty slots
setFiller(GuiElement) - Method in class de.themoep.inventorygui.GuiElementGroup
Set the filler element for empty slots
setFiller(ItemStack) - Method in class de.themoep.inventorygui.InventoryGui
Set the filler element for empty slots
setGui(InventoryGui) - Method in class de.themoep.inventorygui.DynamicGuiElement
 
setGui(InventoryGui) - Method in class de.themoep.inventorygui.GuiElement
Set the gui this element belongs to
setGui(InventoryGui) - Method in class de.themoep.inventorygui.GuiElementGroup
 
setGui(InventoryGui) - Method in class de.themoep.inventorygui.GuiStateElement
 
setItem(ItemStack) - Method in class de.themoep.inventorygui.StaticGuiElement
Set the item that is displayed by this element
setItemText(ItemStack, String...) - Method in class de.themoep.inventorygui.InventoryGui
Set the text of an item using the display name and the lore.
setItemValidator(Function<GuiStorageElement.ValidatorInfo, Boolean>) - Method in class de.themoep.inventorygui.GuiStorageElement
Set a function that can validate whether or not an item can fit in the slot
setNumber(int) - Method in class de.themoep.inventorygui.StaticGuiElement
Set the number that this element should display (via the Item's amount)
setOutsideAction(GuiElement.Action) - Method in class de.themoep.inventorygui.InventoryGui
Set the Action that is run when clicked outside of the inventory
setOwner(InventoryHolder) - Method in class de.themoep.inventorygui.InventoryGui
Set the owner of this GUI.
setPageNumber(int) - Method in class de.themoep.inventorygui.InventoryGui
Set the number of the page that this gui is on.
setQuery(Supplier<GuiElement>) - Method in class de.themoep.inventorygui.DynamicGuiElement
Set the supplier for this element's content
setSlots(int[]) - Method in class de.themoep.inventorygui.GuiElement
Set the ids of the slots where this element is assigned to
setSlots(int[]) - Method in class de.themoep.inventorygui.GuiElementGroup
 
setState(String) - Method in class de.themoep.inventorygui.GuiStateElement
Set the current state with the state's key.
setStorageItem(int, ItemStack) - Method in class de.themoep.inventorygui.GuiStorageElement
Set the item in the storage that corresponds to the InventoryGui slot.
setText(String...) - Method in class de.themoep.inventorygui.GuiStateElement.State
Set this element's display text.
setText(String...) - Method in class de.themoep.inventorygui.StaticGuiElement
Set this element's display text.
setTitle(String) - Method in class de.themoep.inventorygui.InventoryGui
Set the title of the gui
show(HumanEntity) - Method in class de.themoep.inventorygui.InventoryGui
Show this GUI to a player
show(HumanEntity, boolean) - Method in class de.themoep.inventorygui.InventoryGui
Show this GUI to a player
size() - Method in class de.themoep.inventorygui.GuiElementGroup
Get the size of this group
slots - Variable in class de.themoep.inventorygui.GuiElement
 
State(GuiStateElement.State.Change, String, ItemStack, String...) - Constructor for class de.themoep.inventorygui.GuiStateElement.State
A state that the GuiStateElement can have.
StaticGuiElement - Class in de.themoep.inventorygui
Represents a simple element in a gui to which an action can be assigned.
StaticGuiElement(char, ItemStack, int, GuiElement.Action, String...) - Constructor for class de.themoep.inventorygui.StaticGuiElement
Represents an element in a gui
StaticGuiElement(char, ItemStack, GuiElement.Action, String...) - Constructor for class de.themoep.inventorygui.StaticGuiElement
Represents an element in a gui
StaticGuiElement(char, ItemStack, String...) - Constructor for class de.themoep.inventorygui.StaticGuiElement
Represents an element in a gui that doesn't have any action when clicked

U

unregister() - Method in class de.themoep.inventorygui.InventoryGui.GuiListener
 
update() - Method in class de.themoep.inventorygui.DynamicGuiElement
Query this element's state even if it shouldn't be done yet

V

validateItem(int, ItemStack) - Method in class de.themoep.inventorygui.GuiStorageElement
Validate whether or not an item can be put in a slot with the item validator set in GuiStorageElement.setItemValidator(Function)
ValidatorInfo(GuiElement, int, ItemStack) - Constructor for class de.themoep.inventorygui.GuiStorageElement.ValidatorInfo
 
valueOf(String) - Static method in enum de.themoep.inventorygui.GuiPageElement.PageAction
Returns the enum constant of this type with the specified name.
values() - Static method in enum de.themoep.inventorygui.GuiPageElement.PageAction
Returns an array containing the constants of this enum type, in the order they are declared.
A B C D G H I N O P R S U V 
Skip navigation links

Copyright © 2018. All rights reserved.