All Classes and Interfaces
Class
Description
A simple implementation of the Attributable interface that uses a hashmap
A basic and incomplete implementation of GUIElement that provides code for managing the desired slot for a GUIElement.
Represents a GUIElement that when clicked performs an action
Represents the action that should happen when this action item is clicked
Represents an object that attributes can be added to and remove from.
Class that takes the generated contents of a InventoryGUI and shows it to a Bedrock player as a native Bedrock form.
Listens to Bukkit events and passes them to GUIs when relevant
Used to specify a method to be executed later with a given argument.
An example of using the API to create a static inventory full
of items that when clicked execute commands.
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).
Fires an event through bukkit.
Describes a Bedrock Form image.
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
An interface that can be used to define handling for GUIEvents for a given GUI.
Cancellable event that is fired when a GUIElement has been clicked on in a Bedrock form but has not yet handled the
click
Builder for the constructing an instance of one of the default GUI implementations
Enum that defines how a GUI's GUIState should be handled
Cancellable event that is fired when a GUIElement has been clicked on but has not yet handled the click
Event that denotes that a GUI has been opened
Determines what contents to show viewers on each page, the title of each page and if there is another page after this one.
The calculated result of a call to
GUIContentsProvider.genContents(Player, int, GUISession, Callback)
An instance of this object should be passed to Callback.call(Object) on the callback provided with genContents.Represents an element in a GUI and defines it's behaviour.
Some helpful methods for creating common GUIElements
Represents an event that happens to a GUI.
Created by Edward on 28/12/2016.
Cancellable event that is fired when a GUIElement has been clicked on but has not yet handled the click
Event that denotes that a GUI has been opened
Cancellable event that is fired when a GUIElement has been an item taken from it but has not yet handled it
Cancellable event that is fired when a GUIElement has been an item placed in it but has not yet handled it
Responsible for Calculating the positions that GUIElements need to go into in the displayed GUI and then
updating the current inventory state.
Class that takes the generated contents of an InventoryGUI and shows it to a player.
Represents a viewing session for a GUI.
Internally used to validate if GUI settings are valid
This class represents the current state of an InventoryGUI being displayed.
Event that's fired when a player's GUI's contents is updated
Represents a GUIElement that defines a slot where players can input item.
Represents the action that should happen when this input slot is interacted with
Represents an InvenntoryGUI that players can view and interact with that's GUIState (Contents, etc...) is unique to each viewer
The 'plugin' class.
Class that takes the generated contents of an InventoryGUI and shows it to a player.
Represents the current state of an InventoryGUI page.
Represents a GUIElement that displays text.
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.
An extension of GUIContentsProvider that will handle paginating a provided list of GUIElements.
Determines what contents to show viewers on each page.
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
Represents an InventoryGUI for players to view and interact with that's GUIState is shared between viewers.
Checks if two items are capable of stacking
An example of using the API to create a GUI for
two players to trade items with each other.
Responsible for Calculating the positions that GUIElements need to go into in the displayed, size-unlimited GUI and
then updating the current inventory state.