Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- AbstractAttributable - Class in me.eddie.inventoryguiapi.gui.session
-
A simple implementation of the Attributable interface that uses a hashmap
- AbstractAttributable() - Constructor for class me.eddie.inventoryguiapi.gui.session.AbstractAttributable
- AbstractGUIElement - Class in me.eddie.inventoryguiapi.gui.elements
-
A basic and incomplete implementation of GUIElement that provides code for managing the desired slot for a GUIElement.
- AbstractGUIElement() - Constructor for class me.eddie.inventoryguiapi.gui.elements.AbstractGUIElement
- AbstractGUIElement(int) - Constructor for class me.eddie.inventoryguiapi.gui.elements.AbstractGUIElement
- ActionItem - Class in me.eddie.inventoryguiapi.gui.elements
-
Represents a GUIElement that when clicked performs an action
- ActionItem(int, ItemStack, ActionItem.ActionHandler) - Constructor for class me.eddie.inventoryguiapi.gui.elements.ActionItem
-
Construct a new ActionItem with a desired slot
- ActionItem(int, ItemStack, ActionItem.ActionHandler, FormImage) - Constructor for class me.eddie.inventoryguiapi.gui.elements.ActionItem
-
Construct a new ActionItem with a desired slot
- ActionItem(ItemStack, ActionItem.ActionHandler) - Constructor for class me.eddie.inventoryguiapi.gui.elements.ActionItem
-
Construct a new ActionItem with no desired slot
- ActionItem.ActionHandler - Interface in me.eddie.inventoryguiapi.gui.elements
-
Represents the action that should happen when this action item is clicked
- actionListeners - Variable in class me.eddie.inventoryguiapi.gui.guis.GUI
- actionListeners(GUIActionListener...) - Method in class me.eddie.inventoryguiapi.gui.guis.GUIBuilder
-
Specify action listeners for this GUI.
- addGUISessionOfBedrockPlayer(Player, GUISession) - Static method in class me.eddie.inventoryguiapi.util.BedrockUtil
- addGUISessionOfBedrockPlayer(FloodgatePlayer, GUISession) - Static method in class me.eddie.inventoryguiapi.util.BedrockUtil
- Attributable - Interface in me.eddie.inventoryguiapi.gui.session
-
Represents an object that attributes can be added to and remove from.
- AUTO_SET_SIZE - Static variable in class me.eddie.inventoryguiapi.gui.guis.GUI
B
- bedrockContents(String, List<GUIElement>, boolean, boolean, boolean) - Method in class me.eddie.inventoryguiapi.gui.guis.GUIBuilder
-
Specify what GUIElements this GUI should display and the title of the GUI if Bedrock Forms-based.
- BedrockGUIPresenter - Class in me.eddie.inventoryguiapi.gui.view
-
Class that takes the generated contents of a InventoryGUI and shows it to a Bedrock player as a native Bedrock form.
- BedrockGUIPresenter() - Constructor for class me.eddie.inventoryguiapi.gui.view.BedrockGUIPresenter
- BedrockUtil - Class in me.eddie.inventoryguiapi.util
- BedrockUtil() - Constructor for class me.eddie.inventoryguiapi.util.BedrockUtil
- BOUND_TO_GUI - Enum constant in enum class me.eddie.inventoryguiapi.gui.guis.GUIBuilder.GUIStateBehaviour
-
This value will mean the default
SharedGUIimplementation is used, with this implementation the GUIState is bound to the GUI and is persistent. - build() - Method in class me.eddie.inventoryguiapi.gui.guis.GUIBuilder
- BukkitEventListener - Class in me.eddie.inventoryguiapi.listeners
-
Listens to Bukkit events and passes them to GUIs when relevant
- BukkitEventListener() - Constructor for class me.eddie.inventoryguiapi.listeners.BukkitEventListener
- BUNDLE_NAME - Static variable in class me.eddie.inventoryguiapi.language.GUILanguageManager
C
- call(T) - Method in interface me.eddie.inventoryguiapi.util.Callback
-
Call this method to invoke the callback
- Callback<T> - Interface in me.eddie.inventoryguiapi.util
-
Used to specify a method to be executed later with a given argument.
- canAutoInsertIntoSlot(Player, GUISession) - Method in class me.eddie.inventoryguiapi.gui.elements.ActionItem
- canAutoInsertIntoSlot(Player, GUISession) - Method in interface me.eddie.inventoryguiapi.gui.elements.GUIElement
-
Whether or not viewers can use Minecraft's auto-insert (Shift click) feature with this slot.
- canAutoInsertIntoSlot(Player, GUISession) - Method in class me.eddie.inventoryguiapi.gui.elements.InputSlot
- canAutoInsertIntoSlot(Player, GUISession) - Method in class me.eddie.inventoryguiapi.gui.elements.LabelItem
- canStack(ItemStack...) - Static method in class me.eddie.inventoryguiapi.util.StackCompatibilityUtil
- CommandInventoryExample - Class in me.eddie.inventoryguiapi.examples
-
An example of using the API to create a static inventory full of items that when clicked execute commands.
- CommandInventoryExample() - Constructor for class me.eddie.inventoryguiapi.examples.CommandInventoryExample
- contents(String, List<GUIElement>, boolean, boolean, boolean) - Method in class me.eddie.inventoryguiapi.gui.guis.GUIBuilder
-
Specify what GUIElements this GUI should display and the title of the GUI.
- contentsProvider - Variable in class me.eddie.inventoryguiapi.gui.guis.GUI
- contentsProvider(GUIContentsProvider) - Method in class me.eddie.inventoryguiapi.gui.guis.GUIBuilder
-
Specify the GUIContentsProvider this GUI should use.
- create(boolean, List<GUIElement>) - Static method in class me.eddie.inventoryguiapi.gui.contents.GUIContentsProvider.GUIContentsResponse
-
Create a new GUIContentsResponse
- createActionItem(int, ItemStack, ActionItem.ActionHandler) - Static method in class me.eddie.inventoryguiapi.gui.elements.GUIElementFactory
-
Create an ActionItem - A GUIElement that when clicked performs an action
- createActionItem(int, ItemStack, ActionItem.ActionHandler, FormImage) - Static method in class me.eddie.inventoryguiapi.gui.elements.GUIElementFactory
-
Create an ActionItem - A GUIElement that when clicked performs an action
- createActionItem(int, ItemStack, Callback<Player>) - Static method in class me.eddie.inventoryguiapi.gui.elements.GUIElementFactory
-
Create an ActionItem - A GUIElement that when clicked performs an action
- createActionItem(int, ItemStack, Callback<Player>, FormImage) - Static method in class me.eddie.inventoryguiapi.gui.elements.GUIElementFactory
-
Create an ActionItem - A GUIElement that when clicked performs an action
- createActionItem(ItemStack, ActionItem.ActionHandler) - Static method in class me.eddie.inventoryguiapi.gui.elements.GUIElementFactory
-
Create an ActionItem - A GUIElement that when clicked performs an action.
- createActionItem(ItemStack, Callback<Player>) - Static method in class me.eddie.inventoryguiapi.gui.elements.GUIElementFactory
-
Create an ActionItem - A GUIElement that when clicked performs an action.
- createCommandElement(String, Material, String, String...) - Method in class me.eddie.inventoryguiapi.examples.CommandInventoryExample
- createGUI() - Method in class me.eddie.inventoryguiapi.examples.CommandInventoryExample
- createInputSlot(String, int, InputSlot.ActionHandler) - Static method in class me.eddie.inventoryguiapi.gui.elements.GUIElementFactory
-
Create an InputSlot - A GUIElement that accepts user input Use
InputSlot.setCurrentItem(me.eddie.inventoryguiapi.gui.session.GUISession, ItemStack)to change the item currently input post-creation. - createInputSlot(String, InputSlot.ActionHandler) - Static method in class me.eddie.inventoryguiapi.gui.elements.GUIElementFactory
-
Create an InputSlot - A GUIElement that accepts user input This InputSlot will have no preference for which slot it should be displayed in.
- createLabelItem(int, ItemStack) - Static method in class me.eddie.inventoryguiapi.gui.elements.GUIElementFactory
-
Create a LabelItem - A GUIElement that displays text
- createLabelItem(ItemStack) - Static method in class me.eddie.inventoryguiapi.gui.elements.GUIElementFactory
-
Create a LabelItem - A GUIElement that displays text This LabelItem will have no preference for which slot it should be displayed in.
- createNewSession(Player, int) - Method in class me.eddie.inventoryguiapi.gui.guis.GUI
- createNewSession(Player, int) - Method in class me.eddie.inventoryguiapi.gui.guis.SharedGUI
- CrossPlatformGUIPresenter - Class in me.eddie.inventoryguiapi.gui.view
-
Class that takes the generated contents of an InventoryGUI and shows it to a player, with different presentation implementation depending on the player's platform (Java or Bedrock).
- CrossPlatformGUIPresenter() - Constructor for class me.eddie.inventoryguiapi.gui.view.CrossPlatformGUIPresenter
D
- DEFAULT - Static variable in class me.eddie.inventoryguiapi.gui.elements.FormImage
- dynamicallyResizeToWrapContent(boolean) - Method in class me.eddie.inventoryguiapi.gui.guis.GUIBuilder
-
Set whether or not this inventory should automatically re-size to wrap it's contents.
E
- EventCaller - Class in me.eddie.inventoryguiapi.plugin
-
Fires an event through bukkit.
- EventCaller() - Constructor for class me.eddie.inventoryguiapi.plugin.EventCaller
- extractSession(Player) - Static method in class me.eddie.inventoryguiapi.gui.session.GUISession
-
Extract the GUISession from the inventory currently being viewed by a player, or null if none exists
- extractSession(Inventory) - Static method in class me.eddie.inventoryguiapi.gui.session.GUISession
-
Get the GUISession for a given inventory, or null if none exists for this inventory
F
- fireEvent(GUIEvent, GUIElement, T) - Method in class me.eddie.inventoryguiapi.gui.guis.GUI
- fireEventThroughActionListeners(GUIEvent) - Method in class me.eddie.inventoryguiapi.gui.guis.GUI
- fireThroughBukkit(Event) - Static method in class me.eddie.inventoryguiapi.plugin.EventCaller
-
Fires an event through bukkit
- FORM_BUTTON_INDEX_TO_ELEMENT_KEY_PREFIX - Static variable in class me.eddie.inventoryguiapi.util.BedrockUtil
- formatItem(ItemStack, String, String...) - Static method in class me.eddie.inventoryguiapi.gui.elements.GUIElementFactory
-
Will take a given ItemStack and change it's lore and display name.
- FormImage - Class in me.eddie.inventoryguiapi.gui.elements
-
Describes a Bedrock Form image.
- FormImage() - Constructor for class me.eddie.inventoryguiapi.gui.elements.FormImage
-
Creates a new NONE Bedrock image.
- FormImage(FormImage.Type, String) - Constructor for class me.eddie.inventoryguiapi.gui.elements.FormImage
-
Creates a new Bedrock image.
- FormImage.Type - Enum Class in me.eddie.inventoryguiapi.gui.elements
G
- genBaseTitle(Player, GUISession, Callback<String>) - Method in class me.eddie.inventoryguiapi.gui.contents.PaginatingGUIContentsProvider
-
Calculate the title to display for this GUI.
- genContents() - Method in class me.eddie.inventoryguiapi.examples.CommandInventoryExample
- genContents(Player, int, GUISession, Callback<GUIContentsProvider.GUIContentsResponse>) - Method in class me.eddie.inventoryguiapi.examples.TradeInventoryExample
- genContents(Player, int, GUISession, Callback<GUIContentsProvider.GUIContentsResponse>) - Method in interface me.eddie.inventoryguiapi.gui.contents.GUIContentsProvider
-
Calculate the GUIElements to display on this page and if another exists.
- genContents(Player, int, GUISession, Callback<GUIContentsProvider.GUIContentsResponse>) - Method in class me.eddie.inventoryguiapi.gui.contents.PaginatingGUIContentsProvider
- genContents(Player, int, GUISession, Callback<GUIContentsProvider.GUIContentsResponse>) - Method in class me.eddie.inventoryguiapi.gui.contents.PlatformDifferentiatedGUIContentsProvider
- genContents(Player, GUISession, Callback<List<GUIElement>>) - Method in class me.eddie.inventoryguiapi.gui.contents.PaginatingGUIContentsProvider
-
Calculate the GUIElements to display in this GUI.
- genNextPageButton(InventoryGUI, GUISession) - Method in class me.eddie.inventoryguiapi.gui.contents.LimitedGUIPopulator
-
Generate a new next page button
- genPrevPageButton(InventoryGUI, GUISession) - Method in class me.eddie.inventoryguiapi.gui.contents.LimitedGUIPopulator
-
Generate a new previous page button
- genTitle(Player, int, GUISession, Callback<String>) - Method in class me.eddie.inventoryguiapi.examples.TradeInventoryExample
- genTitle(Player, int, GUISession, Callback<String>) - Method in interface me.eddie.inventoryguiapi.gui.contents.GUIContentsProvider
-
Calculate the title to display for a given page.
- genTitle(Player, int, GUISession, Callback<String>) - Method in class me.eddie.inventoryguiapi.gui.contents.PaginatingGUIContentsProvider
- genTitle(Player, int, GUISession, Callback<String>) - Method in class me.eddie.inventoryguiapi.gui.contents.PlatformDifferentiatedGUIContentsProvider
- getActionHandler() - Method in class me.eddie.inventoryguiapi.gui.elements.ActionItem
-
Get the ActionHandler that defines how this ActionItem behaves
- getActionHandler() - Method in class me.eddie.inventoryguiapi.gui.elements.InputSlot
-
Get the ActionHandler that defines how this InputSlot behaves
- getAttribute(Object) - Method in class me.eddie.inventoryguiapi.gui.session.AbstractAttributable
- getAttribute(Object) - Method in interface me.eddie.inventoryguiapi.gui.session.Attributable
-
Get the value of an attribute
- getBedrockSession(Player) - Static method in class me.eddie.inventoryguiapi.util.BedrockUtil
- getBottomInventory() - Method in class me.eddie.inventoryguiapi.util.MockInventoryView
- getBukkitEvent() - Method in class me.eddie.inventoryguiapi.gui.events.GUIClickEvent
-
Get the Bukkit event that caused this event
- getComputedContentsBySlot() - Method in class me.eddie.inventoryguiapi.gui.session.InventoryState
-
Get the currently computed contents of this InventoryState by slot
- getContentsProvider() - Method in class me.eddie.inventoryguiapi.gui.guis.GUI
-
Get the ContentsProvider associated with calculating what GUIElements to display in this GUI
- getCurrentItem(GUIState) - Method in class me.eddie.inventoryguiapi.gui.elements.InputSlot
-
Get the item currently being displayed in this input slot
- getDesiredDisplayPosition() - Method in class me.eddie.inventoryguiapi.gui.elements.AbstractGUIElement
- getDesiredDisplayPosition() - Method in interface me.eddie.inventoryguiapi.gui.elements.GUIElement
-
Return the desired display position of this GUI Element in the inventory.
- getDisplay(Player, GUISession) - Method in class me.eddie.inventoryguiapi.gui.elements.ActionItem
- getDisplay(Player, GUISession) - Method in interface me.eddie.inventoryguiapi.gui.elements.GUIElement
-
This method returns the item (Bukkit) to be displayed in the inventory slot for a player.
- getDisplay(Player, GUISession) - Method in class me.eddie.inventoryguiapi.gui.elements.InputSlot
- getDisplay(Player, GUISession) - Method in class me.eddie.inventoryguiapi.gui.elements.LabelItem
- getDisplayItem() - Method in class me.eddie.inventoryguiapi.gui.elements.ActionItem
- getDisplayItem() - Method in class me.eddie.inventoryguiapi.gui.elements.LabelItem
- getElementInSlot(int) - Method in class me.eddie.inventoryguiapi.gui.session.InventoryState
-
Retrieve the element currently positioned in a slot
- getElements() - Method in class me.eddie.inventoryguiapi.gui.contents.GUIContentsProvider.GUIContentsResponse
- getExistingInventoryState(int) - Method in class me.eddie.inventoryguiapi.gui.session.GUIState
-
Get the InventoryState for the given page, or null if none exists
- getFormattedString(String, Object...) - Method in class me.eddie.inventoryguiapi.language.GUILanguageManager
-
Get a formatted string.
- getFormButtonIndexToElementKey(int) - Static method in class me.eddie.inventoryguiapi.util.BedrockUtil
- getFormImage(Player, GUISession) - Method in class me.eddie.inventoryguiapi.gui.elements.ActionItem
- getFormImage(Player, GUISession) - Method in interface me.eddie.inventoryguiapi.gui.elements.GUIElement
-
This method returns the Form Image (Bedrock) to be displayed in the GUI for a player.
- getFormImage(Player, GUISession) - Method in class me.eddie.inventoryguiapi.gui.elements.InputSlot
- getFormImage(Player, GUISession) - Method in class me.eddie.inventoryguiapi.gui.elements.LabelItem
- getGuiPopulator() - Method in class me.eddie.inventoryguiapi.gui.guis.GUI
-
Get the GUIPopulator associated with calculating the layout of GUIElements to display in this GUI
- getGuiPresenter() - Method in class me.eddie.inventoryguiapi.gui.guis.GUI
-
Get the GUIPresenter associated with displaying this GUI
- getGUISessionOfBedrockPlayer(Player) - Static method in class me.eddie.inventoryguiapi.util.BedrockUtil
- getGUISessionOfBedrockPlayer(FloodgatePlayer) - Static method in class me.eddie.inventoryguiapi.util.BedrockUtil
- getGUIState() - Method in class me.eddie.inventoryguiapi.gui.guis.SharedGUI
- getGUIState() - Method in interface me.eddie.inventoryguiapi.gui.guis.SharedInventoryGUI
-
Get the shared GUIState that is shared by all viewers of this GUI
- getGUIState() - Method in class me.eddie.inventoryguiapi.gui.session.GUISession
-
Get the state of the GUI currently being viewed
- getHandlerList() - Static method in class me.eddie.inventoryguiapi.gui.events.GUIBedrockClickEvent
- getHandlerList() - Static method in class me.eddie.inventoryguiapi.gui.events.GUIClickEvent
- getHandlerList() - Static method in class me.eddie.inventoryguiapi.gui.events.GUICloseEvent
- getHandlerList() - Static method in class me.eddie.inventoryguiapi.gui.events.GUIEvent
- getHandlerList() - Static method in class me.eddie.inventoryguiapi.gui.events.GUIMiscClickEvent
- getHandlerList() - Static method in class me.eddie.inventoryguiapi.gui.events.GUIOpenEvent
- getHandlerList() - Static method in class me.eddie.inventoryguiapi.gui.events.GUIPickupItemEvent
- getHandlerList() - Static method in class me.eddie.inventoryguiapi.gui.events.GUIPlaceItemEvent
- getHandlerList() - Static method in class me.eddie.inventoryguiapi.gui.events.GUIUpdateEvent
- getHandlers() - Method in class me.eddie.inventoryguiapi.gui.events.GUIBedrockClickEvent
- getHandlers() - Method in class me.eddie.inventoryguiapi.gui.events.GUIClickEvent
- getHandlers() - Method in class me.eddie.inventoryguiapi.gui.events.GUICloseEvent
- getHandlers() - Method in class me.eddie.inventoryguiapi.gui.events.GUIEvent
- getHandlers() - Method in class me.eddie.inventoryguiapi.gui.events.GUIMiscClickEvent
- getHandlers() - Method in class me.eddie.inventoryguiapi.gui.events.GUIOpenEvent
- getHandlers() - Method in class me.eddie.inventoryguiapi.gui.events.GUIPickupItemEvent
- getHandlers() - Method in class me.eddie.inventoryguiapi.gui.events.GUIPlaceItemEvent
- getHandlers() - Method in class me.eddie.inventoryguiapi.gui.events.GUIUpdateEvent
- getInputSlotID() - Method in class me.eddie.inventoryguiapi.gui.elements.InputSlot
-
Get the unique (Within this GUI) input slot ID for this input slot.
- getInstance() - Static method in class me.eddie.inventoryguiapi.plugin.InventoryGUIAPI
- getInteractedElement() - Method in class me.eddie.inventoryguiapi.gui.events.GUIClickEvent
-
Get the GUIElement interacted with, or null if none was
- getInventory() - Method in class me.eddie.inventoryguiapi.gui.session.GUISession
-
Method inherited from Bukkit's InventoryHolder.
- getInventoryGUI() - Method in class me.eddie.inventoryguiapi.gui.session.GUISession
-
Get the InventoryGUI being viewed
- getInventorySlot() - Method in class me.eddie.inventoryguiapi.gui.events.GUIClickEvent
-
Get the slot of the inventory interacted with
- getInventoryStatesByPage() - Method in class me.eddie.inventoryguiapi.gui.session.GUIState
- getInventoryType() - Method in class me.eddie.inventoryguiapi.gui.guis.GUI
- getInventoryType() - Method in interface me.eddie.inventoryguiapi.gui.guis.InventoryGUI
-
Get the inventory type used by this GUI to display items to viewers
- getLanguageManager() - Static method in class me.eddie.inventoryguiapi.plugin.InventoryGUIAPI
- getMaximumGUISize() - Method in class me.eddie.inventoryguiapi.gui.guis.GUI
- getMaximumGUISize() - Method in interface me.eddie.inventoryguiapi.gui.guis.InventoryGUI
-
Get the maximum size that this GUI can be before extra elements will flow onto new pages.
- getName() - Method in enum class me.eddie.inventoryguiapi.gui.elements.FormImage.Type
- getOrCreateInventoryState(int) - Method in class me.eddie.inventoryguiapi.gui.session.GUIState
-
Get the InventoryState for the given page, creating a new one if none existed
- getPage() - Method in class me.eddie.inventoryguiapi.gui.session.GUISession
-
Get the page currently being viewed
- getPath() - Method in class me.eddie.inventoryguiapi.gui.elements.FormImage
- getPlayer() - Method in class me.eddie.inventoryguiapi.util.MockInventoryView
- getPreferredLocale() - Method in class me.eddie.inventoryguiapi.language.GUILanguageManager
-
Get the locale this LanguageManager was initialized with and therefore should be used if possible
- getResources() - Method in class me.eddie.inventoryguiapi.language.GUILanguageManager
-
Get the resource bundle being used to determine which messages to display
- getSession() - Method in class me.eddie.inventoryguiapi.gui.events.GUIClickEvent
-
Get the GUISession associated with the click event
- getSession() - Method in class me.eddie.inventoryguiapi.gui.events.GUICloseEvent
-
Get the GUISession associated with the closed GUI
- getSession() - Method in class me.eddie.inventoryguiapi.gui.events.GUIOpenEvent
-
Get the GUISession associated with the opened GUI
- getSession() - Method in class me.eddie.inventoryguiapi.gui.events.GUIUpdateEvent
-
Get the GUISession associated with the updated GUI
- getString(String) - Method in class me.eddie.inventoryguiapi.language.GUILanguageManager
-
Convenience method that calls to the resource bundle
- getTitle() - Method in class me.eddie.inventoryguiapi.gui.session.InventoryState
-
Return the title calculated to be used to display this page, or null if none yet exists
- getTitle() - Method in class me.eddie.inventoryguiapi.util.MockInventoryView
- getTopInventory() - Method in class me.eddie.inventoryguiapi.util.MockInventoryView
- getType() - Method in class me.eddie.inventoryguiapi.gui.elements.FormImage
- getType() - Method in class me.eddie.inventoryguiapi.util.MockInventoryView
- getViewer() - Method in class me.eddie.inventoryguiapi.gui.events.GUIClickEvent
-
Get the viewer who just clicked
- getViewer() - Method in class me.eddie.inventoryguiapi.gui.events.GUICloseEvent
-
Get the viewer who just closed this GUI
- getViewer() - Method in class me.eddie.inventoryguiapi.gui.events.GUIOpenEvent
-
Get the viewer who just opened this GUI
- getViewer() - Method in class me.eddie.inventoryguiapi.gui.events.GUIUpdateEvent
-
Get the viewer who's GUI's contents was updated
- GUI - Class in me.eddie.inventoryguiapi.gui.guis
-
Default implementation of a GUI The state of the GUI (GUIState) is local to each session, and when a session ends (GUI closes) is lost
- GUI(InventoryType, int, boolean, GUIContentsProvider, GUIPopulator, GUIPresenter, GUIActionListener...) - Constructor for class me.eddie.inventoryguiapi.gui.guis.GUI
-
Create a new GUI
- GUI(InventoryType, int, boolean, GUIContentsProvider, GUIActionListener...) - Constructor for class me.eddie.inventoryguiapi.gui.guis.GUI
-
Create a new GUI
- GUIActionListener - Interface in me.eddie.inventoryguiapi.gui.guis
-
An interface that can be used to define handling for GUIEvents for a given GUI.
- GUIBedrockClickEvent - Class in me.eddie.inventoryguiapi.gui.events
-
Cancellable event that is fired when a GUIElement has been clicked on in a Bedrock form but has not yet handled the click
- GUIBedrockClickEvent(GUISession, Player, GUIElement, int) - Constructor for class me.eddie.inventoryguiapi.gui.events.GUIBedrockClickEvent
- GUIBuilder - Class in me.eddie.inventoryguiapi.gui.guis
-
Builder for the constructing an instance of one of the default GUI implementations
- GUIBuilder() - Constructor for class me.eddie.inventoryguiapi.gui.guis.GUIBuilder
-
Create a new GUIBuilder, used for building a new InventoryGUI that uses the default GUI implementation
- GUIBuilder.GUIStateBehaviour - Enum Class in me.eddie.inventoryguiapi.gui.guis
-
Enum that defines how a GUI's GUIState should be handled
- GUIClickEvent - Class in me.eddie.inventoryguiapi.gui.events
-
Cancellable event that is fired when a GUIElement has been clicked on but has not yet handled the click
- GUIClickEvent(GUISession, Player, int, GUIElement, InventoryClickEvent) - Constructor for class me.eddie.inventoryguiapi.gui.events.GUIClickEvent
- GUICloseEvent - Class in me.eddie.inventoryguiapi.gui.events
-
Event that denotes that a GUI has been opened
- GUICloseEvent(GUISession, Player) - Constructor for class me.eddie.inventoryguiapi.gui.events.GUICloseEvent
- GUIContentsProvider - Interface in me.eddie.inventoryguiapi.gui.contents
-
Determines what contents to show viewers on each page, the title of each page and if there is another page after this one.
- GUIContentsProvider.GUIContentsResponse - Class in me.eddie.inventoryguiapi.gui.contents
-
The calculated result of a call to
GUIContentsProvider.genContents(Player, int, GUISession, Callback)An instance of this object should be passed toCallback.call(Object)on the callback provided with genContents. - GUIContentsResponse(boolean, List<GUIElement>) - Constructor for class me.eddie.inventoryguiapi.gui.contents.GUIContentsProvider.GUIContentsResponse
-
Create a new GUIContentsResponse
- GUIElement - Interface in me.eddie.inventoryguiapi.gui.elements
-
Represents an element in a GUI and defines it's behaviour.
- GUIElementFactory - Class in me.eddie.inventoryguiapi.gui.elements
-
Some helpful methods for creating common GUIElements
- GUIElementFactory() - Constructor for class me.eddie.inventoryguiapi.gui.elements.GUIElementFactory
- GUIEvent - Class in me.eddie.inventoryguiapi.gui.events
-
Represents an event that happens to a GUI.
- GUIEvent() - Constructor for class me.eddie.inventoryguiapi.gui.events.GUIEvent
- GUILanguageManager - Class in me.eddie.inventoryguiapi.language
-
Created by Edward on 28/12/2016.
- GUILanguageManager() - Constructor for class me.eddie.inventoryguiapi.language.GUILanguageManager
- GUILanguageManager(Locale) - Constructor for class me.eddie.inventoryguiapi.language.GUILanguageManager
- GUIMiscClickEvent - Class in me.eddie.inventoryguiapi.gui.events
-
Cancellable event that is fired when a GUIElement has been clicked on but has not yet handled the click
- GUIMiscClickEvent(GUISession, Player, int, GUIElement, InventoryClickEvent) - Constructor for class me.eddie.inventoryguiapi.gui.events.GUIMiscClickEvent
- GUIOpenEvent - Class in me.eddie.inventoryguiapi.gui.events
-
Event that denotes that a GUI has been opened
- GUIOpenEvent(GUISession, Player) - Constructor for class me.eddie.inventoryguiapi.gui.events.GUIOpenEvent
- GUIPickupItemEvent - Class in me.eddie.inventoryguiapi.gui.events
-
Cancellable event that is fired when a GUIElement has been an item taken from it but has not yet handled it
- GUIPickupItemEvent(GUISession, Player, int, GUIElement, InventoryClickEvent) - Constructor for class me.eddie.inventoryguiapi.gui.events.GUIPickupItemEvent
- GUIPlaceItemEvent - Class in me.eddie.inventoryguiapi.gui.events
-
Cancellable event that is fired when a GUIElement has been an item placed in it but has not yet handled it
- GUIPlaceItemEvent(GUISession, Player, int, GUIElement, InventoryClickEvent) - Constructor for class me.eddie.inventoryguiapi.gui.events.GUIPlaceItemEvent
- guiPopulator - Variable in class me.eddie.inventoryguiapi.gui.guis.GUI
- GUIPopulator - Interface in me.eddie.inventoryguiapi.gui.contents
-
Responsible for Calculating the positions that GUIElements need to go into in the displayed GUI and then updating the current inventory state.
- guiPresenter - Variable in class me.eddie.inventoryguiapi.gui.guis.GUI
- GUIPresenter - Interface in me.eddie.inventoryguiapi.gui.view
-
Class that takes the generated contents of an InventoryGUI and shows it to a player.
- GUISession - Class in me.eddie.inventoryguiapi.gui.session
-
Represents a viewing session for a GUI.
- GUISession(InventoryGUI, int, GUIState) - Constructor for class me.eddie.inventoryguiapi.gui.session.GUISession
-
Construct a new GUISession
- GUISettingValidation - Class in me.eddie.inventoryguiapi.util
-
Internally used to validate if GUI settings are valid
- GUISettingValidation() - Constructor for class me.eddie.inventoryguiapi.util.GUISettingValidation
- GUIState - Class in me.eddie.inventoryguiapi.gui.session
-
This class represents the current state of an InventoryGUI being displayed.
- GUIState() - Constructor for class me.eddie.inventoryguiapi.gui.session.GUIState
-
Create a new GUIState
- guiStateBehaviour(GUIBuilder.GUIStateBehaviour) - Method in class me.eddie.inventoryguiapi.gui.guis.GUIBuilder
-
Define how the GUIState should be handled.
- GUIUpdateEvent - Class in me.eddie.inventoryguiapi.gui.events
-
Event that's fired when a player's GUI's contents is updated
- GUIUpdateEvent(GUISession, Player) - Constructor for class me.eddie.inventoryguiapi.gui.events.GUIUpdateEvent
H
- handleAutoInsertAsIndividualActions(Player, InventoryState, GUISession, Inventory, InventoryClickEvent) - Method in class me.eddie.inventoryguiapi.gui.guis.GUI
- handleBedrockResponse(GUISession, Player, int) - Method in class me.eddie.inventoryguiapi.gui.guis.GUI
- handleBedrockResponse(GUISession, Player, int) - Method in interface me.eddie.inventoryguiapi.gui.guis.InventoryGUI
-
Handle a Bedrock form response
- handleBukkitEvent(Event, GUISession) - Method in class me.eddie.inventoryguiapi.gui.guis.GUI
- handleBukkitEvent(Event, GUISession) - Method in interface me.eddie.inventoryguiapi.gui.guis.InventoryGUI
-
Handle the given Bukkit event, for example a ClickEvent
- hasAttribute(Object) - Method in class me.eddie.inventoryguiapi.gui.session.AbstractAttributable
- hasAttribute(Object) - Method in interface me.eddie.inventoryguiapi.gui.session.Attributable
-
Check if a given attribute exists
- hasBedrockProvider() - Method in class me.eddie.inventoryguiapi.gui.contents.PlatformDifferentiatedGUIContentsProvider
- hasBedrockSession(Player) - Static method in class me.eddie.inventoryguiapi.util.BedrockUtil
- hasDesiredDisplayPosition() - Method in class me.eddie.inventoryguiapi.gui.elements.AbstractGUIElement
- hasDesiredDisplayPosition() - Method in interface me.eddie.inventoryguiapi.gui.elements.GUIElement
-
Returns true if this element has a specific place it wants to be placed in a GUI or false if it doesn't matter.
- hasInventoryState(int) - Method in class me.eddie.inventoryguiapi.gui.session.GUIState
-
Check if an InventoryState exists for a given page
- hasJavaProvider() - Method in class me.eddie.inventoryguiapi.gui.contents.PlatformDifferentiatedGUIContentsProvider
- hasNextPage() - Method in class me.eddie.inventoryguiapi.gui.contents.GUIContentsProvider.GUIContentsResponse
- hasNextPage() - Method in class me.eddie.inventoryguiapi.gui.session.InventoryState
-
Whether or not another page exists after this one
I
- IGNORE_CLICK_EVENT_META - Static variable in class me.eddie.inventoryguiapi.listeners.BukkitEventListener
-
Metadata that if a player has then a GUI will ignore this event
- IGNORE_CLOSE_EVENT_META - Static variable in class me.eddie.inventoryguiapi.listeners.BukkitEventListener
-
Metadata that if a player has then a GUI will ignore this event
- IGNORE_DRAG_EVENT_META - Static variable in class me.eddie.inventoryguiapi.listeners.BukkitEventListener
-
Metadata that if a player has then a GUI will ignore this event
- initInputSlots() - Method in class me.eddie.inventoryguiapi.examples.TradeInventoryExample
- initResources(Locale) - Method in class me.eddie.inventoryguiapi.language.GUILanguageManager
-
Initialize the resource bundle to use.
- InputSlot - Class in me.eddie.inventoryguiapi.gui.elements
-
Represents a GUIElement that defines a slot where players can input item.
- InputSlot(String, int, InputSlot.ActionHandler) - Constructor for class me.eddie.inventoryguiapi.gui.elements.InputSlot
-
Construct a new InputSlot
- InputSlot(String, InputSlot.ActionHandler) - Constructor for class me.eddie.inventoryguiapi.gui.elements.InputSlot
-
Construct a new InputSlot
- InputSlot.ActionHandler - Interface in me.eddie.inventoryguiapi.gui.elements
-
Represents the action that should happen when this input slot is interacted with
- inventoryContents(String, List<GUIElement>, boolean, boolean, boolean) - Method in class me.eddie.inventoryguiapi.gui.guis.GUIBuilder
-
Specify what GUIElements this GUI should display and the title of the GUI if Inventory-based.
- InventoryGUI - Interface in me.eddie.inventoryguiapi.gui.guis
-
Represents an InvenntoryGUI that players can view and interact with that's GUIState (Contents, etc...) is unique to each viewer
- InventoryGUIAPI - Class in me.eddie.inventoryguiapi.plugin
-
The 'plugin' class.
- InventoryGUIAPI() - Constructor for class me.eddie.inventoryguiapi.plugin.InventoryGUIAPI
- InventoryGUIPresenter - Class in me.eddie.inventoryguiapi.gui.view
-
Class that takes the generated contents of an InventoryGUI and shows it to a player.
- InventoryGUIPresenter() - Constructor for class me.eddie.inventoryguiapi.gui.view.InventoryGUIPresenter
- InventoryState - Class in me.eddie.inventoryguiapi.gui.session
-
Represents the current state of an InventoryGUI page.
- InventoryState() - Constructor for class me.eddie.inventoryguiapi.gui.session.InventoryState
-
Construct a new InventoryState.
- inventoryType - Variable in class me.eddie.inventoryguiapi.gui.guis.GUI
- inventoryType(InventoryType) - Method in class me.eddie.inventoryguiapi.gui.guis.GUIBuilder
-
Sets the type of the inventory the GUI displays.
- isAllowed(InventoryType) - Static method in class me.eddie.inventoryguiapi.util.GUISettingValidation
-
Check if an InventoryType is allowed to be used in a GUI
- isCancelled() - Method in class me.eddie.inventoryguiapi.gui.events.GUIClickEvent
- isDynamicSize - Variable in class me.eddie.inventoryguiapi.gui.guis.GUI
- isGUISizeDynamic() - Method in class me.eddie.inventoryguiapi.gui.guis.GUI
- isGUISizeDynamic() - Method in interface me.eddie.inventoryguiapi.gui.guis.InventoryGUI
-
Whether or not this GUI should re-scale it's size to wrap it's current contents or if it should always be the maximum size
- isValid(int, boolean, InventoryType) - Static method in class me.eddie.inventoryguiapi.util.GUISettingValidation
-
Check if the provided GUI Settings are valid
L
- LabelItem - Class in me.eddie.inventoryguiapi.gui.elements
-
Represents a GUIElement that displays text.
- LabelItem(int, ItemStack) - Constructor for class me.eddie.inventoryguiapi.gui.elements.LabelItem
-
Construct a new LabelItem with a desired slot
- LabelItem(ItemStack) - Constructor for class me.eddie.inventoryguiapi.gui.elements.LabelItem
-
Construct a new LabelItem with no desired slot
- LimitedGUIPopulator - Class in me.eddie.inventoryguiapi.gui.contents
-
Responsible for Calculating the positions that GUIElements need to go into in the displayed, size-limited GUI, adding page changing buttons if necessary and then updating the current inventory state.
- LimitedGUIPopulator() - Constructor for class me.eddie.inventoryguiapi.gui.contents.LimitedGUIPopulator
- LOCAL_TO_SESSION - Enum constant in enum class me.eddie.inventoryguiapi.gui.guis.GUIBuilder.GUIStateBehaviour
-
This value will mean the default
GUIimplementation is used, with this implementation the GUIState is lost when the session ends (GUI closes).
M
- MAX_JAVA_TITLE_LENGTH - Static variable in interface me.eddie.inventoryguiapi.gui.contents.GUIContentsProvider
-
The maximum allowed title length of Minecraft Java Edition
- maxSize - Variable in class me.eddie.inventoryguiapi.gui.guis.GUI
- me.eddie.inventoryguiapi.examples - package me.eddie.inventoryguiapi.examples
- me.eddie.inventoryguiapi.gui.contents - package me.eddie.inventoryguiapi.gui.contents
-
Determine what content a GUI should contain
- me.eddie.inventoryguiapi.gui.elements - package me.eddie.inventoryguiapi.gui.elements
-
Determine what each slot in a GUI should look like and behave like
- me.eddie.inventoryguiapi.gui.events - package me.eddie.inventoryguiapi.gui.events
-
GUI related events
- me.eddie.inventoryguiapi.gui.guis - package me.eddie.inventoryguiapi.gui.guis
-
InventoryGUI interface, implementations and Builder
- me.eddie.inventoryguiapi.gui.session - package me.eddie.inventoryguiapi.gui.session
-
Keeps track of the state of a GUI, it's pages and their contents
- me.eddie.inventoryguiapi.gui.view - package me.eddie.inventoryguiapi.gui.view
-
Determine how a GUI is shown to viewers
- me.eddie.inventoryguiapi.language - package me.eddie.inventoryguiapi.language
- me.eddie.inventoryguiapi.listeners - package me.eddie.inventoryguiapi.listeners
- me.eddie.inventoryguiapi.plugin - package me.eddie.inventoryguiapi.plugin
- me.eddie.inventoryguiapi.util - package me.eddie.inventoryguiapi.util
-
Miscellaneous utilities
- MockInventoryClickEvent - Class in me.eddie.inventoryguiapi.util
- MockInventoryClickEvent(int) - Constructor for class me.eddie.inventoryguiapi.util.MockInventoryClickEvent
- MockInventoryView - Class in me.eddie.inventoryguiapi.util
- MockInventoryView() - Constructor for class me.eddie.inventoryguiapi.util.MockInventoryView
N
- NO_DESIRED_SLOT - Static variable in class me.eddie.inventoryguiapi.gui.elements.AbstractGUIElement
-
The value of slot that, internally, indicates that the element has no desired slot.
- NONE - Enum constant in enum class me.eddie.inventoryguiapi.gui.elements.FormImage.Type
- NONE - Static variable in class me.eddie.inventoryguiapi.gui.elements.FormImage
O
- onClick(GUIClickEvent) - Method in interface me.eddie.inventoryguiapi.gui.elements.ActionItem.ActionHandler
-
When called should perform the action that should happen when this action item is clicked.
- onClick(GUIMiscClickEvent) - Method in interface me.eddie.inventoryguiapi.gui.elements.InputSlot.ActionHandler
-
When called should perform the action that should happen when this input slot is clicked
- onCurrentItemChanged(GUISession, ItemStack) - Method in interface me.eddie.inventoryguiapi.gui.elements.InputSlot.ActionHandler
-
Method called when the item currently in this InputSlot changes.
- onDisable() - Method in class me.eddie.inventoryguiapi.plugin.InventoryGUIAPI
- onEnable() - Method in class me.eddie.inventoryguiapi.plugin.InventoryGUIAPI
- onEvent(GUIEvent) - Method in class me.eddie.inventoryguiapi.examples.TradeInventoryExample
- onEvent(GUIEvent) - Method in class me.eddie.inventoryguiapi.gui.elements.ActionItem
- onEvent(GUIEvent) - Method in interface me.eddie.inventoryguiapi.gui.elements.GUIElement
-
This method defines the behaviour of this GUIElement.
- onEvent(GUIEvent) - Method in class me.eddie.inventoryguiapi.gui.elements.InputSlot
- onEvent(GUIEvent) - Method in class me.eddie.inventoryguiapi.gui.elements.LabelItem
- onEvent(GUIEvent) - Method in interface me.eddie.inventoryguiapi.gui.guis.GUIActionListener
-
Method is called when an event happens to this GUI.
- onInventoryClick(InventoryClickEvent) - Method in class me.eddie.inventoryguiapi.listeners.BukkitEventListener
- onInventoryClose(InventoryCloseEvent) - Method in class me.eddie.inventoryguiapi.listeners.BukkitEventListener
- onInventoryDragEvent(InventoryDragEvent) - Method in class me.eddie.inventoryguiapi.listeners.BukkitEventListener
- onPickupItem(GUIPickupItemEvent) - Method in interface me.eddie.inventoryguiapi.gui.elements.InputSlot.ActionHandler
-
When called should perform the action that should happen when this input slot's item is picked up
- onPlaceItem(GUIPlaceItemEvent) - Method in interface me.eddie.inventoryguiapi.gui.elements.InputSlot.ActionHandler
-
When called should perform the action that should happen when this input slot has an item placed into it
- open(Player) - Method in class me.eddie.inventoryguiapi.gui.guis.GUI
- open(Player) - Method in interface me.eddie.inventoryguiapi.gui.guis.InventoryGUI
-
Shows the player provided the GUI, will show page 1.
- open(Player, int) - Method in class me.eddie.inventoryguiapi.gui.guis.GUI
- open(Player, int) - Method in interface me.eddie.inventoryguiapi.gui.guis.InventoryGUI
-
Shows the player provided the GUI, and starts with the player viewing the given page
P
- paginatingContentsProvider(PaginatingGUIContentsProvider) - Method in class me.eddie.inventoryguiapi.gui.guis.GUIBuilder
-
Specify the PaginatingGUIContentsProvider this GUI should use.
- PaginatingGUIContentsProvider - Class in me.eddie.inventoryguiapi.gui.contents
-
An extension of GUIContentsProvider that will handle paginating a provided list of GUIElements.
- PaginatingGUIContentsProvider() - Constructor for class me.eddie.inventoryguiapi.gui.contents.PaginatingGUIContentsProvider
- PATH - Enum constant in enum class me.eddie.inventoryguiapi.gui.elements.FormImage.Type
- PlatformDifferentiatedGUIContentsProvider - Class in me.eddie.inventoryguiapi.gui.contents
-
Determines what contents to show viewers on each page.
- PlatformDifferentiatedGUIContentsProvider() - Constructor for class me.eddie.inventoryguiapi.gui.contents.PlatformDifferentiatedGUIContentsProvider
- populateGUI(GUISession, Player, Callback<Void>) - Method in interface me.eddie.inventoryguiapi.gui.contents.GUIPopulator
-
Gets, via GUI's contents provider, the items a player should be viewing; figures out what slots they should be displayed in within the inventory; updates the current InventoryState with this and then calls back to the callback.
- populateGUI(GUISession, Player, Callback<Void>) - Method in class me.eddie.inventoryguiapi.gui.contents.LimitedGUIPopulator
-
Gets, via GUI's contents provider, the items a player should be viewing; figures out what slots they should be displayed in within the inventory; updates the current InventoryState with this and then calls back to the callback.
- populateGUI(GUISession, Player, Callback<Void>) - Method in class me.eddie.inventoryguiapi.gui.contents.UnlimitedGUIPopulator
- populator(GUIPopulator) - Method in class me.eddie.inventoryguiapi.gui.guis.GUIBuilder
-
Specify a custom GUIPopulator to use with this GUI.
- presenter(GUIPresenter) - Method in class me.eddie.inventoryguiapi.gui.guis.GUIBuilder
-
Specify a custom GUIPresenter to use with this GUI A GUIPresenter takes the calculated InventoryState that the GUI should currently be displaying and displays it to the end-user.
- putAttribute(Object, Object) - Method in class me.eddie.inventoryguiapi.gui.session.AbstractAttributable
- putAttribute(Object, Object) - Method in interface me.eddie.inventoryguiapi.gui.session.Attributable
-
Set the value of an attribute key/value pair
R
- removeAttribute(Object) - Method in class me.eddie.inventoryguiapi.gui.session.AbstractAttributable
- removeAttribute(Object) - Method in interface me.eddie.inventoryguiapi.gui.session.Attributable
-
Remove an attribute for the given key
- removeGUISessionOfBedrockPlayer(Player) - Static method in class me.eddie.inventoryguiapi.util.BedrockUtil
- removeInventoryState(int) - Method in class me.eddie.inventoryguiapi.gui.session.GUIState
-
Remove the inventory state for a given page
S
- SESSION_PROPERTY_KEY - Static variable in class me.eddie.inventoryguiapi.util.BedrockUtil
- setActionHandler(ActionItem.ActionHandler) - Method in class me.eddie.inventoryguiapi.gui.elements.ActionItem
-
Set the ActionHandler that should define how this ActionItem behaves
- setActionHandler(InputSlot.ActionHandler) - Method in class me.eddie.inventoryguiapi.gui.elements.InputSlot
-
Set the ActionHandler that defines how this InputSlot behaves
- setBedrockProvider(GUIContentsProvider) - Method in class me.eddie.inventoryguiapi.gui.contents.PlatformDifferentiatedGUIContentsProvider
- setCancelled(boolean) - Method in class me.eddie.inventoryguiapi.gui.events.GUIClickEvent
- setComputedContentsBySlot(Map<Integer, GUIElement>) - Method in class me.eddie.inventoryguiapi.gui.session.InventoryState
- setCurrentItem(GUISession, ItemStack) - Method in class me.eddie.inventoryguiapi.gui.elements.InputSlot
-
Set the item currently being displayed in this input slot.
- setDesiredDisplayPosition(int) - Method in class me.eddie.inventoryguiapi.gui.elements.AbstractGUIElement
-
Sets the desired display position of this GUIElement.
- setDisplayItem(ItemStack) - Method in class me.eddie.inventoryguiapi.gui.elements.ActionItem
- setDisplayItem(ItemStack) - Method in class me.eddie.inventoryguiapi.gui.elements.LabelItem
- setElements(List<GUIElement>) - Method in class me.eddie.inventoryguiapi.gui.contents.GUIContentsProvider.GUIContentsResponse
- setFormImage(FormImage) - Method in class me.eddie.inventoryguiapi.gui.elements.ActionItem
- setHasDesiredDisplayPosition(boolean) - Method in class me.eddie.inventoryguiapi.gui.elements.AbstractGUIElement
-
Sets if this GUIElement has a desired display position.
- setHasNextPage(boolean) - Method in class me.eddie.inventoryguiapi.gui.contents.GUIContentsProvider.GUIContentsResponse
- setHasNextPage(boolean) - Method in class me.eddie.inventoryguiapi.gui.session.InventoryState
-
Set whether or not another page exists after this one
- setInputSlotID(String) - Method in class me.eddie.inventoryguiapi.gui.elements.InputSlot
-
Set the unique (Within this GUI) input slot ID for this input slot.
- setJavaProvider(GUIContentsProvider) - Method in class me.eddie.inventoryguiapi.gui.contents.PlatformDifferentiatedGUIContentsProvider
- setPage(int) - Method in class me.eddie.inventoryguiapi.gui.session.GUISession
-
Set the page currently being viewed
- setTitle(String) - Method in class me.eddie.inventoryguiapi.gui.session.InventoryState
-
Set the title calculated to be used to display this page, or null if none yet exists
- SharedGUI - Class in me.eddie.inventoryguiapi.gui.guis
-
Default implementation of a GUI designed to be shared between multiple viewers, with a persistent GUIState The state of the GUI (GUIState) is local to the SharedGUI object, all viewers of this GUI will be viewing the same persistent GUIState
- SharedGUI(InventoryType, int, boolean, GUIContentsProvider, GUIPopulator, GUIPresenter, GUIActionListener...) - Constructor for class me.eddie.inventoryguiapi.gui.guis.SharedGUI
-
Create a new SharedGUI - One where all viewers see the same inventory state (So input slots, etc...
- SharedGUI(InventoryType, int, boolean, GUIContentsProvider, GUIActionListener...) - Constructor for class me.eddie.inventoryguiapi.gui.guis.SharedGUI
- SharedInventoryGUI - Interface in me.eddie.inventoryguiapi.gui.guis
-
Represents an InventoryGUI for players to view and interact with that's GUIState is shared between viewers.
- shouldAllowAutoInsert(Player, GUISession) - Method in interface me.eddie.inventoryguiapi.gui.elements.InputSlot.ActionHandler
-
Whether or not viewers can use Minecraft's auto-insert (Shift click) feature with this slot.
- showGUI(Player) - Method in class me.eddie.inventoryguiapi.examples.CommandInventoryExample
- showPageCountInTitle() - Method in class me.eddie.inventoryguiapi.gui.contents.PaginatingGUIContentsProvider
-
Whether or not to show the page count in the title of the inventory.
- showPageNumberInTitle() - Method in class me.eddie.inventoryguiapi.gui.contents.PaginatingGUIContentsProvider
-
Whether or not to show the page number in the title of the inventory.
- size(int) - Method in class me.eddie.inventoryguiapi.gui.guis.GUIBuilder
-
Set the size this GUI should be for each page.
- StackCompatibilityUtil - Class in me.eddie.inventoryguiapi.util
-
Checks if two items are capable of stacking
- StackCompatibilityUtil() - Constructor for class me.eddie.inventoryguiapi.util.StackCompatibilityUtil
- startTrade() - Method in class me.eddie.inventoryguiapi.examples.TradeInventoryExample
T
- toString() - Method in enum class me.eddie.inventoryguiapi.gui.elements.FormImage.Type
- TradeInventoryExample - Class in me.eddie.inventoryguiapi.examples
-
An example of using the API to create a GUI for two players to trade items with each other.
- TradeInventoryExample(Player, Player) - Constructor for class me.eddie.inventoryguiapi.examples.TradeInventoryExample
- tradeItems(GUISession) - Method in class me.eddie.inventoryguiapi.examples.TradeInventoryExample
U
- UnlimitedGUIPopulator - Class in me.eddie.inventoryguiapi.gui.contents
-
Responsible for Calculating the positions that GUIElements need to go into in the displayed, size-unlimited GUI and then updating the current inventory state.
- UnlimitedGUIPopulator() - Constructor for class me.eddie.inventoryguiapi.gui.contents.UnlimitedGUIPopulator
- updateContentsAndView() - Method in class me.eddie.inventoryguiapi.gui.guis.SharedGUI
- updateContentsAndView() - Method in interface me.eddie.inventoryguiapi.gui.guis.SharedInventoryGUI
-
Recalculates the GUIElements to show the viewers (and what their display itemstacks are) and will update what the viewers see - if anybody is viewing this GUI.
- updateContentsAndView(Player) - Method in class me.eddie.inventoryguiapi.gui.guis.GUI
- updateContentsAndView(Player) - Method in interface me.eddie.inventoryguiapi.gui.guis.InventoryGUI
-
Recalculates the GUIElements to show the player (and what their display itemstacks are) and will update what the player sees - if they are viewing this GUI.
- updateContentsAndView(Player, GUISession) - Method in class me.eddie.inventoryguiapi.gui.guis.GUI
- updateContentsAndView(Player, GUISession) - Method in class me.eddie.inventoryguiapi.gui.guis.SharedGUI
- updateInventoryState(int, InventoryState) - Method in class me.eddie.inventoryguiapi.gui.session.GUIState
-
Update the inventory state for a given page
- updateView() - Method in class me.eddie.inventoryguiapi.gui.guis.SharedGUI
- updateView() - Method in interface me.eddie.inventoryguiapi.gui.guis.SharedInventoryGUI
-
Will update what the viewers of the GUI see to match the GUI's state
- updateView(Player) - Method in class me.eddie.inventoryguiapi.gui.guis.GUI
- updateView(Player) - Method in interface me.eddie.inventoryguiapi.gui.guis.InventoryGUI
-
Will update what the viewer(s) see to match the GUI's state - if they are viewing this GUI.
- updateView(Player, GUISession) - Method in class me.eddie.inventoryguiapi.gui.guis.GUI
- updateView(Player, GUISession) - Method in class me.eddie.inventoryguiapi.gui.guis.SharedGUI
- updateView(Player, GUISession) - Method in class me.eddie.inventoryguiapi.gui.view.BedrockGUIPresenter
-
Will update the viewer's view of the given GUISession.
- updateView(Player, GUISession) - Method in class me.eddie.inventoryguiapi.gui.view.CrossPlatformGUIPresenter
- updateView(Player, GUISession) - Method in interface me.eddie.inventoryguiapi.gui.view.GUIPresenter
-
Will update the viewer's view of the given GUISession.
- updateView(Player, GUISession) - Method in class me.eddie.inventoryguiapi.gui.view.InventoryGUIPresenter
-
Will update the viewer's view of the given GUISession.
- URL - Enum constant in enum class me.eddie.inventoryguiapi.gui.elements.FormImage.Type
V
- valueOf(String) - Static method in enum class me.eddie.inventoryguiapi.gui.elements.FormImage.Type
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class me.eddie.inventoryguiapi.gui.guis.GUIBuilder.GUIStateBehaviour
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class me.eddie.inventoryguiapi.gui.elements.FormImage.Type
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class me.eddie.inventoryguiapi.gui.guis.GUIBuilder.GUIStateBehaviour
-
Returns an array containing the constants of this enum class, in the order they are declared.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form