Index
All Classes and Interfaces|All Packages|Serialized Form
A
- add(HumanEntity, ItemStack) - Method in class me.despical.inventoryframework.HumanEntityCache
-
Adds the given item stack to the human entity's cached inventory.
- addItem(GuiItem) - Method in class me.despical.inventoryframework.pane.OutlinePane
-
Adds a gui item at the specific spot in the pane
- addItem(GuiItem, int) - Method in class me.despical.inventoryframework.pane.StaticPane
-
Adds a gui item at the specific spot in the pane.
- addItem(GuiItem, int, int) - Method in class me.despical.inventoryframework.pane.StaticPane
-
Adds a gui item at the specific spot in the pane.
- addPane(int, Pane) - Method in class me.despical.inventoryframework.pane.component.CycleButton
-
Adds a pane to the current list of options
- addPane(int, Pane) - Method in class me.despical.inventoryframework.pane.PaginatedPane
-
Assigns a pane to a selected page
- addPane(Pane) - Method in class me.despical.inventoryframework.Gui
-
Adds a pane to this gui
- addPane(Pane) - Method in class me.despical.inventoryframework.pane.component.CycleButton
-
Adds a pane to the current list of options
- addPane(Pane) - Method in class me.despical.inventoryframework.pane.MasonryPane
-
Adds a pane to this masonry pane
- amountOfEnabledSlots() - Method in class me.despical.inventoryframework.pane.util.Mask
-
Returns the amount of slots in this mask that are 'enabled'.
- applyMask(Mask) - Method in class me.despical.inventoryframework.pane.OutlinePane
-
Applies a custom mask to this pane.
B
- backgroundPane - Variable in class me.despical.inventoryframework.pane.component.util.VariableBar
-
The green and the red parts of the slider
- BIRCH_PLANKS - Static variable in class me.despical.inventoryframework.font.util.Font
-
The birch planks font
- BLACK - Static variable in class me.despical.inventoryframework.font.util.Font
-
The black font
- BLUE - Static variable in class me.despical.inventoryframework.font.util.Font
-
The blue font
- BOTTOM - Enum constant in enum class me.despical.inventoryframework.Gui.State
-
This signals that the bottom-hal of the Gui is in use and the player's inventory will be cleared and stored
- bottomClick(Consumer<InventoryClickEvent>) - Method in class me.despical.inventoryframework.GuiBuilder
- BROWN - Static variable in class me.despical.inventoryframework.font.util.Font
-
The brown font
- build() - Method in class me.despical.inventoryframework.GuiBuilder
C
- clear() - Method in class me.despical.inventoryframework.pane.component.CycleButton
- clear() - Method in class me.despical.inventoryframework.pane.component.ToggleButton
- clear() - Method in class me.despical.inventoryframework.pane.component.util.VariableBar
- clear() - Method in class me.despical.inventoryframework.pane.MasonryPane
- clear() - Method in class me.despical.inventoryframework.pane.OutlinePane
- clear() - Method in class me.despical.inventoryframework.pane.PaginatedPane
- clear() - Method in class me.despical.inventoryframework.pane.Pane
-
Clears the entire pane of any items/panes.
- clear() - Method in class me.despical.inventoryframework.pane.StaticPane
- clearCache() - Method in class me.despical.inventoryframework.HumanEntityCache
-
This clears the cache.
- clearCache(HumanEntity) - Method in class me.despical.inventoryframework.HumanEntityCache
-
Clear the cache for the specified human entity
- click(Gui, InventoryClickEvent, int, int, int, int) - Method in class me.despical.inventoryframework.pane.component.CycleButton
- click(Gui, InventoryClickEvent, int, int, int, int) - Method in class me.despical.inventoryframework.pane.component.Label
- click(Gui, InventoryClickEvent, int, int, int, int) - Method in class me.despical.inventoryframework.pane.component.PercentageBar
- click(Gui, InventoryClickEvent, int, int, int, int) - Method in class me.despical.inventoryframework.pane.component.Slider
- click(Gui, InventoryClickEvent, int, int, int, int) - Method in class me.despical.inventoryframework.pane.component.ToggleButton
- click(Gui, InventoryClickEvent, int, int, int, int) - Method in class me.despical.inventoryframework.pane.MasonryPane
- click(Gui, InventoryClickEvent, int, int, int, int) - Method in class me.despical.inventoryframework.pane.OutlinePane
- click(Gui, InventoryClickEvent, int, int, int, int) - Method in class me.despical.inventoryframework.pane.PaginatedPane
- click(Gui, InventoryClickEvent, int, int, int, int) - Method in class me.despical.inventoryframework.pane.Pane
-
Called whenever there is being clicked on this pane
- click(Gui, InventoryClickEvent, int, int, int, int) - Method in class me.despical.inventoryframework.pane.StaticPane
- close() - Method in class me.despical.inventoryframework.Gui
-
Closes the inventory in the next server tick for all viewers.
- close(Consumer<InventoryCloseEvent>) - Method in class me.despical.inventoryframework.GuiBuilder
- closeInstantly() - Method in class me.despical.inventoryframework.Gui
-
Closes the inventory for all viewers.
- COBBLESTONE - Static variable in class me.despical.inventoryframework.font.util.Font
-
The cobblestone font
- CSVFont - Class in me.despical.inventoryframework.font
-
A font for characters with a space as default character.
- CSVFont(char, String) - Constructor for class me.despical.inventoryframework.font.CSVFont
-
Creates a new default font
- CSVUtil - Class in me.despical.inventoryframework.util
-
A utility class for reading csv files
- CYAN - Static variable in class me.despical.inventoryframework.font.util.Font
-
The cyan font
- cycle() - Method in class me.despical.inventoryframework.pane.component.CycleButton
-
Cycles through one option, making it go to the next one
- CycleButton - Class in me.despical.inventoryframework.pane.component
-
A button for cycling between different options
- CycleButton(int, int) - Constructor for class me.despical.inventoryframework.pane.component.CycleButton
- CycleButton(int, int, int, int) - Constructor for class me.despical.inventoryframework.pane.component.CycleButton
- CycleButton(int, int, int, int, Pane.Priority) - Constructor for class me.despical.inventoryframework.pane.component.CycleButton
D
- DIAMOND - Static variable in class me.despical.inventoryframework.font.util.Font
-
The diamond font
- DIRT - Static variable in class me.despical.inventoryframework.font.util.Font
-
The dirt font
- display(Gui, Inventory, PlayerInventory, int, int, int, int) - Method in class me.despical.inventoryframework.pane.component.CycleButton
- display(Gui, Inventory, PlayerInventory, int, int, int, int) - Method in class me.despical.inventoryframework.pane.component.ToggleButton
- display(Gui, Inventory, PlayerInventory, int, int, int, int) - Method in class me.despical.inventoryframework.pane.component.util.VariableBar
- display(Gui, Inventory, PlayerInventory, int, int, int, int) - Method in class me.despical.inventoryframework.pane.MasonryPane
- display(Gui, Inventory, PlayerInventory, int, int, int, int) - Method in class me.despical.inventoryframework.pane.OutlinePane
- display(Gui, Inventory, PlayerInventory, int, int, int, int) - Method in class me.despical.inventoryframework.pane.PaginatedPane
- display(Gui, Inventory, PlayerInventory, int, int, int, int) - Method in class me.despical.inventoryframework.pane.Pane
-
Has to set all the items in the right spot inside the inventory
- display(Gui, Inventory, PlayerInventory, int, int, int, int) - Method in class me.despical.inventoryframework.pane.StaticPane
- doesRepeat() - Method in class me.despical.inventoryframework.pane.OutlinePane
-
Gets whether this outline pane repeats itself
- drag(Consumer<InventoryDragEvent>) - Method in class me.despical.inventoryframework.GuiBuilder
F
- Fillable - Interface in me.despical.inventoryframework.pane
-
An interface for panes that can be fillable.
- fillBorder(GuiItem) - Method in interface me.despical.inventoryframework.pane.Fillable
-
Fills inventory borders with given gui item.
- fillBorder(GuiItem) - Method in class me.despical.inventoryframework.pane.StaticPane
- fillHorizontallyWith(GuiItem, int) - Method in interface me.despical.inventoryframework.pane.Fillable
-
Fills specified row line horizontally with given gui item.
- fillHorizontallyWith(GuiItem, int) - Method in class me.despical.inventoryframework.pane.StaticPane
- fillPane - Variable in class me.despical.inventoryframework.pane.component.util.VariableBar
-
The green and the red parts of the slider
- fillProgressBorder(GuiItem, GuiItem, int) - Method in interface me.despical.inventoryframework.pane.Fillable
-
Fills inventory borders with given gui item.
- fillProgressBorder(GuiItem, GuiItem, int) - Method in class me.despical.inventoryframework.pane.StaticPane
- fillVerticallyWith(GuiItem, int) - Method in interface me.despical.inventoryframework.pane.Fillable
-
Fills specified row line vertically with given gui item.
- fillVerticallyWith(GuiItem, int) - Method in class me.despical.inventoryframework.pane.StaticPane
- fillWith(ItemStack) - Method in class me.despical.inventoryframework.pane.StaticPane
-
Fills all empty space in the pane with the given
itemStack - fillWith(ItemStack, Consumer<InventoryClickEvent>) - Method in class me.despical.inventoryframework.pane.StaticPane
-
Fills all empty space in the pane with the given
itemStackand adds the given action - findMatchingItem(Collection<T>, ItemStack) - Static method in class me.despical.inventoryframework.pane.Pane
-
Finds a type of
GuiItemfrom the provided collection of items based on the providedItemStack. - flipHorizontally - Variable in class me.despical.inventoryframework.pane.component.util.VariableBar
-
Whether the pane is flipped horizontally or vertically
- flipHorizontally(boolean) - Method in class me.despical.inventoryframework.pane.component.util.VariableBar
- flipHorizontally(boolean) - Method in interface me.despical.inventoryframework.pane.Flippable
-
Sets whether this pane should flip its items horizontally
- flipHorizontally(boolean) - Method in class me.despical.inventoryframework.pane.OutlinePane
- flipHorizontally(boolean) - Method in class me.despical.inventoryframework.pane.StaticPane
- Flippable - Interface in me.despical.inventoryframework.pane
-
An interface for panes that can be flipped
- flipVertically - Variable in class me.despical.inventoryframework.pane.component.util.VariableBar
-
Whether the pane is flipped horizontally or vertically
- flipVertically(boolean) - Method in class me.despical.inventoryframework.pane.component.util.VariableBar
- flipVertically(boolean) - Method in interface me.despical.inventoryframework.pane.Flippable
-
Sets whether this pane should flip its items vertically
- flipVertically(boolean) - Method in class me.despical.inventoryframework.pane.OutlinePane
- flipVertically(boolean) - Method in class me.despical.inventoryframework.pane.StaticPane
- Font - Class in me.despical.inventoryframework.font.util
-
An interface for fonts
- Font() - Constructor for class me.despical.inventoryframework.font.util.Font
- fromName(String) - Static method in class me.despical.inventoryframework.font.util.Font
-
Gets a font by its name.
G
- GeometryUtil - Class in me.despical.inventoryframework.util
-
An utility class for Geometry
- GeometryUtil() - Constructor for class me.despical.inventoryframework.util.GeometryUtil
- getAction() - Method in class me.despical.inventoryframework.GuiItem
-
Returns the action for this item
- getBorders(int) - Static method in class me.despical.inventoryframework.util.GeometryUtil
- getColumn(int) - Method in class me.despical.inventoryframework.pane.util.Mask
-
Gets the column of this mask at the specified index.
- getDefaultItem() - Method in class me.despical.inventoryframework.font.CSVFont
- getDefaultItem() - Method in class me.despical.inventoryframework.font.util.Font
-
Gets a default item for characters that do not have a dedicated item
- getFont() - Method in class me.despical.inventoryframework.pane.component.Label
-
Gets the character set currently used for the text in this label
- getGap() - Method in class me.despical.inventoryframework.pane.OutlinePane
-
Gets the gap of the pane
- getHeight() - Method in class me.despical.inventoryframework.pane.Pane
-
Returns the height of this pane
- getHeight() - Method in class me.despical.inventoryframework.pane.util.Mask
-
Gets the height of this mask
- getHumanEntityCache() - Method in class me.despical.inventoryframework.Gui
-
Gets the human entity cache used for this gui
- getInventory() - Method in class me.despical.inventoryframework.Gui
- getInventory(InventoryView, int) - Static method in class me.despical.inventoryframework.Gui
- getItem() - Method in class me.despical.inventoryframework.GuiItem
-
Returns the item
- getItems() - Method in class me.despical.inventoryframework.Gui
-
Gets all the items in all underlying panes
- getItems() - Method in class me.despical.inventoryframework.pane.component.CycleButton
- getItems() - Method in class me.despical.inventoryframework.pane.component.ToggleButton
- getItems() - Method in class me.despical.inventoryframework.pane.component.util.VariableBar
- getItems() - Method in class me.despical.inventoryframework.pane.MasonryPane
- getItems() - Method in class me.despical.inventoryframework.pane.OutlinePane
- getItems() - Method in class me.despical.inventoryframework.pane.PaginatedPane
- getItems() - Method in class me.despical.inventoryframework.pane.Pane
-
Gets all the items in this pane and all underlying panes.
- getItems() - Method in class me.despical.inventoryframework.pane.StaticPane
- getLength() - Method in class me.despical.inventoryframework.pane.Pane
-
Returns the length of this pane
- getLength() - Method in class me.despical.inventoryframework.pane.util.Mask
-
Gets the length of this mask
- getLocations() - Method in class me.despical.inventoryframework.pane.StaticPane
- getOnBottomClick() - Method in class me.despical.inventoryframework.Gui
-
Gets the bottom click event assigned to this gui, or null if there is no bottom click assigned.
- getOnClose() - Method in class me.despical.inventoryframework.Gui
-
Gets the on close event assigned to this gui, or null if no close event is assigned.
- getOnDrag() - Method in class me.despical.inventoryframework.Gui
-
Gets the global click event assigned to this gui, or null if there is no global click assigned.
- getOnGlobalClick() - Method in class me.despical.inventoryframework.Gui
-
Gets the global click event assigned to this gui, or null if there is no global click assigned.
- getOnOutsideClick() - Method in class me.despical.inventoryframework.Gui
-
Gets the outside click event assigned to this gui, or null if there is no outside click assigned.
- getOnTopClick() - Method in class me.despical.inventoryframework.Gui
-
Gets the top click event assigned to this gui, or null if there is no top click assigned.
- getOrientation() - Method in class me.despical.inventoryframework.pane.component.util.VariableBar
- getOrientation() - Method in class me.despical.inventoryframework.pane.MasonryPane
- getOrientation() - Method in interface me.despical.inventoryframework.pane.Orientable
-
Gets the orientation of this outline pane
- getOrientation() - Method in class me.despical.inventoryframework.pane.OutlinePane
-
Gets the orientation of this outline pane
- getPage() - Method in class me.despical.inventoryframework.pane.PaginatedPane
-
Returns the current page
- getPages() - Method in class me.despical.inventoryframework.pane.PaginatedPane
-
Returns the amount of pages
- getPanes() - Method in class me.despical.inventoryframework.Gui
-
Gets all the panes in this gui, this includes child panes from other panes
- getPanes() - Method in class me.despical.inventoryframework.pane.component.CycleButton
- getPanes() - Method in class me.despical.inventoryframework.pane.component.ToggleButton
- getPanes() - Method in class me.despical.inventoryframework.pane.component.util.VariableBar
- getPanes() - Method in class me.despical.inventoryframework.pane.MasonryPane
- getPanes() - Method in class me.despical.inventoryframework.pane.OutlinePane
- getPanes() - Method in class me.despical.inventoryframework.pane.PaginatedPane
- getPanes() - Method in class me.despical.inventoryframework.pane.Pane
-
Gets all the panes in this panes, including any child panes from other panes.
- getPanes() - Method in class me.despical.inventoryframework.pane.StaticPane
- getPanes(int) - Method in class me.despical.inventoryframework.pane.PaginatedPane
-
Gets all the panes from inside the specified page of this pane.
- getPercentage() - Method in class me.despical.inventoryframework.pane.component.PercentageBar
-
Gets the percentage as a float in between (0,1) this bar is currently set at.
- getPriority() - Method in class me.despical.inventoryframework.pane.Pane
-
Returns the priority of the pane
- getPropertyMappings() - Static method in class me.despical.inventoryframework.pane.Pane
-
Returns the property mappings used when loading properties from an XML file.
- getRotation() - Method in class me.despical.inventoryframework.pane.OutlinePane
- getRotation() - Method in interface me.despical.inventoryframework.pane.Rotatable
-
Gets the rotation specified to this pane.
- getRotation() - Method in class me.despical.inventoryframework.pane.StaticPane
- getRow(int) - Method in class me.despical.inventoryframework.pane.util.Mask
-
Gets the row of this mask at the specified index.
- getRows() - Method in class me.despical.inventoryframework.Gui
-
Returns the amount of rows this gui currently has
- getSkull(String) - Static method in class me.despical.inventoryframework.util.SkullUtil
-
Gets a skull from the specified id.
- getState() - Method in class me.despical.inventoryframework.Gui
-
Gets the state of this gui
- getText() - Method in class me.despical.inventoryframework.pane.component.Label
-
Gets the text currently displayed in this label
- getTitle() - Method in class me.despical.inventoryframework.Gui
-
Returns the title of this gui
- getUUID() - Method in class me.despical.inventoryframework.GuiItem
- getValue() - Method in class me.despical.inventoryframework.pane.component.Slider
-
Gets the value as a float in between (0,1) this bar is currently set at.
- getViewerCount() - Method in class me.despical.inventoryframework.Gui
-
Gets the count of
HumanEntityinstances that are currently viewing this GUI. - getViewers() - Method in class me.despical.inventoryframework.Gui
-
Gets a mutable snapshot of the current
HumanEntityviewers of this GUI. - getX() - Method in class me.despical.inventoryframework.pane.Pane
-
Gets the x coordinate of this pane
- getY() - Method in class me.despical.inventoryframework.pane.Pane
-
Gets the y coordinate of this pane
- globalClick(Consumer<InventoryClickEvent>) - Method in class me.despical.inventoryframework.GuiBuilder
- GOLD - Static variable in class me.despical.inventoryframework.font.util.Font
-
The gold font
- GRAY - Static variable in class me.despical.inventoryframework.font.util.Font
-
The gray font
- GREEN - Static variable in class me.despical.inventoryframework.font.util.Font
-
The green font
- Gui - Class in me.despical.inventoryframework
-
The base class of all GUIs
- Gui(Plugin, int, String) - Constructor for class me.despical.inventoryframework.Gui
-
Constructs a new GUI
- Gui.State - Enum Class in me.despical.inventoryframework
-
The gui state
- GuiBuilder - Class in me.despical.inventoryframework
- GuiBuilder(GuiBuilder) - Constructor for class me.despical.inventoryframework.GuiBuilder
- GuiBuilder(Plugin) - Constructor for class me.despical.inventoryframework.GuiBuilder
- GuiBuilder(Plugin, int) - Constructor for class me.despical.inventoryframework.GuiBuilder
- GuiBuilder(Plugin, int, String) - Constructor for class me.despical.inventoryframework.GuiBuilder
- GuiItem - Class in me.despical.inventoryframework
-
An item for in an inventory
- GuiItem(ItemStack) - Constructor for class me.despical.inventoryframework.GuiItem
-
Creates a new gui item based on the item stack and action
- GuiItem(ItemStack, Consumer<InventoryClickEvent>) - Constructor for class me.despical.inventoryframework.GuiItem
-
Creates a new gui item based on the item stack and action
- GuiListener - Class in me.despical.inventoryframework
-
Listens to events for
Guis. - GuiListener(Plugin) - Constructor for class me.despical.inventoryframework.GuiListener
-
Constructs a new listener
H
- height - Variable in class me.despical.inventoryframework.pane.Pane
-
Length is horizontal, height is vertical
- HIGH - Enum constant in enum class me.despical.inventoryframework.pane.Pane.Priority
-
A higher priority, higher than default
- HIGHEST - Enum constant in enum class me.despical.inventoryframework.pane.Pane.Priority
-
The highest priority for production use
- HORIZONTAL - Enum constant in enum class me.despical.inventoryframework.pane.Orientable.Orientation
-
A horizontal orientation, will outline every item from the top-left corner going to the right and down
- HumanEntityCache - Class in me.despical.inventoryframework
-
A class for containing players and their inventory state for later use
- HumanEntityCache() - Constructor for class me.despical.inventoryframework.HumanEntityCache
I
- insertItem(GuiItem, int) - Method in class me.despical.inventoryframework.pane.OutlinePane
-
Adds a gui item in the specified index
- isEnabled(int, int) - Method in class me.despical.inventoryframework.pane.util.Mask
-
Gets whether the slot at the specified row and column is 'enabled' or not.
- isFlippedHorizontally() - Method in class me.despical.inventoryframework.pane.component.util.VariableBar
- isFlippedHorizontally() - Method in interface me.despical.inventoryframework.pane.Flippable
-
Gets whether this pane's items are flipped horizontally
- isFlippedHorizontally() - Method in class me.despical.inventoryframework.pane.OutlinePane
- isFlippedHorizontally() - Method in class me.despical.inventoryframework.pane.StaticPane
- isFlippedVertically() - Method in class me.despical.inventoryframework.pane.component.util.VariableBar
- isFlippedVertically() - Method in interface me.despical.inventoryframework.pane.Flippable
-
Gets whether this pane's items are flipped vertically
- isFlippedVertically() - Method in class me.despical.inventoryframework.pane.OutlinePane
- isFlippedVertically() - Method in class me.despical.inventoryframework.pane.StaticPane
- isUpdating() - Method in class me.despical.inventoryframework.Gui
-
Gets whether this gui is being updated, as invoked by
Gui.update(). - isVisible() - Method in class me.despical.inventoryframework.GuiItem
-
Returns whether or not this item is visible
- isVisible() - Method in class me.despical.inventoryframework.pane.Pane
-
Returns the pane's visibility state
J
- JUNGLE_PLANKS - Static variable in class me.despical.inventoryframework.font.util.Font
-
The jungle planks font
L
- Label - Class in me.despical.inventoryframework.pane.component
-
A label for displaying text.
- Label(int, int, int, int, Font) - Constructor for class me.despical.inventoryframework.pane.component.Label
-
Creates a new label
- Label(int, int, int, int, Pane.Priority, Font) - Constructor for class me.despical.inventoryframework.pane.component.Label
-
Creates a new label
- Label(int, int, Font) - Constructor for class me.despical.inventoryframework.pane.component.Label
-
Creates a new label
- length - Variable in class me.despical.inventoryframework.pane.Pane
-
Length is horizontal, height is vertical
- LETTER_CUBE - Static variable in class me.despical.inventoryframework.font.util.Font
-
The letter cube font
- LIGHT_BLUE - Static variable in class me.despical.inventoryframework.font.util.Font
-
The light blue font
- LIGHT_GRAY - Static variable in class me.despical.inventoryframework.font.util.Font
-
The light gray font
- LIME - Static variable in class me.despical.inventoryframework.font.util.Font
-
The lime font
- load(Object, Element) - Static method in class me.despical.inventoryframework.pane.component.CycleButton
-
Loads a cycle button from a given element
- load(Object, Element) - Static method in class me.despical.inventoryframework.pane.component.Label
-
Loads a label from a given element
- load(Object, Element) - Static method in class me.despical.inventoryframework.pane.component.PercentageBar
-
Loads a percentage bar from a given element
- load(Object, Element) - Static method in class me.despical.inventoryframework.pane.component.Slider
-
Loads a percentage bar from a given element
- load(Object, Element) - Static method in class me.despical.inventoryframework.pane.component.ToggleButton
-
Loads a toggle button from an XML element
- load(Object, Element) - Static method in class me.despical.inventoryframework.pane.MasonryPane
-
Loads a masonry pane from a given element
- load(Object, Element) - Static method in class me.despical.inventoryframework.pane.OutlinePane
-
Loads an outline pane from a given element
- load(Object, Element) - Static method in class me.despical.inventoryframework.pane.PaginatedPane
-
Loads a paginated pane from a given element
- load(Object, Element) - Static method in class me.despical.inventoryframework.pane.StaticPane
-
Loads an outline pane from a given element
- load(Flippable, Element) - Static method in interface me.despical.inventoryframework.pane.Flippable
- load(Orientable, Element) - Static method in interface me.despical.inventoryframework.pane.Orientable
-
Loads all elements regarding a
OrientablePanefor the specified pane. - load(Pane, Object, Element) - Static method in class me.despical.inventoryframework.pane.Pane
- load(Rotatable, Element) - Static method in interface me.despical.inventoryframework.pane.Rotatable
- load(Plugin, Object, InputStream) - Static method in class me.despical.inventoryframework.Gui
-
Loads a Gui from a given input stream.
- loadFieldAttribute(Object, Element, Object) - Static method in class me.despical.inventoryframework.util.XMLUtil
-
Sets a field from the given instance and element to the specified value
- loadItem(Object, Element) - Static method in class me.despical.inventoryframework.pane.Pane
-
Loads an item from an instance and an element
- loadOnEventAttribute(Object, Element, Class<T>, String) - Static method in class me.despical.inventoryframework.util.XMLUtil
-
Loads an event consumer from the given instance and element
- loadOrThrow(Plugin, Object, InputStream) - Static method in class me.despical.inventoryframework.Gui
-
Loads a Gui from a given input stream.
- loadPane(Object, Node) - Static method in class me.despical.inventoryframework.Gui
-
Loads a pane by the given instance and node
- LOW - Enum constant in enum class me.despical.inventoryframework.pane.Pane.Priority
-
A low priority, lower than default
- LOWEST - Enum constant in enum class me.despical.inventoryframework.pane.Pane.Priority
-
The lowest priority, will be rendered first
M
- MAGENTA - Static variable in class me.despical.inventoryframework.font.util.Font
-
The magenta font
- Mask - Class in me.despical.inventoryframework.pane.util
-
A mask for
OutlinePanes that specifies in which positions the items should be placed. - Mask(String...) - Constructor for class me.despical.inventoryframework.pane.util.Mask
-
Creates a mask based on the strings provided.
- MasonryPane - Class in me.despical.inventoryframework.pane
-
This pane holds panes and decides itself where every pane should go.
- MasonryPane(int, int) - Constructor for class me.despical.inventoryframework.pane.MasonryPane
- MasonryPane(int, int, int, int) - Constructor for class me.despical.inventoryframework.pane.MasonryPane
- MasonryPane(int, int, int, int, Pane.Priority) - Constructor for class me.despical.inventoryframework.pane.MasonryPane
- me.despical.inventoryframework - package me.despical.inventoryframework
- me.despical.inventoryframework.exception - package me.despical.inventoryframework.exception
- me.despical.inventoryframework.font - package me.despical.inventoryframework.font
- me.despical.inventoryframework.font.util - package me.despical.inventoryframework.font.util
- me.despical.inventoryframework.pane - package me.despical.inventoryframework.pane
- me.despical.inventoryframework.pane.component - package me.despical.inventoryframework.pane.component
- me.despical.inventoryframework.pane.component.util - package me.despical.inventoryframework.pane.component.util
- me.despical.inventoryframework.pane.util - package me.despical.inventoryframework.pane.util
- me.despical.inventoryframework.util - package me.despical.inventoryframework.util
- MONITOR - Enum constant in enum class me.despical.inventoryframework.pane.Pane.Priority
-
The highest priority, will always be called last, should not be used for production code
- MONITOR - Static variable in class me.despical.inventoryframework.font.util.Font
-
The monitor font
N
- NORMAL - Enum constant in enum class me.despical.inventoryframework.pane.Pane.Priority
-
A normal priority, the default
O
- OAK_LOG - Static variable in class me.despical.inventoryframework.font.util.Font
-
The oak log font
- OAK_PLANKS - Static variable in class me.despical.inventoryframework.font.util.Font
-
The oak planks font
- of(ItemStack) - Static method in class me.despical.inventoryframework.GuiItem
- of(ItemStack, Consumer<InventoryClickEvent>) - Static method in class me.despical.inventoryframework.GuiItem
- onClick - Variable in class me.despical.inventoryframework.pane.Pane
-
The consumer that will be called once a players clicks in the gui
- onEntityPickupItem(PlayerPickupItemEvent) - Method in class me.despical.inventoryframework.GuiListener
-
Handles users picking up items while their bottom inventory is in use.
- onInventoryClick(InventoryClickEvent) - Method in class me.despical.inventoryframework.GuiListener
-
Handles clicks in inventories
- onInventoryClose(InventoryCloseEvent) - Method in class me.despical.inventoryframework.GuiListener
-
Handles closing in inventories
- onInventoryDrag(InventoryDragEvent) - Method in class me.despical.inventoryframework.GuiListener
-
Handles small drag events which are likely clicks instead.
- onInventoryOpen(InventoryOpenEvent) - Method in class me.despical.inventoryframework.GuiListener
-
Registers newly opened inventories
- onOutsideClick(Consumer<InventoryClickEvent>) - Method in class me.despical.inventoryframework.GuiBuilder
- onPluginDisable(PluginDisableEvent) - Method in class me.despical.inventoryframework.GuiListener
-
Handles the disabling of the plugin
- ORANGE - Static variable in class me.despical.inventoryframework.font.util.Font
-
The orange font
- Orientable - Interface in me.despical.inventoryframework.pane
-
An interface for panes that can have different orientations
- Orientable.Orientation - Enum Class in me.despical.inventoryframework.pane
-
An orientation for outline panes
- orientation - Variable in class me.despical.inventoryframework.pane.component.util.VariableBar
-
The orientation of the slider
- OutlinePane - Class in me.despical.inventoryframework.pane
-
A pane for items that should be outlined
- OutlinePane(int, int) - Constructor for class me.despical.inventoryframework.pane.OutlinePane
- OutlinePane(int, int, int, int) - Constructor for class me.despical.inventoryframework.pane.OutlinePane
- OutlinePane(int, int, int, int, Pane.Priority) - Constructor for class me.despical.inventoryframework.pane.OutlinePane
P
- PaginatedPane - Class in me.despical.inventoryframework.pane
-
A pane for panes that should be spread out over multiple pages
- PaginatedPane(int, int) - Constructor for class me.despical.inventoryframework.pane.PaginatedPane
- PaginatedPane(int, int, int, int) - Constructor for class me.despical.inventoryframework.pane.PaginatedPane
- PaginatedPane(int, int, int, int, Pane.Priority) - Constructor for class me.despical.inventoryframework.pane.PaginatedPane
- pane(Supplier<Pane>) - Method in class me.despical.inventoryframework.GuiBuilder
- pane(Pane) - Method in class me.despical.inventoryframework.GuiBuilder
- Pane - Class in me.despical.inventoryframework.pane
-
The base class for all panes.
- Pane(int, int) - Constructor for class me.despical.inventoryframework.pane.Pane
-
Constructs a new default pane, with no position
- Pane(int, int, int, int) - Constructor for class me.despical.inventoryframework.pane.Pane
-
Constructs a new default pane
- Pane(int, int, int, int, Pane.Priority) - Constructor for class me.despical.inventoryframework.pane.Pane
-
Constructs a new default pane
- Pane.Priority - Enum Class in me.despical.inventoryframework.pane
-
An enum representing the rendering priorities for the panes.
- PercentageBar - Class in me.despical.inventoryframework.pane.component
-
A percentage bar for a graphical interface into what amount of a whole is set.
- PercentageBar(int, int) - Constructor for class me.despical.inventoryframework.pane.component.PercentageBar
- PercentageBar(int, int, int, int) - Constructor for class me.despical.inventoryframework.pane.component.PercentageBar
- PercentageBar(int, int, int, int, Pane.Priority) - Constructor for class me.despical.inventoryframework.pane.component.PercentageBar
- PINK - Static variable in class me.despical.inventoryframework.font.util.Font
-
The pink font
- PLUSH - Static variable in class me.despical.inventoryframework.font.util.Font
-
The plush font
- populateWithGuiItems(List<GuiItem>) - Method in class me.despical.inventoryframework.pane.PaginatedPane
-
Populates the PaginatedPane based on the provided list by adding new pages until all items can fit.
- populateWithItemStacks(List<ItemStack>) - Method in class me.despical.inventoryframework.pane.PaginatedPane
-
Populates the PaginatedPane based on the provided list by adding new pages until all items can fit.
- populateWithNames(List<String>, Material) - Method in class me.despical.inventoryframework.pane.PaginatedPane
-
This method creates a list of ItemStacks all with the given
materialand the display names. - processClockwiseRotation(int, int, int, int, int) - Static method in class me.despical.inventoryframework.util.GeometryUtil
-
Calculates a clockwise rotation across a two dimensional grid
- processCounterClockwiseRotation(int, int, int, int, int) - Static method in class me.despical.inventoryframework.util.GeometryUtil
-
Calculates a counter clockwise rotation across a two dimensional grid.
- PUMPKIN - Static variable in class me.despical.inventoryframework.font.util.Font
-
The pumpkin font
- PURPLE - Static variable in class me.despical.inventoryframework.font.util.Font
-
The purple font
Q
R
- RAINBOW - Static variable in class me.despical.inventoryframework.font.util.Font
-
The rainbow font
- readAll(InputStream) - Static method in class me.despical.inventoryframework.util.CSVUtil
-
Reads the entire file and returns it as a list of strings.
- RED - Static variable in class me.despical.inventoryframework.font.util.Font
-
The red font
- registerFont(String, Font) - Static method in class me.despical.inventoryframework.font.util.Font
-
Registers a custom font so it can be used in lookups and XML files.
- registerPane(String, BiFunction<Object, Element, Pane>) - Static method in class me.despical.inventoryframework.Gui
-
Registers a name that can be used inside an XML file to add custom panes
- registerProperty(String, Function<String, Object>) - Static method in class me.despical.inventoryframework.Gui
-
Registers a property that can be used inside an XML file to add additional new properties.
- registerProperty(String, Function<String, Object>) - Static method in class me.despical.inventoryframework.pane.Pane
-
Registers a property that can be used inside an XML file to add additional new properties.
- removeItem(int) - Method in class me.despical.inventoryframework.pane.StaticPane
-
Removes the specified item from the pane
- removeItem(int, int) - Method in class me.despical.inventoryframework.pane.StaticPane
-
Removes the specified item from the pane
- removeItem(GuiItem) - Method in class me.despical.inventoryframework.pane.OutlinePane
-
Removes the specified item from the pane
- removeItem(GuiItem) - Method in class me.despical.inventoryframework.pane.StaticPane
-
Removes the specified item from the pane
- removePanes() - Method in class me.despical.inventoryframework.Gui
-
Removes all the panes stored in this gui instance.
- restore(HumanEntity) - Method in class me.despical.inventoryframework.HumanEntityCache
-
Restores the contents of the specified human entity.
- restoreAll() - Method in class me.despical.inventoryframework.HumanEntityCache
-
Restores all players' contents into their inventory.
- restoreAndForget(HumanEntity) - Method in class me.despical.inventoryframework.HumanEntityCache
-
Restores the contents of the specified human entity, clearing the cache afterwards.
- restoreAndForgetAll() - Method in class me.despical.inventoryframework.HumanEntityCache
-
Restores all players' contents into their inventory, clearing the cache afterwards.
- Rotatable - Interface in me.despical.inventoryframework.pane
-
An interface for panes that are rotatable
- rows(int) - Method in class me.despical.inventoryframework.GuiBuilder
S
- setBackgroundItem(GuiItem) - Method in class me.despical.inventoryframework.pane.component.util.VariableBar
-
Sets the background item
- setDisabledItem(GuiItem) - Method in class me.despical.inventoryframework.pane.component.ToggleButton
-
Sets the item to use when the button is set to disabled
- setEnabledItem(GuiItem) - Method in class me.despical.inventoryframework.pane.component.ToggleButton
-
Sets the item to use when the button is set to enabled
- setFillItem(GuiItem) - Method in class me.despical.inventoryframework.pane.component.util.VariableBar
-
Sets the fill item (foreground)
- setGap(int) - Method in class me.despical.inventoryframework.pane.OutlinePane
-
Sets the gap of the pane
- setHeight(int) - Method in class me.despical.inventoryframework.pane.component.util.VariableBar
- setHeight(int) - Method in class me.despical.inventoryframework.pane.Pane
-
Set the height of this pane
- setLength(int) - Method in class me.despical.inventoryframework.pane.component.util.VariableBar
- setLength(int) - Method in class me.despical.inventoryframework.pane.Pane
-
Set the length of this pane
- setOnBottomClick(Consumer<InventoryClickEvent>) - Method in class me.despical.inventoryframework.Gui
-
Set the consumer that should be called whenever the inventory is clicked in.
- setOnClick(Consumer<InventoryClickEvent>) - Method in class me.despical.inventoryframework.pane.Pane
-
Set the consumer that should be called whenever this gui is clicked in.
- setOnClose(Consumer<InventoryCloseEvent>) - Method in class me.despical.inventoryframework.Gui
-
Set the consumer that should be called whenever this gui is closed.
- setOnDrag(Consumer<InventoryDragEvent>) - Method in class me.despical.inventoryframework.Gui
-
Set the consumer that should be called whenever player drags item in this gui.
- setOnGlobalClick(Consumer<InventoryClickEvent>) - Method in class me.despical.inventoryframework.Gui
-
Set the consumer that should be called whenever this gui or inventory is clicked in.
- setOnLocalClick(Consumer<InventoryClickEvent>) - Method in class me.despical.inventoryframework.Gui
-
Set the consumer that should be called whenever this gui is clicked in.
- setOnLocalClick(Consumer<InventoryClickEvent>) - Method in class me.despical.inventoryframework.pane.Pane
-
Set the consumer that should be called whenever this gui is clicked in.
- setOnOutsideClick(Consumer<InventoryClickEvent>) - Method in class me.despical.inventoryframework.Gui
-
Set the consumer that should be called whenever a player clicks outside the gui.
- setOnTopClick(Consumer<InventoryClickEvent>) - Method in class me.despical.inventoryframework.Gui
-
Set the consumer that should be called whenever this gui is clicked in.
- setOrientation(Orientable.Orientation) - Method in class me.despical.inventoryframework.pane.component.util.VariableBar
- setOrientation(Orientable.Orientation) - Method in class me.despical.inventoryframework.pane.MasonryPane
- setOrientation(Orientable.Orientation) - Method in interface me.despical.inventoryframework.pane.Orientable
-
Sets the orientation of this outline pane
- setOrientation(Orientable.Orientation) - Method in class me.despical.inventoryframework.pane.OutlinePane
- setPage(int) - Method in class me.despical.inventoryframework.pane.PaginatedPane
-
Sets the current displayed page
- setPercentage(float) - Method in class me.despical.inventoryframework.pane.component.PercentageBar
-
Sets the percentage of this bar.
- setPriority(Pane.Priority) - Method in class me.despical.inventoryframework.pane.Pane
-
Sets the priority of this pane
- setRepeat(boolean) - Method in class me.despical.inventoryframework.pane.OutlinePane
-
Sets whether this pane should repeat itself
- setRotation(int) - Method in class me.despical.inventoryframework.pane.OutlinePane
- setRotation(int) - Method in interface me.despical.inventoryframework.pane.Rotatable
-
Sets the rotation of this pane.
- setRotation(int) - Method in class me.despical.inventoryframework.pane.StaticPane
- setRows(int) - Method in class me.despical.inventoryframework.Gui
-
Sets the amount of rows for this inventory.
- setSkull(ItemMeta, String) - Static method in class me.despical.inventoryframework.util.SkullUtil
-
Sets the skull of an existing
ItemMetafrom the specified id. - setState(Gui.State) - Method in class me.despical.inventoryframework.Gui
-
Calling this method will set the state of this gui.
- setText(String) - Method in class me.despical.inventoryframework.pane.component.Label
-
Sets the text to be displayed in this label
- setTitle(String) - Method in class me.despical.inventoryframework.Gui
-
Sets the title for this inventory.
- setValue(float) - Method in class me.despical.inventoryframework.pane.component.Slider
-
Sets the value of this bar.
- setVisible(boolean) - Method in class me.despical.inventoryframework.GuiItem
-
Sets the visibility of this item to the new visibility
- setVisible(boolean) - Method in class me.despical.inventoryframework.pane.Pane
-
Sets whether this pane is visible or not
- setX(int) - Method in class me.despical.inventoryframework.pane.component.util.VariableBar
- setX(int) - Method in class me.despical.inventoryframework.pane.Pane
-
Set the x coordinate of this pane
- setY(int) - Method in class me.despical.inventoryframework.pane.component.util.VariableBar
- setY(int) - Method in class me.despical.inventoryframework.pane.Pane
-
Set the y coordinate of this pane
- show(HumanEntity) - Method in class me.despical.inventoryframework.Gui
-
Shows a gui to a player
- show(Player) - Method in class me.despical.inventoryframework.GuiBuilder
- SkullUtil - Class in me.despical.inventoryframework.util
-
An utility class for working with skulls
- Slider - Class in me.despical.inventoryframework.pane.component
-
A slider for a graphical interface into what amount of a whole is set.
- Slider(int, int) - Constructor for class me.despical.inventoryframework.pane.component.Slider
- Slider(int, int, int, int) - Constructor for class me.despical.inventoryframework.pane.component.Slider
- Slider(int, int, int, int, Pane.Priority) - Constructor for class me.despical.inventoryframework.pane.component.Slider
- slotToXY(int) - Static method in class me.despical.inventoryframework.util.GeometryUtil
- SPRUCE_PLANKS - Static variable in class me.despical.inventoryframework.font.util.Font
-
The spruce planks font
- StaticPane - Class in me.despical.inventoryframework.pane
-
A pane for static items and stuff.
- StaticPane(int, int) - Constructor for class me.despical.inventoryframework.pane.StaticPane
- StaticPane(int, int, int, int) - Constructor for class me.despical.inventoryframework.pane.StaticPane
- StaticPane(int, int, int, int, Pane.Priority) - Constructor for class me.despical.inventoryframework.pane.StaticPane
- STONE - Static variable in class me.despical.inventoryframework.font.util.Font
-
The stone font
- store(HumanEntity) - Method in class me.despical.inventoryframework.HumanEntityCache
-
Stores this player's inventory in the cache.
- storeAndClear(HumanEntity) - Method in class me.despical.inventoryframework.HumanEntityCache
-
Stores this player's inventory in the cache.
T
- title(String) - Method in class me.despical.inventoryframework.GuiBuilder
- toggle() - Method in class me.despical.inventoryframework.pane.component.ToggleButton
-
Toggles between the enabled and disabled states
- ToggleButton - Class in me.despical.inventoryframework.pane.component
-
A button that toggles between an enabled and disabled state.
- ToggleButton(int, int) - Constructor for class me.despical.inventoryframework.pane.component.ToggleButton
- ToggleButton(int, int, int, int) - Constructor for class me.despical.inventoryframework.pane.component.ToggleButton
- ToggleButton(int, int, int, int, Pane.Priority) - Constructor for class me.despical.inventoryframework.pane.component.ToggleButton
- toItem(char) - Method in class me.despical.inventoryframework.font.CSVFont
- toItem(char) - Method in class me.despical.inventoryframework.font.util.Font
-
Turns the specified character into an
ItemStackrepresenting the specified character. - TOP - Enum constant in enum class me.despical.inventoryframework.Gui.State
-
This signals that only the top-half of the Gui is in use and the player's inventory will stay like it is
- topClick(Consumer<InventoryClickEvent>) - Method in class me.despical.inventoryframework.GuiBuilder
U
V
- value - Variable in class me.despical.inventoryframework.pane.component.util.VariableBar
-
The value this slider is at.
- valueOf(String) - Static method in enum class me.despical.inventoryframework.Gui.State
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class me.despical.inventoryframework.pane.Orientable.Orientation
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class me.despical.inventoryframework.pane.Pane.Priority
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class me.despical.inventoryframework.Gui.State
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class me.despical.inventoryframework.pane.Orientable.Orientation
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class me.despical.inventoryframework.pane.Pane.Priority
-
Returns an array containing the constants of this enum class, in the order they are declared.
- VariableBar - Class in me.despical.inventoryframework.pane.component.util
-
A variable bar for UI elements that require some sort of bar
- VariableBar(int, int) - Constructor for class me.despical.inventoryframework.pane.component.util.VariableBar
- VariableBar(int, int, int, int) - Constructor for class me.despical.inventoryframework.pane.component.util.VariableBar
- VariableBar(int, int, int, int, Pane.Priority) - Constructor for class me.despical.inventoryframework.pane.component.util.VariableBar
- VERTICAL - Enum constant in enum class me.despical.inventoryframework.pane.Orientable.Orientation
-
A vertical orientation, will outline every item from the top-left corner going down and to the right
W
- WATERMELON - Static variable in class me.despical.inventoryframework.font.util.Font
-
The watermelon font
- WHITE - Static variable in class me.despical.inventoryframework.font.util.Font
-
The white font
X
- x - Variable in class me.despical.inventoryframework.pane.Pane
-
The starting position of this pane, which is 0 by default
- XMLLoadException - Exception Class in me.despical.inventoryframework.exception
-
An exception indicating that something went wrong while trying to load a
Guifrom an XML file. - XMLLoadException(String) - Constructor for exception class me.despical.inventoryframework.exception.XMLLoadException
-
Constructs the exception with a given message
- XMLLoadException(String, Throwable) - Constructor for exception class me.despical.inventoryframework.exception.XMLLoadException
-
Constructs the exception with a given message and cause
- XMLLoadException(Throwable) - Constructor for exception class me.despical.inventoryframework.exception.XMLLoadException
-
Constructs the exception with a given cause
- XMLReflectionException - Exception Class in me.despical.inventoryframework.exception
-
An exception indicating that something went wrong while executing reflection that was loaded prior from an XML file.
- XMLReflectionException(String) - Constructor for exception class me.despical.inventoryframework.exception.XMLReflectionException
-
Constructs the exception with a given message
- XMLReflectionException(Throwable) - Constructor for exception class me.despical.inventoryframework.exception.XMLReflectionException
-
Constructs the exception with a given cause
- XMLUtil - Class in me.despical.inventoryframework.util
-
An utility class for xml files
- XMLUtil() - Constructor for class me.despical.inventoryframework.util.XMLUtil
- xyToSlot(int, int) - Static method in class me.despical.inventoryframework.util.GeometryUtil
Y
- y - Variable in class me.despical.inventoryframework.pane.Pane
-
The starting position of this pane, which is 0 by default
- YELLOW - Static variable in class me.despical.inventoryframework.font.util.Font
-
The yellow font
All Classes and Interfaces|All Packages|Serialized Form