Inventory GUI
Represents a base class for creating custom inventory GUIs in Minecraft. This class provides basic inventory manipulation methods and allows setting up buttons, listeners, and background materials for GUI customization.
Since
1.0.0
Author
RiriFa
Parameters
The player viewing the GUI.
Inheritors
Properties
Functions
Adds a single item to the existing item list.
Abstract method for building the inventory GUI. This method should be implemented by subclasses to define the layout and items of the GUI.
Gets the background material set for the inventory GUI.
Returns the inventory associated with this GUI.
Gets the current listener associated with this GUI.
Sets the background material for the inventory GUI.
Sets multiple items at once for the GUI. This replaces the existing item list.
Sets the listener for handling GUI events.
Sets whether the global listener should be called on inventory events.
Sets the size of the inventory GUI.
Sets the title of the inventory GUI.
Indicates whether the global listener should be called on inventory events.