Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- abandonConversation(Conversation) - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- abandonConversation(Conversation, ConversationAbandonedEvent) - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- AbstractGuiComponent - Class in io.github.toberocat.guiengine.components
-
An abstract base class for GUI components.
- AbstractGuiComponent(int, int, int, int, RenderPriority, String, List<GuiFunction>, List<GuiFunction>, List<GuiFunction>, boolean) - Constructor for class io.github.toberocat.guiengine.components.AbstractGuiComponent
-
Constructor for AbstractGuiComponent.
- AbstractGuiComponentBuilder<B extends AbstractGuiComponentBuilder<B>> - Class in io.github.toberocat.guiengine.components
-
An abstract base class for building GUI components.
- AbstractGuiComponentBuilder() - Constructor for class io.github.toberocat.guiengine.components.AbstractGuiComponentBuilder
- acceptConversationInput(String) - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- action() - Method in record class io.github.toberocat.guiengine.function.call.ActionFunction
-
Returns the value of the
action
record component. - ActionFunction - Record Class in io.github.toberocat.guiengine.function.call
-
Custom GUI function to call an action when triggered.
- ActionFunction(String) - Constructor for record class io.github.toberocat.guiengine.function.call.ActionFunction
-
Creates an instance of a
ActionFunction
record class. - ActionFunction.Deserializer - Class in io.github.toberocat.guiengine.function.call
-
Custom deserializer to convert JSON data into an `ActionFunction` instance.
- add(GuiEngineApi, GuiComponent) - Method in class io.github.toberocat.guiengine.context.GuiContext
-
Adds a GUI component to this context.
- add(GuiEngineApi, XmlComponent) - Method in class io.github.toberocat.guiengine.context.GuiContext
-
Adds an XML component to this context.
- add(GuiEngineApi, XmlComponent...) - Method in class io.github.toberocat.guiengine.context.GuiContext
-
Adds multiple XML components to this context.
- addActions(Set<Action>) - Method in interface io.github.toberocat.guiengine.components.GuiComponent
-
Add actions to the GUI component.
- addActions(Set<Action>) - Method in class io.github.toberocat.guiengine.components.provided.paged.PagedComponent
- addAttachment(Plugin) - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- addAttachment(Plugin, int) - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- addAttachment(Plugin, String, boolean) - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- addAttachment(Plugin, String, boolean, int) - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- addComponent(GuiComponent) - Method in class io.github.toberocat.guiengine.components.provided.paged.PagedComponent
-
Adds a new component to the current page.
- addComponent(GuiComponent) - Method in interface io.github.toberocat.guiengine.components.GuiComponentContainer
- AddComponentsFunction - Record Class in io.github.toberocat.guiengine.function.call
-
Custom GUI function to add components to the GUI.
- AddComponentsFunction(JsonNode) - Constructor for record class io.github.toberocat.guiengine.function.call.AddComponentsFunction
-
Creates an instance of a
AddComponentsFunction
record class. - AddComponentsFunction.Deserializer - Class in io.github.toberocat.guiengine.function.call
-
Custom deserializer to convert JSON data into an `AddComponentsFunction` instance.
- addContext(GuiContext) - Method in interface io.github.toberocat.guiengine.components.ContextContainer
- addContext(GuiContext) - Method in class io.github.toberocat.guiengine.components.provided.paged.PagedComponent
- addEmptyPage() - Method in class io.github.toberocat.guiengine.components.provided.paged.PagedComponent
-
Creates a new empty page
- addItem(ItemStack...) - Method in class io.github.toberocat.guiengine.utils.VirtualInventory
- addPage(GuiContext) - Method in class io.github.toberocat.guiengine.components.provided.paged.PagedComponent
-
Adds a new page to the paged component.
- addPage(GuiContext, int) - Method in class io.github.toberocat.guiengine.components.provided.paged.PagedComponent
-
Adds a new page to the paged component at the specified position.
- addPassenger(Entity) - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- addPotionEffect(PotionEffect) - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- addPotionEffect(PotionEffect, boolean) - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- addPotionEffects(Collection<PotionEffect>) - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- addScoreboardTag(String) - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- all(Material) - Method in class io.github.toberocat.guiengine.utils.VirtualInventory
- all(ItemStack) - Method in class io.github.toberocat.guiengine.utils.VirtualInventory
- anonymous(BiConsumer<GuiEngineApi, GuiContext>) - Static method in interface io.github.toberocat.guiengine.function.GuiFunction
- api - Variable in class io.github.toberocat.guiengine.components.AbstractGuiComponent
-
The api this component belongs to
- api() - Method in record class io.github.toberocat.guiengine.utils.ParserContext
-
Returns the value of the
api
record component. - API_NAME_KEY - Static variable in class io.github.toberocat.guiengine.commands.GiveCommand
- APIS - Static variable in class io.github.toberocat.guiengine.GuiEngineApi
- applyFunctions(GuiEngineApi, GuiContext, String) - Static method in class io.github.toberocat.guiengine.function.FunctionProcessor
-
Applies to compute functions to the provided value, replacing placeholders with their computed values.
- arguments() - Method in class io.github.toberocat.guiengine.commands.GiveCommand
- arguments() - Method in class io.github.toberocat.guiengine.commands.OpenCommand
- arguments() - Method in class io.github.toberocat.guiengine.commands.ReloadCommand
- arguments() - Method in class io.github.toberocat.guiengine.commands.WebEditorCommand
- attack(Entity) - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- attribute() - Method in record class io.github.toberocat.guiengine.function.call.EditComponentFunction
-
Returns the value of the
attribute
record component.
B
- beginConversation(Conversation) - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- bindComponent(GuiComponent, GuiEngineApi, GuiContext) - Method in class io.github.toberocat.guiengine.interpreter.DefaultInterpreter
-
Binds a GuiComponent to the provided GuiEngineApi and GuiContext, and adds actions from the context's local actions.
- bindComponent(GuiComponent, GuiEngineApi, GuiContext) - Method in interface io.github.toberocat.guiengine.interpreter.GuiInterpreter
-
Binds an existing GUI component to the specified GUI context.
- breakBlock(Block) - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- BStatsCollector - Class in io.github.toberocat.guiengine.utils
-
BStatsCollector is a utility class responsible for collecting usage statistics using bStats.
- BStatsCollector(GuiEngineApiPlugin) - Constructor for class io.github.toberocat.guiengine.utils.BStatsCollector
-
Creates a new BStatsCollector and initializes the bStats metrics collection for the plugin.
C
- call(GuiEngineApi, GuiContext) - Method in record class io.github.toberocat.guiengine.function.call.ActionFunction
-
Calls the specified action using the provided API and context.
- call(GuiEngineApi, GuiContext) - Method in record class io.github.toberocat.guiengine.function.call.AddComponentsFunction
-
Calls the `addComponents` method using the provided API and context to add components to the GUI.
- call(GuiEngineApi, GuiContext) - Method in record class io.github.toberocat.guiengine.function.call.EditComponentFunction
-
Calls the `editXmlComponentById` method using the provided API and context to edit a component's attribute in the GUI.
- call(GuiEngineApi, GuiContext) - Method in record class io.github.toberocat.guiengine.function.call.RemoveComponentFunction
-
Calls the `removeById` method using the provided API and context to remove a component from the GUI.
- call(GuiEngineApi, GuiContext) - Method in interface io.github.toberocat.guiengine.function.GuiFunction
-
Calls the GUI function with the specified API and context.
- callFunctions(Collection<GuiFunction>, GuiEngineApi, GuiContext) - Static method in class io.github.toberocat.guiengine.function.FunctionProcessor
-
Calls a collection of GUI functions with the specified API and context.
- canSee(Entity) - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- canSee(Player) - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- chat(String) - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- checkForFunction(String) - Method in class io.github.toberocat.guiengine.function.compute.GuiComponentPropertyFunction
-
Checks if the provided value contains the function to extract a GUI component attribute.
- checkForFunction(String) - Method in class io.github.toberocat.guiengine.function.compute.HasNotPermissionFunction
-
Checks if the provided value contains the function to check for the absence of a permission.
- checkForFunction(String) - Method in class io.github.toberocat.guiengine.function.compute.HasPermissionFunction
-
Checks if the provided value contains the function to check for the presence of a permission.
- checkForFunction(String) - Method in interface io.github.toberocat.guiengine.function.ComputeFunction
-
Checks if the provided value contains the function to be computed.
- clear() - Method in class io.github.toberocat.guiengine.utils.VirtualInventory
- clear(int) - Method in class io.github.toberocat.guiengine.utils.VirtualInventory
- clearContainer() - Method in interface io.github.toberocat.guiengine.components.ContextContainer
- clearContainer() - Method in interface io.github.toberocat.guiengine.components.GuiComponentContainer
- clearContainer() - Method in class io.github.toberocat.guiengine.components.provided.paged.PagedComponent
- clickedComponent(InventoryClickEvent) - Method in class io.github.toberocat.guiengine.components.AbstractGuiComponent
- clickedComponent(InventoryClickEvent) - Method in class io.github.toberocat.guiengine.components.provided.embedded.EmbeddedGuiComponent
- clickedComponent(InventoryClickEvent) - Method in class io.github.toberocat.guiengine.components.provided.toggle.ToggleItemComponent
- clickedComponent(InventoryClickEvent) - Method in class io.github.toberocat.guiengine.context.GuiContext
-
Handles the event when a player clicks on a component in the GUI.
- clickedComponent(InventoryClickEvent) - Method in interface io.github.toberocat.guiengine.event.GuiEvents
-
Called when a player clicks on a component in the GUI.
- clickFunctions - Variable in class io.github.toberocat.guiengine.components.AbstractGuiComponent
-
The functions that will get called once a component has been clicked
- clickFunctions - Variable in class io.github.toberocat.guiengine.components.AbstractGuiComponentBuilder
- closedComponent(InventoryCloseEvent) - Method in class io.github.toberocat.guiengine.components.AbstractGuiComponent
- closedComponent(InventoryCloseEvent) - Method in class io.github.toberocat.guiengine.components.provided.embedded.EmbeddedGuiComponent
- closedComponent(InventoryCloseEvent) - Method in class io.github.toberocat.guiengine.context.GuiContext
-
Handles the event when a player closes the GUI.
- closedComponent(InventoryCloseEvent) - Method in interface io.github.toberocat.guiengine.event.GuiEvents
-
Called when a player closes the GUI.
- closeFunctions - Variable in class io.github.toberocat.guiengine.components.AbstractGuiComponent
-
The functions that will get called when a component's gui gets closed
- closeFunctions - Variable in class io.github.toberocat.guiengine.components.AbstractGuiComponentBuilder
- closeInventory() - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- ComponentDeserializer - Class in io.github.toberocat.guiengine.xml
-
Custom JSON deserializer for
XmlComponent
. - ComponentDeserializer() - Constructor for class io.github.toberocat.guiengine.xml.ComponentDeserializer
- components() - Method in class io.github.toberocat.guiengine.context.GuiContext
-
Returns the list of GUI components in this context.
- componentsAscending() - Method in class io.github.toberocat.guiengine.context.GuiContext
-
Returns a stream of GUI components in ascending order of their render priority.
- componentsDescending() - Method in class io.github.toberocat.guiengine.context.GuiContext
-
Returns a stream of GUI components in descending order of their render priority.
- componentToXml(GuiEngineApi, GuiComponent) - Method in class io.github.toberocat.guiengine.interpreter.DefaultInterpreter
-
Converts a GuiComponent to an XmlComponent using the provided GuiEngineApi.
- componentToXml(GuiEngineApi, GuiComponent) - Method in interface io.github.toberocat.guiengine.interpreter.GuiInterpreter
-
Converts a `GuiComponent` instance into its XML representation.
- compute(GuiEngineApi, GuiContext, String) - Method in class io.github.toberocat.guiengine.function.compute.GuiComponentPropertyFunction
-
Computes the value of the provided placeholder, which represents a attribute of a GUI component.
- compute(GuiEngineApi, GuiContext, String) - Method in class io.github.toberocat.guiengine.function.compute.HasNotPermissionFunction
-
Computes the result of the permission check using the provided API and context.
- compute(GuiEngineApi, GuiContext, String) - Method in class io.github.toberocat.guiengine.function.compute.HasPermissionFunction
-
Computes the result of the permission check using the provided API and context.
- compute(GuiEngineApi, GuiContext, String) - Method in interface io.github.toberocat.guiengine.function.ComputeFunction
-
Computes the value of the provided placeholder.
- COMPUTE_FUNCTIONS - Static variable in class io.github.toberocat.guiengine.function.FunctionProcessor
- ComputeFunction - Interface in io.github.toberocat.guiengine.function
-
Interface for defining custom compute functions for GUI placeholders.
- contains(Material) - Method in class io.github.toberocat.guiengine.utils.VirtualInventory
- contains(Material, int) - Method in class io.github.toberocat.guiengine.utils.VirtualInventory
- contains(ItemStack) - Method in class io.github.toberocat.guiengine.utils.VirtualInventory
- contains(ItemStack, int) - Method in class io.github.toberocat.guiengine.utils.VirtualInventory
- containsAtLeast(ItemStack, int) - Method in class io.github.toberocat.guiengine.utils.VirtualInventory
- context - Variable in class io.github.toberocat.guiengine.components.AbstractGuiComponent
-
The context this component owns to
- context() - Method in record class io.github.toberocat.guiengine.utils.ParserContext
-
Returns the value of the
context
record component. - context() - Method in record class io.github.toberocat.guiengine.view.GuiView
-
Returns the value of the
context
record component. - ContextContainer - Interface in io.github.toberocat.guiengine.components
- CoordinatePair - Record Class in io.github.toberocat.guiengine.utils
-
This record holds the x and y coordinate of something.
- CoordinatePair(int, int) - Constructor for record class io.github.toberocat.guiengine.utils.CoordinatePair
-
Creates an instance of a
CoordinatePair
record class. - copyAir - Variable in class io.github.toberocat.guiengine.components.provided.embedded.EmbeddedGuiComponent
- copyAir - Variable in class io.github.toberocat.guiengine.components.provided.embedded.EmbeddedGuiComponentBuilder
- copyAll(JavaPlugin, String) - Static method in class io.github.toberocat.guiengine.utils.FileUtils
-
Copies all files and directories from the specified root folder within the plugin's JAR file to the plugin's data folder.
- copyResource(JavaPlugin, String) - Static method in class io.github.toberocat.guiengine.utils.FileUtils
-
Copies a resource file from the plugin's JAR file to the plugin's data folder.
- createComponent() - Method in interface io.github.toberocat.guiengine.components.GuiComponentBuilder
-
Create a new instance of the GUI component.
- createComponent() - Method in class io.github.toberocat.guiengine.components.provided.embedded.EmbeddedGuiComponentBuilder
- createComponent() - Method in class io.github.toberocat.guiengine.components.provided.item.SimpleItemComponentBuilder
- createComponent() - Method in class io.github.toberocat.guiengine.components.provided.paged.PagedComponentBuilder
- createComponent() - Method in class io.github.toberocat.guiengine.components.provided.toggle.ToggleItemComponentBuilder
-
Create a new instance of
ToggleItemComponent
with the provided parameters. - createComponent(XmlComponent, GuiEngineApi, GuiContext) - Method in class io.github.toberocat.guiengine.interpreter.DefaultInterpreter
-
Creates a GuiComponent from the given XmlComponent and binds it to the provided GuiEngineApi and GuiContext.
- createComponent(XmlComponent, GuiEngineApi, GuiContext) - Method in interface io.github.toberocat.guiengine.interpreter.GuiInterpreter
-
Creates a GUI component based on the provided XML component definition.
- createFunction(JsonNode) - Static method in class io.github.toberocat.guiengine.function.FunctionProcessor
-
Creates a GUI function from a JSON node.
- createInventory(GuiContext, Player, Map<String, String>) - Method in interface io.github.toberocat.guiengine.render.GuiRenderEngine
-
Creates an inventory representing the GUI using the provided GuiContext and placeholders.
D
- damage(double) - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- damage(double, Entity) - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- decrementStatistic(Statistic) - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- decrementStatistic(Statistic, int) - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- decrementStatistic(Statistic, EntityType) - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- decrementStatistic(Statistic, EntityType, int) - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- decrementStatistic(Statistic, Material) - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- decrementStatistic(Statistic, Material, int) - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- DEFAULT_GUI_FILTER - Static variable in class io.github.toberocat.guiengine.GuiEngineApi
- DefaultGuiRenderEngine - Class in io.github.toberocat.guiengine.render
-
DefaultGuiRenderEngine is an implementation of the GuiRenderEngine interface responsible for rendering GUIs.
- DefaultGuiRenderEngine() - Constructor for class io.github.toberocat.guiengine.render.DefaultGuiRenderEngine
-
Creates a new DefaultGuiRenderEngine instance and initializes it with the GuiViewManager from the plugin.
- DefaultGuiViewManager - Class in io.github.toberocat.guiengine.view
-
An implementation of the GuiViewManager interface for managing GUI views in a Minecraft plugin.
- DefaultGuiViewManager() - Constructor for class io.github.toberocat.guiengine.view.DefaultGuiViewManager
-
Create a new instance of DefaultGuiViewManager.
- DefaultInterpreter - Class in io.github.toberocat.guiengine.interpreter
-
DefaultInterpreter is an implementation of the GuiInterpreter interface that provides default interpretation and handling of GUI components defined in XML format.
- DefaultInterpreter() - Constructor for class io.github.toberocat.guiengine.interpreter.DefaultInterpreter
- defaultValue(Player) - Method in class io.github.toberocat.guiengine.arguments.GuiEngineApiArgument
- descriptionKey() - Method in class io.github.toberocat.guiengine.arguments.GuiEngineApiArgument
- deserialize(JsonParser, DeserializationContext) - Method in class io.github.toberocat.guiengine.function.call.ActionFunction.Deserializer
- deserialize(JsonParser, DeserializationContext) - Method in class io.github.toberocat.guiengine.function.call.AddComponentsFunction.Deserializer
- deserialize(JsonParser, DeserializationContext) - Method in class io.github.toberocat.guiengine.function.call.EditComponentFunction.Deserializer
- deserialize(JsonParser, DeserializationContext) - Method in class io.github.toberocat.guiengine.function.call.RemoveComponentFunction.Deserializer
- deserialize(JsonParser, DeserializationContext) - Method in class io.github.toberocat.guiengine.xml.ComponentDeserializer
-
Deserialize JSON data into a
XmlComponent
object. - deserialize(JsonParser, DeserializationContext) - Method in class io.github.toberocat.guiengine.xml.GuiComponentDeserializer
-
Deserialize JSON data into a
GuiComponent
object using its builder. - deserialize(ParserContext) - Method in class io.github.toberocat.guiengine.components.AbstractGuiComponentBuilder
-
Deserialize the properties of the GUI component from the provided ParserContext node.
- deserialize(ParserContext) - Method in interface io.github.toberocat.guiengine.components.GuiComponentBuilder
-
Deserialize the properties of the GUI component from the provided ParserContext node.
- deserialize(ParserContext) - Method in class io.github.toberocat.guiengine.components.provided.embedded.EmbeddedGuiComponentBuilder
- deserialize(ParserContext) - Method in class io.github.toberocat.guiengine.components.provided.item.SimpleItemComponentBuilder
- deserialize(ParserContext) - Method in class io.github.toberocat.guiengine.components.provided.paged.PagedComponentBuilder
- deserialize(ParserContext) - Method in class io.github.toberocat.guiengine.components.provided.toggle.ToggleItemComponentBuilder
-
Deserialize the builder from a parser context node.
- deserialize(ParserContext, boolean) - Method in class io.github.toberocat.guiengine.components.provided.embedded.EmbeddedGuiComponentBuilder
- Deserializer() - Constructor for class io.github.toberocat.guiengine.function.call.ActionFunction.Deserializer
- Deserializer() - Constructor for class io.github.toberocat.guiengine.function.call.AddComponentsFunction.Deserializer
- Deserializer() - Constructor for class io.github.toberocat.guiengine.function.call.EditComponentFunction.Deserializer
- Deserializer() - Constructor for class io.github.toberocat.guiengine.function.call.RemoveComponentFunction.Deserializer
- discoverRecipe(NamespacedKey) - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- discoverRecipes(Collection<NamespacedKey>) - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- dragFunctions - Variable in class io.github.toberocat.guiengine.components.AbstractGuiComponent
-
The functions that will get called once a component is part of a drag event
- dragFunctions - Variable in class io.github.toberocat.guiengine.components.AbstractGuiComponentBuilder
- draggedComponent(InventoryDragEvent) - Method in class io.github.toberocat.guiengine.components.AbstractGuiComponent
- draggedComponent(InventoryDragEvent) - Method in class io.github.toberocat.guiengine.components.provided.embedded.EmbeddedGuiComponent
- draggedComponent(InventoryDragEvent) - Method in class io.github.toberocat.guiengine.context.GuiContext
-
Handles the event when a player drags an item in the GUI.
- draggedComponent(InventoryDragEvent) - Method in interface io.github.toberocat.guiengine.event.GuiEvents
-
Called when a player drags an item in the GUI.
- dropItem(boolean) - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- DumpCommand - Class in io.github.toberocat.guiengine.commands
-
The `DumpCommand` class represents a player sub-command that allows a player to open a GUI and dump its context.
- DumpCommand() - Constructor for class io.github.toberocat.guiengine.commands.DumpCommand
-
Constructs a new `DumpCommand`.
E
- EditComponentFunction - Record Class in io.github.toberocat.guiengine.function.call
-
Custom GUI function to edit a component's attribute in the GUI.
- EditComponentFunction(String, String, String) - Constructor for record class io.github.toberocat.guiengine.function.call.EditComponentFunction
-
Creates an instance of a
EditComponentFunction
record class. - EditComponentFunction.Deserializer - Class in io.github.toberocat.guiengine.function.call
-
Custom deserializer to convert JSON data into an `EditComponentFunction` instance.
- editXmlComponentById(GuiEngineApi, String, Consumer<XmlComponent>) - Method in class io.github.toberocat.guiengine.context.GuiContext
-
Edits an XML component by ID with the specified edit callback.
- eject() - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- embedded - Variable in class io.github.toberocat.guiengine.components.provided.embedded.EmbeddedGuiComponent
- EmbeddedGuiComponent - Class in io.github.toberocat.guiengine.components.provided.embedded
-
A GUI component that embeds another GUI inside it.
- EmbeddedGuiComponent(int, int, int, int, RenderPriority, String, List<GuiFunction>, List<GuiFunction>, List<GuiFunction>, boolean, String, boolean, boolean) - Constructor for class io.github.toberocat.guiengine.components.provided.embedded.EmbeddedGuiComponent
-
Constructor for EmbeddedGuiComponent.
- EmbeddedGuiComponentBuilder<B extends EmbeddedGuiComponentBuilder<B>> - Class in io.github.toberocat.guiengine.components.provided.embedded
-
A builder class for creating EmbeddedGuiComponent instances.
- EmbeddedGuiComponentBuilder() - Constructor for class io.github.toberocat.guiengine.components.provided.embedded.EmbeddedGuiComponentBuilder
- equals(Object) - Method in class io.github.toberocat.guiengine.context.GuiContext
-
Checks if this `GuiContext` is equal to another object.
- equals(Object) - Method in record class io.github.toberocat.guiengine.function.call.ActionFunction
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class io.github.toberocat.guiengine.function.call.AddComponentsFunction
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class io.github.toberocat.guiengine.function.call.EditComponentFunction
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class io.github.toberocat.guiengine.function.call.RemoveComponentFunction
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class io.github.toberocat.guiengine.utils.CoordinatePair
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class io.github.toberocat.guiengine.utils.GeneratorContext
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class io.github.toberocat.guiengine.utils.ParserContext
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class io.github.toberocat.guiengine.view.GuiView
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class io.github.toberocat.guiengine.xml.XmlComponent
-
Indicates whether some other object is "equal to" this one.
F
- fields() - Method in record class io.github.toberocat.guiengine.xml.XmlComponent
-
Returns the value of the
fields
record component. - FileUtils - Class in io.github.toberocat.guiengine.utils
-
FileUtils is a utility class providing file-related operations for Java plugins.
- FileUtils() - Constructor for class io.github.toberocat.guiengine.utils.FileUtils
- findComponentById(String) - Method in class io.github.toberocat.guiengine.context.GuiContext
-
Finds a GUI component with the specified ID.
- findComponentById(String, Class<T>) - Method in class io.github.toberocat.guiengine.context.GuiContext
-
Finds a GUI component with the specified ID and class type.
- first(ItemStack) - Method in class io.github.toberocat.guiengine.utils.VirtualInventory
- first(Material) - Method in class io.github.toberocat.guiengine.utils.VirtualInventory
- firstEmpty() - Method in class io.github.toberocat.guiengine.utils.VirtualInventory
- foreachIn(JavaPlugin, String, Consumer<Path>) - Static method in class io.github.toberocat.guiengine.utils.FileUtils
-
Lists all files and directories within the specified root folder within the plugin's JAR file.
- FunctionProcessor - Class in io.github.toberocat.guiengine.function
-
Utility class for processing and handling GUI functions.
- FunctionProcessor() - Constructor for class io.github.toberocat.guiengine.function.FunctionProcessor
- FUNCTIONS - Static variable in class io.github.toberocat.guiengine.function.FunctionProcessor
G
- generator() - Method in record class io.github.toberocat.guiengine.utils.GeneratorContext
-
Retrieves the JsonGenerator associated with this context.
- GeneratorContext - Record Class in io.github.toberocat.guiengine.utils
-
GeneratorContext is a utility class that encapsulates a JsonGenerator instance to assist in writing JSON data.
- GeneratorContext(JsonGenerator) - Constructor for record class io.github.toberocat.guiengine.utils.GeneratorContext
-
Creates an instance of a
GeneratorContext
record class. - get(String) - Method in record class io.github.toberocat.guiengine.utils.ParserContext
-
Get a child node of the current node based on the specified field name.
- getAbsorptionAmount() - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- getActivePotionEffects() - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- getAddress() - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- getAdvancementProgress(Advancement) - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- getAllowFlight() - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- getArrowCooldown() - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- getArrowsInBody() - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- getAttackCooldown() - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- getAttribute(Attribute) - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- getAvailableGuis() - Method in class io.github.toberocat.guiengine.GuiEngineApi
-
Returns the set of available GUI IDs within the GUI folder.
- getAvailablePages() - Method in class io.github.toberocat.guiengine.components.provided.paged.PagedComponent
-
Gets the total number of available pages in the paged component.
- getBedLocation() - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- getBedSpawnLocation() - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- getBoundingBox() - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- getCanPickupItems() - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- getCategory() - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- getClickEvent() - Method in class io.github.toberocat.guiengine.event.spigot.GuiComponentClickEvent
-
Gets the `InventoryClickEvent` associated with this GUI component click event.
- getClickFunctions() - Method in class io.github.toberocat.guiengine.components.AbstractGuiComponent
-
Get the list of click functions for the GUI component.
- getClientViewDistance() - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- getCloseEvent() - Method in class io.github.toberocat.guiengine.event.spigot.GuiCloseEvent
-
Gets the `InventoryCloseEvent` associated with this GUI close event.
- getCloseFunctions() - Method in class io.github.toberocat.guiengine.components.AbstractGuiComponent
-
Get the list of close functions for the GUI component.
- getCollidableExemptions() - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- getCompassTarget() - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- getComponentIdMap() - Method in class io.github.toberocat.guiengine.GuiEngineApi
-
Returns the map of GUI component IDs and their associated classes for this `GuiEngineApi`.
- getComponents() - Method in class io.github.toberocat.guiengine.xml.XmlGui
-
Get the array of XmlComponent objects representing the GUI components.
- getContents() - Method in class io.github.toberocat.guiengine.utils.VirtualInventory
- getContext() - Method in class io.github.toberocat.guiengine.context.GuiContext
-
Returns the current `GuiContext`.
- getContext() - Method in interface io.github.toberocat.guiengine.event.GuiEventListener
-
Gets the associated `GuiContext` for the listener.
- getContext() - Method in class io.github.toberocat.guiengine.event.spigot.GuiEngineEvent
-
Gets the `GuiContext` associated with this GUI engine event.
- getContextId() - Method in class io.github.toberocat.guiengine.context.GuiContext
-
Returns the unique identifier of this `GuiContext`.
- getCooldown(Material) - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- getCustomName() - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- getDiscoveredRecipes() - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- getDisplayName() - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- getDragEvent() - Method in class io.github.toberocat.guiengine.event.spigot.GuiComponentDragEvent
-
Gets the `InventoryDragEvent` associated with this GUI component drag event.
- getDragFunctions() - Method in class io.github.toberocat.guiengine.components.AbstractGuiComponent
-
Get the list of drag functions for the GUI component.
- getEffectivePermissions() - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- getEnderChest() - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- getEntityId() - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- getEquipment() - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- getExhaustion() - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- getExp() - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- getExpToLevel() - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- getEyeHeight() - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- getEyeHeight(boolean) - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- getEyeLocation() - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- getFacing() - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- getFallDistance() - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- getFieldList() - Method in record class io.github.toberocat.guiengine.utils.ParserContext
-
Read a node's children as a list of ParserContext objects.
- getFireTicks() - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- getFirstPlayed() - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- getFlySpeed() - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- getFoodLevel() - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- getFreezeTicks() - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- getFunctions(String) - Method in record class io.github.toberocat.guiengine.utils.ParserContext
-
Get an optional list of GuiFunction objects from the child node of the current node based on the specified field name.
- getGameMode() - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- getGuiApi() - Method in class io.github.toberocat.guiengine.GuiEngineApiPlugin
- getGuiFilter() - Method in class io.github.toberocat.guiengine.GuiEngineApi
-
Returns the GUI filter used to determine which files are considered GUI files.
- getGuiItemManager() - Method in class io.github.toberocat.guiengine.GuiEngineApiPlugin
-
Gets the item manager
- getGuiView(UUID) - Method in class io.github.toberocat.guiengine.view.DefaultGuiViewManager
-
Get the GUI view associated with the given player UUID.
- getGuiView(UUID) - Method in interface io.github.toberocat.guiengine.view.GuiViewManager
-
Get the GUI view associated with the given player UUID.
- getGuiView(Player) - Method in interface io.github.toberocat.guiengine.view.GuiViewManager
-
Get the GUI view associated with the given Bukkit Player object.
- getGuiViewManager() - Method in class io.github.toberocat.guiengine.GuiEngineApi
-
Returns the `DefaultGuiViewManager` instance associated with this `GuiEngineApi`.
- getGuiViewManager() - Method in class io.github.toberocat.guiengine.GuiEngineApiPlugin
-
Gets the manager responsible for managing GUI views.
- getGuiViewManager() - Method in class io.github.toberocat.guiengine.render.DefaultGuiRenderEngine
-
Retrieves the GuiViewManager associated with this render engine.
- getGuiViewManager() - Method in interface io.github.toberocat.guiengine.render.GuiRenderEngine
-
Retrieves the GuiViewManager associated with this render engine.
- getHandlerList() - Static method in class io.github.toberocat.guiengine.event.spigot.GuiEngineEvent
-
Gets the `HandlerList` for this GUI engine event.
- getHandlers() - Method in class io.github.toberocat.guiengine.event.spigot.GuiEngineEvent
- getHealth() - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- getHealthScale() - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- getHeight() - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- getHeight() - Method in class io.github.toberocat.guiengine.xml.XmlGui
-
Get the height of the GUI.
- getHolder() - Method in class io.github.toberocat.guiengine.utils.VirtualInventory
- getId() - Method in class io.github.toberocat.guiengine.components.AbstractGuiComponent
- getId() - Method in class io.github.toberocat.guiengine.components.AbstractGuiComponentBuilder
-
Get the ID of the GUI component.
- getId() - Method in interface io.github.toberocat.guiengine.components.GuiComponent
-
Get the ID of the GUI component.
- getId() - Method in class io.github.toberocat.guiengine.GuiEngineApi
-
Returns the ID of this `GuiEngineApi` instance.
- getInterpreter() - Method in class io.github.toberocat.guiengine.xml.XmlGui
-
Get the interpreter used by the GUI.
- getInterpreter(String) - Method in class io.github.toberocat.guiengine.interpreter.InterpreterManager
-
Retrieves the GuiInterpreter associated with the given interpreter ID.
- getInterpreterManager() - Method in class io.github.toberocat.guiengine.GuiEngineApi
-
Returns the `InterpreterManager` instance associated with this `GuiEngineApi`.
- getInterpreterManager() - Method in class io.github.toberocat.guiengine.GuiEngineApiPlugin
-
Gets the manager responsible for handling GUI interpreters.
- getInventory() - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- getItem(int) - Method in class io.github.toberocat.guiengine.utils.VirtualInventory
- getItem(String) - Method in class io.github.toberocat.guiengine.item.GuiItemManager
-
Retrieves the ItemStack representation of the GUI item with the given name.
- getItemInHand() - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- getItemInUse() - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- getItemOnCursor() - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- getItemStack() - Method in class io.github.toberocat.guiengine.components.provided.item.SimpleItemComponentBuilder
-
Creates the item stack represented by the builder's settings
- getKiller() - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- getKnownItems() - Method in class io.github.toberocat.guiengine.item.GuiItemManager
-
Returns a map containing all the known GUI items, where keys are the names of the items, and values are their corresponding ItemStack representations.
- getLastDamage() - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- getLastDamageCause() - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- getLastPlayed() - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- getLastTwoTargetBlocks(Set<Material>, int) - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- getLeashHolder() - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- getLevel() - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- getLineOfSight(Set<Material>, int) - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- getListeningPluginChannels() - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- getLocalActions() - Method in class io.github.toberocat.guiengine.context.GuiContext
-
Returns the set of local actions associated with this context.
- getLocale() - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- getLocation() - Method in class io.github.toberocat.guiengine.utils.VirtualInventory
- getLocation() - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- getLocation(Location) - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- getMainHand() - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- getMaxFireTicks() - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- getMaxFreezeTicks() - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- getMaxHealth() - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- getMaximumAir() - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- getMaximumNoDamageTicks() - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- getMaxStackSize() - Method in class io.github.toberocat.guiengine.utils.VirtualInventory
- getMemory(MemoryKey<T>) - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- getMetadata(String) - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- getName() - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- getNearbyEntities(double, double, double) - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- getNoDamageTicks() - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- getOpenInventory() - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- getOptionalBoolean(String) - Method in record class io.github.toberocat.guiengine.utils.ParserContext
-
Get an optional Boolean value from the child node of the current node based on the specified field name.
- getOptionalFieldList(String) - Method in record class io.github.toberocat.guiengine.utils.ParserContext
-
Get an optional list of ParserContext objects from the child node of the current node based on the specified field name.
- getOptionalInt(String) - Method in record class io.github.toberocat.guiengine.utils.ParserContext
-
Get an optional Integer value from the child node of the current node based on the specified field name.
- getOptionalMaterial(String) - Method in record class io.github.toberocat.guiengine.utils.ParserContext
-
Get an optional Material enum value from the child node of the current node based on the specified field name.
- getOptionalNode(ParserContext, String) - Static method in class io.github.toberocat.guiengine.utils.JsonUtils
-
Get an optional node from the given parent node based on the specified field name.
- getOptionalNode(String) - Method in record class io.github.toberocat.guiengine.utils.ParserContext
-
Get an optional child node of the current node based on the specified field name.
- getOptionalNodeMap(String) - Method in record class io.github.toberocat.guiengine.utils.ParserContext
-
Get an optional map of String keys and ParserContext values from the child node of the current node based on the specified field name.
- getOptionalRenderPriority(String) - Method in record class io.github.toberocat.guiengine.utils.ParserContext
-
Get an optional RenderPriority enum value from the child node of the current node based on the specified field name.
- getOptionalString(String) - Method in record class io.github.toberocat.guiengine.utils.ParserContext
-
Get an optional String value from the child node of the current node based on the specified field name.
- getOptionalStringArray(String) - Method in record class io.github.toberocat.guiengine.utils.ParserContext
-
Get an optional array of Strings from the child node of the current node based on the specified field name.
- getOptionalUUID(String) - Method in record class io.github.toberocat.guiengine.utils.ParserContext
-
Get an optional UUID value from the child node of the current node based on the specified field name.
- getOptions() - Method in class io.github.toberocat.guiengine.components.provided.toggle.ToggleItemComponent
-
Get the parser context containing the options for the toggle item.
- getPage() - Method in class io.github.toberocat.guiengine.components.provided.paged.PagedComponent
-
Gets the current page number of the paged component.
- getPassenger() - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- getPassengers() - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- getPersistentDataContainer() - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- getPing() - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- getPistonMoveReaction() - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- getPlayer() - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- getPlayerListFooter() - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- getPlayerListHeader() - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- getPlayerListName() - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- getPlayerProfile() - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- getPlayerTime() - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- getPlayerTimeOffset() - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- getPlayerWeather() - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- getPlugin() - Static method in class io.github.toberocat.guiengine.GuiEngineApiPlugin
-
Returns the singleton instance of the GuiEngineApiPlugin.
- getPortalCooldown() - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- getPose() - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- getPotionEffect(PotionEffectType) - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- getPreviousGameMode() - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- getRemainingAir() - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- getRemoveWhenFarAway() - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- getRenderEngine() - Method in class io.github.toberocat.guiengine.interpreter.DefaultInterpreter
-
Retrieves the DefaultGuiRenderEngine used by this interpreter to render GUI components.
- getRenderEngine() - Method in interface io.github.toberocat.guiengine.interpreter.GuiInterpreter
-
Retrieves the render engine associated with this interpreter.
- getSaturatedRegenRate() - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- getSaturation() - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- getScoreboard() - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- getScoreboardTags() - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- getSelected() - Method in class io.github.toberocat.guiengine.components.provided.toggle.ToggleItemComponent
-
Get the index of the currently selected option.
- getSelected() - Method in interface io.github.toberocat.guiengine.components.Selectable
-
Get the index of the currently selected option from the selection model.
- getSelectionModel() - Method in class io.github.toberocat.guiengine.components.provided.toggle.ToggleItemComponent
- getSelectionModel() - Method in interface io.github.toberocat.guiengine.components.Selectable
-
Get the selection model containing available options.
- getServer() - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- getShoulderEntityLeft() - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- getShoulderEntityRight() - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- getShowingPage() - Method in class io.github.toberocat.guiengine.components.provided.paged.PagedComponent
-
Gets the index of the currently showing page of the paged component.
- getSize() - Method in class io.github.toberocat.guiengine.utils.VirtualInventory
- getSleepTicks() - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- getSpawnCategory() - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- getSpectatorTarget() - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- getStarvationRate() - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- getStatistic(Statistic) - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- getStatistic(Statistic, EntityType) - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- getStatistic(Statistic, Material) - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- getStorageContents() - Method in class io.github.toberocat.guiengine.utils.VirtualInventory
- getTargetBlock(Set<Material>, int) - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- getTargetBlockExact(int) - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- getTargetBlockExact(int, FluidCollisionMode) - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- getTargetComponent() - Method in class io.github.toberocat.guiengine.event.spigot.GuiComponentClickEvent
-
Gets the target `GuiComponent` that was clicked by the player.
- getTargetComponent() - Method in class io.github.toberocat.guiengine.event.spigot.GuiComponentDragEvent
-
Gets the target `GuiComponent` where the dragging started.
- getTicksLived() - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- getTitle() - Method in class io.github.toberocat.guiengine.xml.XmlGui
-
Get the title of the GUI.
- getTotalExperience() - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- getType() - Method in interface io.github.toberocat.guiengine.components.GuiComponent
-
Get the type of the GUI component.
- getType() - Method in class io.github.toberocat.guiengine.components.provided.embedded.EmbeddedGuiComponent
- getType() - Method in class io.github.toberocat.guiengine.components.provided.item.SimpleItemComponent
- getType() - Method in class io.github.toberocat.guiengine.components.provided.paged.PagedComponent
- getType() - Method in class io.github.toberocat.guiengine.components.provided.toggle.ToggleItemComponent
- getType() - Method in record class io.github.toberocat.guiengine.function.call.ActionFunction
- getType() - Method in record class io.github.toberocat.guiengine.function.call.AddComponentsFunction
- getType() - Method in record class io.github.toberocat.guiengine.function.call.EditComponentFunction
- getType() - Method in record class io.github.toberocat.guiengine.function.call.RemoveComponentFunction
- getType() - Method in interface io.github.toberocat.guiengine.function.GuiFunction
- getType() - Method in class io.github.toberocat.guiengine.utils.VirtualInventory
- getType() - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- getUniqueId() - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- getUnsaturatedRegenRate() - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- getVehicle() - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- getVelocity() - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- getVersion(Consumer<String>) - Method in class io.github.toberocat.guiengine.utils.UpdateChecker
-
Get the latest version information from the SpigotMC API.
- getViewers() - Method in class io.github.toberocat.guiengine.utils.VirtualInventory
- getWalkSpeed() - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- getWidth() - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- getWidth() - Method in class io.github.toberocat.guiengine.xml.XmlGui
-
Get the width of the GUI.
- getWorld() - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- getXmlMapper() - Method in class io.github.toberocat.guiengine.GuiEngineApi
-
Returns the `ObjectMapper` used for XML serialization/deserialization of GUI components.
- GiveCommand - Class in io.github.toberocat.guiengine.commands
-
Created: 21.07.2023
- GiveCommand(GuiEngineApiPlugin) - Constructor for class io.github.toberocat.guiengine.commands.GiveCommand
- giveExp(int) - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- giveExpLevels(int) - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- GUI_ID_KEY - Static variable in class io.github.toberocat.guiengine.commands.GiveCommand
- GUI_ID_REGEX - Static variable in class io.github.toberocat.guiengine.GuiEngineApi
- GuiCloseEvent - Class in io.github.toberocat.guiengine.event.spigot
-
Represents a custom GUI close event triggered when a player closes a GUI.
- GuiCloseEvent(GuiContext, InventoryCloseEvent) - Constructor for class io.github.toberocat.guiengine.event.spigot.GuiCloseEvent
-
Constructs a new `GuiCloseEvent` with the associated `GuiContext` and the inventory close event.
- GuiCommands - Class in io.github.toberocat.guiengine.commands
-
The `GuiCommands` class sets up and registers GUI-related commands for the `GuiEngineApi`.
- GuiCommands() - Constructor for class io.github.toberocat.guiengine.commands.GuiCommands
-
Constructs a new `GuiCommands` and sets up the GUI-related commands.
- GuiComponent - Interface in io.github.toberocat.guiengine.components
-
Represents a GUI component that can be rendered and interacted with in the graphical user interface.
- GuiComponentBuilder - Interface in io.github.toberocat.guiengine.components
-
Created: 10.07.2023
- GuiComponentClickEvent - Class in io.github.toberocat.guiengine.event.spigot
-
Represents a custom GUI component click event triggered when a player clicks on a GUI component.
- GuiComponentClickEvent(GuiContext, InventoryClickEvent, GuiComponent) - Constructor for class io.github.toberocat.guiengine.event.spigot.GuiComponentClickEvent
-
Constructs a new `GuiComponentClickEvent` with the associated `GuiContext`, click event, and target component (if any).
- GuiComponentContainer - Interface in io.github.toberocat.guiengine.components
- GuiComponentDeserializer<C extends GuiComponent,
B extends GuiComponentBuilder> - Class in io.github.toberocat.guiengine.xml -
Custom JSON deserializer for a specific type of
GuiComponent
. - GuiComponentDeserializer(Class<B>) - Constructor for class io.github.toberocat.guiengine.xml.GuiComponentDeserializer
-
Constructor for the GuiComponentDeserializer.
- GuiComponentDragEvent - Class in io.github.toberocat.guiengine.event.spigot
-
Represents a custom GUI component drag event triggered when a player drags items in the GUI.
- GuiComponentDragEvent(GuiContext, InventoryDragEvent, GuiComponent) - Constructor for class io.github.toberocat.guiengine.event.spigot.GuiComponentDragEvent
-
Constructs a new `GuiComponentDragEvent` with the associated `GuiContext`, drag event, and target component (if any).
- GuiComponentPropertyFunction - Class in io.github.toberocat.guiengine.function.compute
-
Custom compute function to extract properties of GUI components.
- GuiComponentPropertyFunction() - Constructor for class io.github.toberocat.guiengine.function.compute.GuiComponentPropertyFunction
- GuiComponentSerializer<C extends GuiComponent> - Class in io.github.toberocat.guiengine.xml
-
Custom JSON serializer for a specific type of
GuiComponent
. - GuiComponentSerializer(Class<C>) - Constructor for class io.github.toberocat.guiengine.xml.GuiComponentSerializer
-
Constructor for the GuiComponentSerializer.
- GuiContext - Class in io.github.toberocat.guiengine.context
-
The `GuiContext` class represents a GUI context that holds information about the GUI components and actions for a specific player.
- GuiContext(GuiInterpreter, String, int, int) - Constructor for class io.github.toberocat.guiengine.context.GuiContext
-
Constructs a new `GuiContext` with the provided interpreter, title, width, and height.
- GuiEngineAction - Class in io.github.toberocat.guiengine.utils
- GuiEngineAction() - Constructor for class io.github.toberocat.guiengine.utils.GuiEngineAction
- GuiEngineApi - Class in io.github.toberocat.guiengine
-
The `GuiEngineApi` class provides an API to manage and interact with graphical user interfaces (GUIs).
- GuiEngineApi(String, File) - Constructor for class io.github.toberocat.guiengine.GuiEngineApi
-
Constructs a new `GuiEngineApi` instance with the specified ID and GUI folder.
- GuiEngineApi(String, File, FileFilter) - Constructor for class io.github.toberocat.guiengine.GuiEngineApi
-
Constructs a new `GuiEngineApi` instance with the specified ID, GUI folder, and GUI filter.
- GuiEngineApi(JavaPlugin) - Constructor for class io.github.toberocat.guiengine.GuiEngineApi
-
Constructs a new `GuiEngineApi` instance for the specified plugin.
- GuiEngineApiArgument - Class in io.github.toberocat.guiengine.arguments
- GuiEngineApiArgument() - Constructor for class io.github.toberocat.guiengine.arguments.GuiEngineApiArgument
- GuiEngineApiArgument(GuiEngineApi) - Constructor for class io.github.toberocat.guiengine.arguments.GuiEngineApiArgument
- GuiEngineApiPlugin - Class in io.github.toberocat.guiengine
-
This class represents the main plugin class for the GuiEngineApi plugin.
- GuiEngineApiPlugin() - Constructor for class io.github.toberocat.guiengine.GuiEngineApiPlugin
- GuiEngineEvent - Class in io.github.toberocat.guiengine.event.spigot
-
Represents a custom GUI engine event that extends the `Event` class from Bukkit.
- GuiEngineEvent(GuiContext) - Constructor for class io.github.toberocat.guiengine.event.spigot.GuiEngineEvent
-
Constructs a new `GuiEngineEvent` with the associated `GuiContext`.
- GuiEventListener - Interface in io.github.toberocat.guiengine.event
-
Represents a listener for GUI-related events.
- GuiEvents - Interface in io.github.toberocat.guiengine.event
-
Represents a set of defaulted GUI-related events.
- GuiFunction - Interface in io.github.toberocat.guiengine.function
-
Represents a function that can be called on a GUI context.
- guiIdFromFile(File) - Method in class io.github.toberocat.guiengine.GuiEngineApi
-
Converts a file into it's guiId.
- GuiInterpreter - Interface in io.github.toberocat.guiengine.interpreter
-
Custom GUI interpreter to process XML-based GUI definitions and handle GUI components.
- GuiIORuntimeException - Exception in io.github.toberocat.guiengine.exception
-
Represents a runtime exception that occurs during GUI I/O operations in the GUI engine.
- GuiIORuntimeException(String) - Constructor for exception io.github.toberocat.guiengine.exception.GuiIORuntimeException
-
Constructs a new `GuiIORuntimeException` with the specified error message.
- GuiIORuntimeException(Throwable) - Constructor for exception io.github.toberocat.guiengine.exception.GuiIORuntimeException
-
Constructs a new `GuiIORuntimeException` with the specified cause.
- GuiItemManager - Class in io.github.toberocat.guiengine.item
-
GuiItemManager is responsible for managing and providing access to known GUI items.
- GuiItemManager(FileConfiguration) - Constructor for class io.github.toberocat.guiengine.item.GuiItemManager
-
Creates a new GuiItemManager and initializes it with GUI items loaded from the given FileConfiguration.
- GuiNotFoundRuntimeException - Exception in io.github.toberocat.guiengine.exception
-
Represents a runtime exception that occurs when a GUI is not found in the specified GUI folder.
- GuiNotFoundRuntimeException(String) - Constructor for exception io.github.toberocat.guiengine.exception.GuiNotFoundRuntimeException
-
Constructs a new `GuiNotFoundRuntimeException` with the specified GUI ID.
- GuiRenderEngine - Interface in io.github.toberocat.guiengine.render
-
GuiRenderEngine is an interface for rendering GUIs and managing their views.
- GuiView - Record Class in io.github.toberocat.guiengine.view
-
A record class representing a GUI view in a Minecraft plugin.
- GuiView(Inventory, GuiContext) - Constructor for record class io.github.toberocat.guiengine.view.GuiView
-
Creates an instance of a
GuiView
record class. - GuiViewManager - Interface in io.github.toberocat.guiengine.view
-
An interface representing a manager for GUI views in a Minecraft plugin.
H
- handle(Player, String[]) - Method in class io.github.toberocat.guiengine.commands.DumpCommand
- handle(Player, String[]) - Method in class io.github.toberocat.guiengine.commands.OpenCommand
- handleCommand(CommandSender, String[]) - Method in class io.github.toberocat.guiengine.commands.GiveCommand
- handleCommand(CommandSender, String[]) - Method in class io.github.toberocat.guiengine.commands.ReloadCommand
- handleCommand(CommandSender, String[]) - Method in class io.github.toberocat.guiengine.commands.WebEditorCommand
- hasAI() - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- hasCooldown(Material) - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- hasDiscoveredRecipe(NamespacedKey) - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- hasGravity() - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- hashCode() - Method in class io.github.toberocat.guiengine.context.GuiContext
-
Generates the hash code for this `GuiContext`.
- hashCode() - Method in record class io.github.toberocat.guiengine.function.call.ActionFunction
-
Returns a hash code value for this object.
- hashCode() - Method in record class io.github.toberocat.guiengine.function.call.AddComponentsFunction
-
Returns a hash code value for this object.
- hashCode() - Method in record class io.github.toberocat.guiengine.function.call.EditComponentFunction
-
Returns a hash code value for this object.
- hashCode() - Method in record class io.github.toberocat.guiengine.function.call.RemoveComponentFunction
-
Returns a hash code value for this object.
- hashCode() - Method in record class io.github.toberocat.guiengine.utils.CoordinatePair
-
Returns a hash code value for this object.
- hashCode() - Method in record class io.github.toberocat.guiengine.utils.GeneratorContext
-
Returns a hash code value for this object.
- hashCode() - Method in record class io.github.toberocat.guiengine.utils.ParserContext
-
Returns a hash code value for this object.
- hashCode() - Method in record class io.github.toberocat.guiengine.view.GuiView
-
Returns a hash code value for this object.
- hashCode() - Method in record class io.github.toberocat.guiengine.xml.XmlComponent
-
Returns a hash code value for this object.
- hasLineOfSight(Entity) - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- hasMetadata(String) - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- HasNotPermissionFunction - Class in io.github.toberocat.guiengine.function.compute
-
Custom compute function to check if a player does not have a specific permission.
- HasNotPermissionFunction() - Constructor for class io.github.toberocat.guiengine.function.compute.HasNotPermissionFunction
- hasPermission(String) - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- hasPermission(Permission) - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- HasPermissionFunction - Class in io.github.toberocat.guiengine.function.compute
-
Custom compute function to check if a player has a specific permission.
- HasPermissionFunction() - Constructor for class io.github.toberocat.guiengine.function.compute.HasPermissionFunction
- hasPlayedBefore() - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- hasPotionEffect(PotionEffectType) - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- height - Variable in class io.github.toberocat.guiengine.components.AbstractGuiComponent
-
The height of this component
- height - Variable in class io.github.toberocat.guiengine.components.provided.embedded.EmbeddedGuiComponentBuilder
- height() - Method in class io.github.toberocat.guiengine.components.AbstractGuiComponent
- height() - Method in interface io.github.toberocat.guiengine.components.GuiComponent
-
Get the height of the GUI component.
- height() - Method in class io.github.toberocat.guiengine.context.GuiContext
-
Returns the height of the GUI context.
- hidden - Variable in class io.github.toberocat.guiengine.components.AbstractGuiComponentBuilder
- hidden() - Method in class io.github.toberocat.guiengine.components.AbstractGuiComponent
- hidden() - Method in interface io.github.toberocat.guiengine.components.GuiComponent
-
Check if the GUI component is hidden.
- hideEntity(Plugin, Entity) - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- hidePlayer(Player) - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- hidePlayer(Plugin, Player) - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- HIGH - Enum constant in enum class io.github.toberocat.guiengine.render.RenderPriority
-
A high-rendering priority.
- HIGHEST - Enum constant in enum class io.github.toberocat.guiengine.render.RenderPriority
-
The highest rendering priority.
I
- id - Variable in class io.github.toberocat.guiengine.components.AbstractGuiComponent
- id - Variable in class io.github.toberocat.guiengine.components.AbstractGuiComponentBuilder
- id() - Method in record class io.github.toberocat.guiengine.xml.XmlComponent
-
Returns the value of the
id
record component. - ID - Static variable in record class io.github.toberocat.guiengine.function.call.ActionFunction
- ID - Static variable in record class io.github.toberocat.guiengine.function.call.AddComponentsFunction
- ID - Static variable in record class io.github.toberocat.guiengine.function.call.EditComponentFunction
- ID - Static variable in record class io.github.toberocat.guiengine.function.call.RemoveComponentFunction
- incrementStatistic(Statistic) - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- incrementStatistic(Statistic, int) - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- incrementStatistic(Statistic, EntityType) - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- incrementStatistic(Statistic, EntityType, int) - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- incrementStatistic(Statistic, Material) - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- incrementStatistic(Statistic, Material, int) - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- interactions - Variable in class io.github.toberocat.guiengine.components.provided.embedded.EmbeddedGuiComponent
- interactions - Variable in class io.github.toberocat.guiengine.components.provided.embedded.EmbeddedGuiComponentBuilder
- interpreter() - Method in class io.github.toberocat.guiengine.context.GuiContext
-
Returns the associated `GuiInterpreter` for this context.
- interpreterId() - Method in class io.github.toberocat.guiengine.interpreter.DefaultInterpreter
-
Returns the identifier for this interpreter.
- interpreterId() - Method in interface io.github.toberocat.guiengine.interpreter.GuiInterpreter
-
Retrieves the unique identifier of the interpreter.
- InterpreterManager - Class in io.github.toberocat.guiengine.interpreter
-
This class represents the InterpreterManager, responsible for managing and providing access to various implementations of the GuiInterpreter interface.
- InterpreterManager() - Constructor for class io.github.toberocat.guiengine.interpreter.InterpreterManager
-
Creates a new InterpreterManager with an empty interpreter map.
- InvalidGuiComponentException - Exception in io.github.toberocat.guiengine.exception
-
Created: 10.07.2023
- InvalidGuiComponentException() - Constructor for exception io.github.toberocat.guiengine.exception.InvalidGuiComponentException
-
Constructs a new runtime exception with
null
as its detail message. - InvalidGuiComponentException(String) - Constructor for exception io.github.toberocat.guiengine.exception.InvalidGuiComponentException
-
Constructs a new runtime exception with the specified detail message.
- InvalidGuiComponentException(String, Throwable) - Constructor for exception io.github.toberocat.guiengine.exception.InvalidGuiComponentException
-
Constructs a new runtime exception with the specified detail message and cause.
- InvalidGuiComponentException(String, Throwable, boolean, boolean) - Constructor for exception io.github.toberocat.guiengine.exception.InvalidGuiComponentException
-
Constructs a new runtime exception with the specified detail message, cause, suppression enabled or disabled, and writable stack trace enabled or disabled.
- InvalidGuiComponentException(Throwable) - Constructor for exception io.github.toberocat.guiengine.exception.InvalidGuiComponentException
-
Constructs a new runtime exception with the specified cause and a detail message of
(cause==null ? null : cause.toString())
(which typically contains the class and detail message ofcause
). - InvalidGuiFileException - Exception in io.github.toberocat.guiengine.exception
-
Created: 05.08.2023
- InvalidGuiFileException(String) - Constructor for exception io.github.toberocat.guiengine.exception.InvalidGuiFileException
-
Constructs a new runtime exception with the specified detail message.
- inventory() - Method in class io.github.toberocat.guiengine.context.GuiContext
-
Returns the inventory associated with this GUI context.
- inventory() - Method in record class io.github.toberocat.guiengine.view.GuiView
-
Returns the value of the
inventory
record component. - io.github.toberocat.guiengine - package io.github.toberocat.guiengine
- io.github.toberocat.guiengine.action - package io.github.toberocat.guiengine.action
- io.github.toberocat.guiengine.arguments - package io.github.toberocat.guiengine.arguments
- io.github.toberocat.guiengine.commands - package io.github.toberocat.guiengine.commands
- io.github.toberocat.guiengine.components - package io.github.toberocat.guiengine.components
- io.github.toberocat.guiengine.components.provided.embedded - package io.github.toberocat.guiengine.components.provided.embedded
- io.github.toberocat.guiengine.components.provided.item - package io.github.toberocat.guiengine.components.provided.item
- io.github.toberocat.guiengine.components.provided.paged - package io.github.toberocat.guiengine.components.provided.paged
- io.github.toberocat.guiengine.components.provided.toggle - package io.github.toberocat.guiengine.components.provided.toggle
- io.github.toberocat.guiengine.context - package io.github.toberocat.guiengine.context
- io.github.toberocat.guiengine.event - package io.github.toberocat.guiengine.event
- io.github.toberocat.guiengine.event.spigot - package io.github.toberocat.guiengine.event.spigot
- io.github.toberocat.guiengine.exception - package io.github.toberocat.guiengine.exception
- io.github.toberocat.guiengine.function - package io.github.toberocat.guiengine.function
- io.github.toberocat.guiengine.function.call - package io.github.toberocat.guiengine.function.call
- io.github.toberocat.guiengine.function.compute - package io.github.toberocat.guiengine.function.compute
- io.github.toberocat.guiengine.interpreter - package io.github.toberocat.guiengine.interpreter
- io.github.toberocat.guiengine.item - package io.github.toberocat.guiengine.item
- io.github.toberocat.guiengine.listeners - package io.github.toberocat.guiengine.listeners
- io.github.toberocat.guiengine.render - package io.github.toberocat.guiengine.render
- io.github.toberocat.guiengine.utils - package io.github.toberocat.guiengine.utils
- io.github.toberocat.guiengine.view - package io.github.toberocat.guiengine.view
- io.github.toberocat.guiengine.xml - package io.github.toberocat.guiengine.xml
- isAllowingServerListings() - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- isBanned() - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- isBlocking() - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- isClimbing() - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- isCollidable() - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- isConversing() - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- isCustomNameVisible() - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- isDead() - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- isEmpty() - Method in class io.github.toberocat.guiengine.utils.VirtualInventory
- isEmpty() - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- isFlying() - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- isFrozen() - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- isGliding() - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- isGlowing() - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- isHandRaised() - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- isHealthScaled() - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- isInComponent(int) - Method in interface io.github.toberocat.guiengine.components.GuiComponent
-
Check if the provided slot is within the bounds of the GUI component.
- isInsideVehicle() - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- isInvisible() - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- isInvulnerable() - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- isInWater() - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- isLeashed() - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- isOnGround() - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- isOnline() - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- isOp() - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- isPermissionSet(String) - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- isPermissionSet(Permission) - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- isPersistent() - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- isPlayerTimeRelative() - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- isRiptiding() - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- isSilent() - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- isSleeping() - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- isSleepingIgnored() - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- isSneaking() - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- isSprinting() - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- isSwimming() - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- isValid() - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- isViewingGui(UUID) - Method in class io.github.toberocat.guiengine.view.DefaultGuiViewManager
-
Check if the given player is currently viewing a GUI.
- isViewingGui(UUID) - Method in interface io.github.toberocat.guiengine.view.GuiViewManager
-
Check if the given player is currently viewing a GUI.
- isViewingGui(Player) - Method in interface io.github.toberocat.guiengine.view.GuiViewManager
-
Check if the given Bukkit Player object is currently viewing a GUI.
- isVisualFire() - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- isWhitelisted() - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- ItemClickListener - Class in io.github.toberocat.guiengine.listeners
-
ItemClickListener is a Bukkit event listener responsible for handling player interactions with GUI items.
- ItemClickListener() - Constructor for class io.github.toberocat.guiengine.listeners.ItemClickListener
- iterator() - Method in class io.github.toberocat.guiengine.utils.VirtualInventory
- iterator(int) - Method in class io.github.toberocat.guiengine.utils.VirtualInventory
J
- JsonUtils - Class in io.github.toberocat.guiengine.utils
-
Created: 07.04.2023
- JsonUtils() - Constructor for class io.github.toberocat.guiengine.utils.JsonUtils
K
- kickPlayer(String) - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
L
- label() - Method in class io.github.toberocat.guiengine.action.NextPageAction
-
Returns the label of this action, which is based on the ID of the associated `PagedComponent` and the action type ("next").
- label() - Method in class io.github.toberocat.guiengine.action.OpenGuiAction
-
Returns the label of this action, which is "open".
- label() - Method in class io.github.toberocat.guiengine.action.PreviousPageAction
-
Returns the label of this action, which is based on the ID of the associated `PagedComponent` and the action type ("previous").
- LATEST_VERSION - Static variable in class io.github.toberocat.guiengine.GuiEngineApiPlugin
-
The current version of this plugin
- launchProjectile(Class<? extends T>) - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- launchProjectile(Class<? extends T>, Vector) - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- leaveVehicle() - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- listen(Class<E>, Consumer<E>) - Method in interface io.github.toberocat.guiengine.event.GuiEventListener
-
Registers a listener for a specific event class along with its associated event handler.
- loadContent(GuiEngineApi, Player, XmlGui) - Method in class io.github.toberocat.guiengine.interpreter.DefaultInterpreter
-
Loads the GUI content from the given XmlGui and creates a GuiContext with the associated components.
- loadContent(GuiEngineApi, Player, XmlGui) - Method in interface io.github.toberocat.guiengine.interpreter.GuiInterpreter
-
Loads the content of a GUI based on the provided XML GUI definition and player viewer.
- loadData() - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- LOADED_CONTEXTS - Static variable in class io.github.toberocat.guiengine.GuiEngineApi
- loadXmlGui(Map<String, String>, String) - Method in class io.github.toberocat.guiengine.GuiEngineApi
-
Loads and returns the XML-based GUI definition with the specified ID, substituting the placeholders.
- lore - Variable in class io.github.toberocat.guiengine.components.provided.item.SimpleItemComponentBuilder
- LOW - Enum constant in enum class io.github.toberocat.guiengine.render.RenderPriority
-
A low-rendering priority.
- LOWEST - Enum constant in enum class io.github.toberocat.guiengine.render.RenderPriority
-
The lowest rendering priority.
M
- material - Variable in class io.github.toberocat.guiengine.components.provided.item.SimpleItemComponentBuilder
- MissingRequiredParamException - Exception in io.github.toberocat.guiengine.exception
-
Represents an exception that occurs when a required parameter is missing while generating a GUI component.
- MissingRequiredParamException(AbstractGuiComponentBuilder<?>, String) - Constructor for exception io.github.toberocat.guiengine.exception.MissingRequiredParamException
-
Constructs a new `MissingRequiredParamException` with the specified information.
N
- name - Variable in class io.github.toberocat.guiengine.components.provided.item.SimpleItemComponentBuilder
- NextPageAction - Class in io.github.toberocat.guiengine.action
-
The `NextPageAction` class represents an action that allows a player to navigate to the next page of a `PagedComponent`.
- NextPageAction(PagedComponent) - Constructor for class io.github.toberocat.guiengine.action.NextPageAction
-
Constructs a new `NextPageAction` with the specified `PagedComponent`.
- node() - Method in record class io.github.toberocat.guiengine.utils.ParserContext
-
Returns the value of the
node
record component. - NORMAL - Enum constant in enum class io.github.toberocat.guiengine.render.RenderPriority
-
The normal rendering priority (default).
O
- OBJECT_MAPPER - Static variable in class io.github.toberocat.guiengine.function.FunctionProcessor
- objectFields(GuiEngineApi, Function<JsonNode, JsonNode>) - Method in record class io.github.toberocat.guiengine.xml.XmlComponent
-
Convert the fields of this to a map of objects.
- offsetX - Variable in class io.github.toberocat.guiengine.components.AbstractGuiComponent
-
X position of the component
- offsetX() - Method in class io.github.toberocat.guiengine.components.AbstractGuiComponent
- offsetX() - Method in interface io.github.toberocat.guiengine.components.GuiComponent
-
Get the X offset of the GUI component.
- offsetY - Variable in class io.github.toberocat.guiengine.components.AbstractGuiComponent
-
Y position of the component
- offsetY() - Method in class io.github.toberocat.guiengine.components.AbstractGuiComponent
- offsetY() - Method in interface io.github.toberocat.guiengine.components.GuiComponent
-
Get the Y offset of the GUI component.
- onEnable() - Method in class io.github.toberocat.guiengine.GuiEngineApiPlugin
-
Called when the plugin is enabled.
- onViewInit(Map<String, String>) - Method in class io.github.toberocat.guiengine.components.provided.embedded.EmbeddedGuiComponent
- onViewInit(Map<String, String>) - Method in class io.github.toberocat.guiengine.components.provided.paged.PagedComponent
- onViewInit(Map<String, String>) - Method in class io.github.toberocat.guiengine.components.provided.toggle.ToggleItemComponent
- onViewInit(Map<String, String>) - Method in interface io.github.toberocat.guiengine.event.GuiEvents
-
Called when the GUI is initialized and the viewer (player) opens it.
- openBook(ItemStack) - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- OpenCommand - Class in io.github.toberocat.guiengine.commands
-
The `OpenCommand` class represents a player sub-command that allows a player to open a GUI using the `GuiEngineApi`.
- OpenCommand() - Constructor for class io.github.toberocat.guiengine.commands.OpenCommand
-
Constructs a new `OpenCommand` with the default label "open".
- OpenCommand(String) - Constructor for class io.github.toberocat.guiengine.commands.OpenCommand
-
Constructs a new `OpenCommand` with the specified label.
- openEnchanting(Location, boolean) - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- openGui(Player, String) - Method in class io.github.toberocat.guiengine.GuiEngineApi
-
Opens a GUI with the specified ID for the given player, using the default placeholders.
- openGui(Player, String, Map<String, String>) - Method in class io.github.toberocat.guiengine.GuiEngineApi
-
Opens a GUI with the specified ID for the given player, using the provided placeholders.
- OpenGuiAction - Class in io.github.toberocat.guiengine.action
-
The `OpenGuiAction` class represents an action that allows a player to open a GUI using the `GuiEngineApi`.
- OpenGuiAction() - Constructor for class io.github.toberocat.guiengine.action.OpenGuiAction
- openInventory(Inventory) - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- openInventory(InventoryView) - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- openMerchant(Villager, boolean) - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- openMerchant(Merchant, boolean) - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- openSign(Sign) - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- openWorkbench(Location, boolean) - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- options() - Method in class io.github.toberocat.guiengine.commands.GiveCommand
- options() - Method in class io.github.toberocat.guiengine.commands.OpenCommand
- options() - Method in class io.github.toberocat.guiengine.commands.ReloadCommand
- options() - Method in class io.github.toberocat.guiengine.commands.WebEditorCommand
- owner - Variable in class io.github.toberocat.guiengine.components.provided.item.SimpleItemComponentBuilder
P
- PagedComponent - Class in io.github.toberocat.guiengine.components.provided.paged
-
A custom GUI component that represents a paged GUI.
- PagedComponent(int, int, int, int, RenderPriority, String, List<GuiFunction>, List<GuiFunction>, List<GuiFunction>, boolean, String, boolean, boolean, ParserContext, int[], int) - Constructor for class io.github.toberocat.guiengine.components.provided.paged.PagedComponent
-
Constructs a new PagedComponent instance with the specified parameters.
- PagedComponentBuilder - Class in io.github.toberocat.guiengine.components.provided.paged
-
A builder class for creating PagedComponent instances.
- PagedComponentBuilder() - Constructor for class io.github.toberocat.guiengine.components.provided.paged.PagedComponentBuilder
- parent - Variable in class io.github.toberocat.guiengine.components.provided.paged.PagedComponent
- parse(Player, String) - Method in class io.github.toberocat.guiengine.arguments.GuiEngineApiArgument
- ParserContext - Record Class in io.github.toberocat.guiengine.utils
-
A helper class representing a context for parsing JSON data.
- ParserContext(JsonNode, GuiContext, GuiEngineApi) - Constructor for record class io.github.toberocat.guiengine.utils.ParserContext
-
Creates an instance of a
ParserContext
record class. - pattern - Variable in class io.github.toberocat.guiengine.components.provided.paged.PagedComponent
- performCommand(String) - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- playEffect(EntityEffect) - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- playEffect(Location, Effect, int) - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- playEffect(Location, Effect, T) - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- PlayerJoinListener - Class in io.github.toberocat.guiengine.listeners
-
PlayerJoinListener is a Bukkit event listener that notifies players with operator (OP) status about newer versions of GuiEngine available on SpigotMC.
- PlayerJoinListener() - Constructor for class io.github.toberocat.guiengine.listeners.PlayerJoinListener
- playNote(Location, byte, byte) - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- playNote(Location, Instrument, Note) - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- playSound(Entity, Sound, float, float) - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- playSound(Entity, Sound, SoundCategory, float, float) - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- playSound(Location, String, float, float) - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- playSound(Location, String, SoundCategory, float, float) - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- playSound(Location, Sound, float, float) - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- playSound(Location, Sound, SoundCategory, float, float) - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- PreviousPageAction - Class in io.github.toberocat.guiengine.action
-
The `PreviousPageAction` class represents an action that allows a player to navigate to the previous page of a `PagedComponent`.
- PreviousPageAction(PagedComponent) - Constructor for class io.github.toberocat.guiengine.action.PreviousPageAction
-
Constructs a new `PreviousPageAction` with the specified `PagedComponent`.
- priority - Variable in class io.github.toberocat.guiengine.components.AbstractGuiComponent
-
The render priority of this component.
- priority - Variable in class io.github.toberocat.guiengine.components.AbstractGuiComponentBuilder
R
- rayTraceBlocks(double) - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- rayTraceBlocks(double, FluidCollisionMode) - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- recalculatePermissions() - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- registerComputeFunction(ComputeFunction) - Static method in class io.github.toberocat.guiengine.function.FunctionProcessor
-
Registers a custom compute function.
- registerFactory(String, Class<T>, Class<B>) - Method in class io.github.toberocat.guiengine.GuiEngineApi
-
Registers a GUI component factory with the given ID, class, and builder class.
- registerFunction(String, Class<? extends GuiFunction>) - Static method in class io.github.toberocat.guiengine.function.FunctionProcessor
-
Registers a custom GUI function.
- registerGui(UUID, GuiView) - Method in class io.github.toberocat.guiengine.view.DefaultGuiViewManager
-
Register a new GUI view for the given player.
- registerGui(UUID, GuiView) - Method in interface io.github.toberocat.guiengine.view.GuiViewManager
-
Register a new GUI view for the given player.
- registerInterpreter(GuiInterpreter) - Method in class io.github.toberocat.guiengine.interpreter.InterpreterManager
-
Registers a new GuiInterpreter in the manager.
- registerSharedFactory(String, Class<T>, Class<B>) - Static method in class io.github.toberocat.guiengine.GuiEngineApi
-
Registers a shared GUI component factory with the given ID, class, and builder class.
- reload() - Method in class io.github.toberocat.guiengine.GuiEngineApi
-
Reloads the available GUIs from the GUI folder.
- ReloadCommand - Class in io.github.toberocat.guiengine.commands
- ReloadCommand() - Constructor for class io.github.toberocat.guiengine.commands.ReloadCommand
- remove() - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- remove(ItemStack) - Method in class io.github.toberocat.guiengine.utils.VirtualInventory
- remove(Material) - Method in class io.github.toberocat.guiengine.utils.VirtualInventory
- removeAttachment(PermissionAttachment) - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- removeById(String) - Method in class io.github.toberocat.guiengine.context.GuiContext
-
Removes a GUI component with the specified ID.
- RemoveComponentFunction - Record Class in io.github.toberocat.guiengine.function.call
-
Custom GUI function to remove a component from the GUI.
- RemoveComponentFunction(String) - Constructor for record class io.github.toberocat.guiengine.function.call.RemoveComponentFunction
-
Creates an instance of a
RemoveComponentFunction
record class. - RemoveComponentFunction.Deserializer - Class in io.github.toberocat.guiengine.function.call
-
Custom deserializer to convert JSON data into a `RemoveComponentFunction` instance.
- removeItem(ItemStack...) - Method in class io.github.toberocat.guiengine.utils.VirtualInventory
- removeMetadata(String, Plugin) - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- removePassenger(Entity) - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- removePotionEffect(PotionEffectType) - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- removeScoreboardTag(String) - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- render() - Method in class io.github.toberocat.guiengine.context.GuiContext
-
Renders the GUI context by updating the inventory with the components' content.
- render(Player, ItemStack[][]) - Method in interface io.github.toberocat.guiengine.components.GuiComponent
-
Render the GUI component for a specific player and inventory configuration.
- render(Player, ItemStack[][]) - Method in class io.github.toberocat.guiengine.components.provided.embedded.EmbeddedGuiComponent
- render(Player, ItemStack[][]) - Method in class io.github.toberocat.guiengine.components.provided.item.SimpleItemComponent
- render(Player, ItemStack[][]) - Method in class io.github.toberocat.guiengine.components.provided.paged.PagedComponent
- render(Player, ItemStack[][]) - Method in class io.github.toberocat.guiengine.components.provided.toggle.ToggleItemComponent
- renderGui(ItemStack[][], GuiContext, Player) - Method in class io.github.toberocat.guiengine.render.DefaultGuiRenderEngine
-
Renders the GUI using the provided render buffer, GuiContext, and Player viewer.
- renderGui(ItemStack[][], GuiContext, Player) - Method in interface io.github.toberocat.guiengine.render.GuiRenderEngine
-
Renders the GUI using the provided render buffer, GuiContext, and Player viewer.
- renderPriority() - Method in class io.github.toberocat.guiengine.components.AbstractGuiComponent
- renderPriority() - Method in interface io.github.toberocat.guiengine.components.GuiComponent
-
Get the rendering priority of the GUI component.
- renderPriority() - Method in record class io.github.toberocat.guiengine.xml.XmlComponent
-
Returns the value of the
renderPriority
record component. - RenderPriority - Enum Class in io.github.toberocat.guiengine.render
-
RenderPriority defines the rendering priority levels for GUI components.
- resetMaxHealth() - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- resetPatternOnPage() - Method in class io.github.toberocat.guiengine.components.provided.paged.PagedComponent
-
Resets the pattern.
- resetPlayerTime() - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- resetPlayerWeather() - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- resetTitle() - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- root() - Method in record class io.github.toberocat.guiengine.function.call.AddComponentsFunction
-
Returns the value of the
root
record component. - routeTab(CommandSender, String[]) - Method in class io.github.toberocat.guiengine.commands.GiveCommand
- routeTab(CommandSender, String[]) - Method in class io.github.toberocat.guiengine.commands.OpenCommand
- run(Player) - Method in class io.github.toberocat.guiengine.action.NextPageAction
-
Performs the action of navigating to the next page of the associated `PagedComponent` for the specified player.
- run(Player) - Method in class io.github.toberocat.guiengine.action.PreviousPageAction
-
Performs the action of navigating to the previous page of the associated `PagedComponent` for the specified player.
- run(Player, String[]) - Method in class io.github.toberocat.guiengine.action.OpenGuiAction
-
Performs the action of opening a GUI for the specified player using the `GuiEngineApi`.
S
- saveData() - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- Selectable - Interface in io.github.toberocat.guiengine.components
-
Represents a selectable component that allows users to make a selection from a set of options.
- self() - Method in class io.github.toberocat.guiengine.components.AbstractGuiComponentBuilder
-
Helper method to return the builder instance.
- send(Player) - Static method in class io.github.toberocat.guiengine.listeners.PlayerJoinListener
-
Notifies the player with the latest version information if they are an operator (OP) and there is a newer version of GuiEngine available on SpigotMC.
- sendBlockChange(Location, BlockData) - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- sendBlockChange(Location, Material, byte) - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- sendBlockDamage(Location, float) - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- sendEquipmentChange(LivingEntity, EquipmentSlot, ItemStack) - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- sendExperienceChange(float) - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- sendExperienceChange(float, int) - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- sendMap(MapView) - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- sendMessage(String) - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- sendMessage(String[]) - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- sendMessage(UUID, String) - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- sendMessage(UUID, String...) - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- sendPluginMessage(Plugin, String, byte[]) - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- sendRawMessage(String) - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- sendRawMessage(UUID, String) - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- sendSignChange(Location, String[]) - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- sendSignChange(Location, String[], DyeColor) - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- sendSignChange(Location, String[], DyeColor, boolean) - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- sendTitle(String, String) - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- sendTitle(String, String, int, int, int) - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- serialize() - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- serialize(GeneratorContext, SerializerProvider) - Method in class io.github.toberocat.guiengine.components.AbstractGuiComponent
- serialize(GeneratorContext, SerializerProvider) - Method in interface io.github.toberocat.guiengine.components.GuiComponent
-
Serialize the GUI component using the provided GeneratorContext and SerializerProvider.
- serialize(GeneratorContext, SerializerProvider) - Method in class io.github.toberocat.guiengine.components.provided.embedded.EmbeddedGuiComponent
- serialize(GeneratorContext, SerializerProvider) - Method in class io.github.toberocat.guiengine.components.provided.item.SimpleItemComponent
- serialize(GeneratorContext, SerializerProvider) - Method in class io.github.toberocat.guiengine.components.provided.paged.PagedComponent
- serialize(GeneratorContext, SerializerProvider) - Method in class io.github.toberocat.guiengine.components.provided.toggle.ToggleItemComponent
- serialize(C, JsonGenerator, SerializerProvider) - Method in class io.github.toberocat.guiengine.xml.GuiComponentSerializer
-
Serialize a
GuiComponent
object to JSON. - setAbsorptionAmount(double) - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- setAI(boolean) - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- setAllowFlight(boolean) - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- setApi(GuiEngineApi) - Method in class io.github.toberocat.guiengine.components.AbstractGuiComponent
- setApi(GuiEngineApi) - Method in interface io.github.toberocat.guiengine.components.GuiComponent
-
Set the GUI Engine API for the component.
- setArrowCooldown(int) - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- setArrowsInBody(int) - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- setBedSpawnLocation(Location) - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- setBedSpawnLocation(Location, boolean) - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- setCanPickupItems(boolean) - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- setClickFunctions(List<GuiFunction>) - Method in class io.github.toberocat.guiengine.components.AbstractGuiComponentBuilder
-
Set the click functions for the GUI component.
- setCloseFunctions(List<GuiFunction>) - Method in class io.github.toberocat.guiengine.components.AbstractGuiComponentBuilder
-
Set the close functions for the GUI component.
- setCollidable(boolean) - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- setCompassTarget(Location) - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- setComponents(XmlComponent[]) - Method in class io.github.toberocat.guiengine.xml.XmlGui
-
Set the array of XmlComponent objects representing the GUI components.
- setContents(ItemStack[]) - Method in class io.github.toberocat.guiengine.utils.VirtualInventory
- setContext(GuiContext) - Method in class io.github.toberocat.guiengine.components.AbstractGuiComponent
- setContext(GuiContext) - Method in interface io.github.toberocat.guiengine.components.GuiComponent
-
Set the GUI context for the component.
- setCooldown(Material, int) - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- setCopyAir(boolean) - Method in class io.github.toberocat.guiengine.components.provided.embedded.EmbeddedGuiComponentBuilder
-
Set whether to copy air slots from the embedded GUI or skip empty slots.
- setCustomName(String) - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- setCustomNameVisible(boolean) - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- setDisplayName(String) - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- setDragFunctions(List<GuiFunction>) - Method in class io.github.toberocat.guiengine.components.AbstractGuiComponentBuilder
-
Set the drag functions for the GUI component.
- setExhaustion(float) - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- setExp(float) - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- setFallDistance(float) - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- setFireTicks(int) - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- setFlying(boolean) - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- setFlySpeed(float) - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- setFoodLevel(int) - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- setFreezeTicks(int) - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- setGameMode(GameMode) - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- setGliding(boolean) - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- setGlowing(boolean) - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- setGravity(boolean) - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- setHealth(double) - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- setHealthScale(double) - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- setHealthScaled(boolean) - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- setHeight(int) - Method in class io.github.toberocat.guiengine.components.provided.embedded.EmbeddedGuiComponentBuilder
-
Set the height of the EmbeddedGuiComponent.
- setHeight(int) - Method in class io.github.toberocat.guiengine.xml.XmlGui
-
Set the height of the GUI.
- setHidden(boolean) - Method in class io.github.toberocat.guiengine.components.AbstractGuiComponent
- setHidden(boolean) - Method in class io.github.toberocat.guiengine.components.AbstractGuiComponentBuilder
-
Set the visibility of the GUI component.
- setHidden(boolean) - Method in interface io.github.toberocat.guiengine.components.GuiComponent
-
Set the visibility of the GUI component.
- setId(String) - Method in class io.github.toberocat.guiengine.components.AbstractGuiComponentBuilder
-
Set the ID of the GUI component.
- setInteractions(boolean) - Method in class io.github.toberocat.guiengine.components.provided.embedded.EmbeddedGuiComponentBuilder
-
Set whether to allow interactions with the embedded GUI or ignore interactions.
- setInterpreter(String) - Method in class io.github.toberocat.guiengine.xml.XmlGui
-
Set the interpreter used by the GUI.
- setInventory(Inventory) - Method in class io.github.toberocat.guiengine.context.GuiContext
-
Sets the inventory for this GUI context.
- setInvisible(boolean) - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- setInvulnerable(boolean) - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- setItem(int, ItemStack) - Method in class io.github.toberocat.guiengine.utils.VirtualInventory
- setItemInHand(ItemStack) - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- setItemOnCursor(ItemStack) - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- setLastDamage(double) - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- setLastDamageCause(EntityDamageEvent) - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- setLeashHolder(Entity) - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- setLevel(int) - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- setLore(String[]) - Method in class io.github.toberocat.guiengine.components.provided.item.SimpleItemComponentBuilder
-
Set the lore of the item.
- setMaterial(Material) - Method in class io.github.toberocat.guiengine.components.provided.item.SimpleItemComponentBuilder
-
Set the material of the item (e.g., DIAMOND, GOLD_INGOT, etc.).
- setMaxHealth(double) - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- setMaximumAir(int) - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- setMaximumNoDamageTicks(int) - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- setMaxStackSize(int) - Method in class io.github.toberocat.guiengine.utils.VirtualInventory
- setMemory(MemoryKey<T>, T) - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- setMetadata(String, MetadataValue) - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- setName(String) - Method in class io.github.toberocat.guiengine.components.provided.item.SimpleItemComponentBuilder
-
Set the name of the item.
- setNoDamageTicks(int) - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- setOffsetX(int) - Method in class io.github.toberocat.guiengine.components.AbstractGuiComponent
- setOffsetX(int) - Method in interface io.github.toberocat.guiengine.components.GuiComponent
-
Set the X offset of the GUI component.
- setOffsetY(int) - Method in class io.github.toberocat.guiengine.components.AbstractGuiComponent
- setOffsetY(int) - Method in interface io.github.toberocat.guiengine.components.GuiComponent
-
Set the Y offset of the GUI component.
- setOp(boolean) - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- setOptions(ParserContext) - Method in class io.github.toberocat.guiengine.components.provided.toggle.ToggleItemComponentBuilder
-
Set the options for the toggle item component.
- setOwner(UUID) - Method in class io.github.toberocat.guiengine.components.provided.item.SimpleItemComponentBuilder
-
Set the owner UUID for the item (only applicable to PLAYER_HEAD or SKULL items).
- setParent(ParserContext) - Method in class io.github.toberocat.guiengine.components.provided.paged.PagedComponentBuilder
-
Sets the parent parser context containing the GUI definition.
- setPassenger(Entity) - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- setPattern(int[]) - Method in class io.github.toberocat.guiengine.components.provided.paged.PagedComponentBuilder
-
Sets the pattern of slots on the GUI to arrange the components.
- setPersistent(boolean) - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- setPlayerListFooter(String) - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- setPlayerListHeader(String) - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- setPlayerListHeaderFooter(String, String) - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- setPlayerListName(String) - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- setPlayerTime(long, boolean) - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- setPlayerWeather(WeatherType) - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- setPortalCooldown(int) - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- setPriority(RenderPriority) - Method in class io.github.toberocat.guiengine.components.AbstractGuiComponentBuilder
-
Set the rendering priority of the GUI component.
- setRemainingAir(int) - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- setRemoveWhenFarAway(boolean) - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- setResourcePack(String) - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- setResourcePack(String, byte[]) - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- setResourcePack(String, byte[], boolean) - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- setResourcePack(String, byte[], String) - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- setResourcePack(String, byte[], String, boolean) - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- setRotation(float, float) - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- setSaturatedRegenRate(int) - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- setSaturation(float) - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- setScoreboard(Scoreboard) - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- setSelected(int) - Method in class io.github.toberocat.guiengine.components.provided.toggle.ToggleItemComponent
-
Set the index of the currently selected option.
- setSelected(int) - Method in class io.github.toberocat.guiengine.components.provided.toggle.ToggleItemComponentBuilder
-
Set the index of the initially selected option.
- setSelected(int) - Method in interface io.github.toberocat.guiengine.components.Selectable
-
Set the index of the selected option from the selection model.
- setShoulderEntityLeft(Entity) - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- setShoulderEntityRight(Entity) - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- setShowingPage(int) - Method in class io.github.toberocat.guiengine.components.provided.paged.PagedComponent
-
Sets the currently showing page index of the paged component.
- setShowingPage(int) - Method in class io.github.toberocat.guiengine.components.provided.paged.PagedComponentBuilder
-
Sets the index of the currently showing page.
- setSilent(boolean) - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- setSleepingIgnored(boolean) - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- setSneaking(boolean) - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- setSpectatorTarget(Entity) - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- setSprinting(boolean) - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- setStarvationRate(int) - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- setStatistic(Statistic, int) - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- setStatistic(Statistic, EntityType, int) - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- setStatistic(Statistic, Material, int) - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- setStorageContents(ItemStack[]) - Method in class io.github.toberocat.guiengine.utils.VirtualInventory
- setSwimming(boolean) - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- setTargetGui(String) - Method in class io.github.toberocat.guiengine.components.provided.embedded.EmbeddedGuiComponentBuilder
-
Set the ID of the target GUI to embed inside this component.
- setTextureId(String) - Method in class io.github.toberocat.guiengine.components.provided.item.SimpleItemComponentBuilder
-
Set the texture ID for the item (only applicable to PLAYER_HEAD or SKULL items).
- setTexturePack(String) - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- setTicksLived(int) - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- setTitle(String) - Method in class io.github.toberocat.guiengine.xml.XmlGui
-
Set the title of the GUI.
- setTotalExperience(int) - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- setUnsaturatedRegenRate(int) - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- setVelocity(Vector) - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- setViewer(Player) - Method in class io.github.toberocat.guiengine.context.GuiContext
-
Sets the viewer (player) for this GUI context.
- setVisualFire(boolean) - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- setWalkSpeed(float) - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- setWhitelisted(boolean) - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- setWidth(int) - Method in class io.github.toberocat.guiengine.components.provided.embedded.EmbeddedGuiComponentBuilder
-
Set the width of the EmbeddedGuiComponent.
- setWidth(int) - Method in class io.github.toberocat.guiengine.xml.XmlGui
-
Set the width of the GUI.
- setWindowProperty(InventoryView.Property, int) - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- setX(int) - Method in class io.github.toberocat.guiengine.components.AbstractGuiComponentBuilder
-
Set the X coordinate of the GUI component.
- setY(int) - Method in class io.github.toberocat.guiengine.components.AbstractGuiComponentBuilder
-
Set the Y coordinate of the GUI component.
- SHARED_COMPONENT_ID_MAPS - Static variable in class io.github.toberocat.guiengine.GuiEngineApi
- SHARED_MODULES - Static variable in class io.github.toberocat.guiengine.GuiEngineApi
- showDemoScreen() - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- showEntity(Plugin, Entity) - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- showGui(GuiContext, Player, Map<String, String>) - Method in interface io.github.toberocat.guiengine.render.GuiRenderEngine
-
Shows the GUI to the specified player using the provided GuiContext and placeholders.
- showingPage - Variable in class io.github.toberocat.guiengine.components.provided.paged.PagedComponent
- showPlayer(Player) - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- showPlayer(Plugin, Player) - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- SimpleItemComponent - Class in io.github.toberocat.guiengine.components.provided.item
-
A GUI component representing a simple item in the GUI.
- SimpleItemComponent(int, int, RenderPriority, String, List<GuiFunction>, List<GuiFunction>, List<GuiFunction>, ItemStack, boolean) - Constructor for class io.github.toberocat.guiengine.components.provided.item.SimpleItemComponent
-
Constructor for SimpleItemComponent.
- SimpleItemComponentBuilder<B extends SimpleItemComponentBuilder<B>> - Class in io.github.toberocat.guiengine.components.provided.item
-
A builder class for creating SimpleItemComponent instances.
- SimpleItemComponentBuilder() - Constructor for class io.github.toberocat.guiengine.components.provided.item.SimpleItemComponentBuilder
- sleep(Location, boolean) - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- spawnParticle(Particle, double, double, double, int) - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- spawnParticle(Particle, double, double, double, int, double, double, double) - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- spawnParticle(Particle, double, double, double, int, double, double, double, double) - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- spawnParticle(Particle, double, double, double, int, double, double, double, double, T) - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- spawnParticle(Particle, double, double, double, int, double, double, double, T) - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- spawnParticle(Particle, double, double, double, int, T) - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- spawnParticle(Particle, Location, int) - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- spawnParticle(Particle, Location, int, double, double, double) - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- spawnParticle(Particle, Location, int, double, double, double, double) - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- spawnParticle(Particle, Location, int, double, double, double, double, T) - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- spawnParticle(Particle, Location, int, double, double, double, T) - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- spawnParticle(Particle, Location, int, T) - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- spigot() - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- stack - Variable in class io.github.toberocat.guiengine.components.provided.item.SimpleItemComponent
- stopAllSounds() - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- stopSound(String) - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- stopSound(String, SoundCategory) - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- stopSound(Sound) - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- stopSound(Sound, SoundCategory) - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- swingMainHand() - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- swingOffHand() - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
T
- tab(Player) - Method in class io.github.toberocat.guiengine.arguments.GuiEngineApiArgument
- target() - Method in record class io.github.toberocat.guiengine.function.call.EditComponentFunction
-
Returns the value of the
target
record component. - target() - Method in record class io.github.toberocat.guiengine.function.call.RemoveComponentFunction
-
Returns the value of the
target
record component. - targetGui - Variable in class io.github.toberocat.guiengine.components.provided.embedded.EmbeddedGuiComponent
- targetGui - Variable in class io.github.toberocat.guiengine.components.provided.embedded.EmbeddedGuiComponentBuilder
- teleport(Entity) - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- teleport(Entity, PlayerTeleportEvent.TeleportCause) - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- teleport(Location) - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- teleport(Location, PlayerTeleportEvent.TeleportCause) - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- textureId - Variable in class io.github.toberocat.guiengine.components.provided.item.SimpleItemComponentBuilder
- title() - Method in class io.github.toberocat.guiengine.context.GuiContext
-
Returns the title of the GUI context.
- ToggleItemComponent - Class in io.github.toberocat.guiengine.components.provided.toggle
-
Represents a toggle item component in a GUI.
- ToggleItemComponent(int, int, int, int, RenderPriority, String, List<GuiFunction>, List<GuiFunction>, List<GuiFunction>, boolean, ParserContext, int) - Constructor for class io.github.toberocat.guiengine.components.provided.toggle.ToggleItemComponent
-
Constructs a ToggleItemComponent with the specified parameters.
- ToggleItemComponentBuilder - Class in io.github.toberocat.guiengine.components.provided.toggle
-
Builder class for creating instances of
ToggleItemComponent
. - ToggleItemComponentBuilder() - Constructor for class io.github.toberocat.guiengine.components.provided.toggle.ToggleItemComponentBuilder
- toString() - Method in class io.github.toberocat.guiengine.context.GuiContext
-
Converts this `GuiContext` object to a human-readable string representation.
- toString() - Method in record class io.github.toberocat.guiengine.function.call.ActionFunction
-
Returns a string representation of this record class.
- toString() - Method in record class io.github.toberocat.guiengine.function.call.AddComponentsFunction
-
Returns a string representation of this record class.
- toString() - Method in record class io.github.toberocat.guiengine.function.call.EditComponentFunction
-
Returns a string representation of this record class.
- toString() - Method in record class io.github.toberocat.guiengine.function.call.RemoveComponentFunction
-
Returns a string representation of this record class.
- toString() - Method in record class io.github.toberocat.guiengine.utils.CoordinatePair
-
Returns a string representation of this record class.
- toString() - Method in record class io.github.toberocat.guiengine.utils.GeneratorContext
-
Returns a string representation of this record class.
- toString() - Method in record class io.github.toberocat.guiengine.utils.ParserContext
-
Returns a string representation of this record class.
- toString() - Method in record class io.github.toberocat.guiengine.view.GuiView
-
Returns a string representation of this record class.
- toString() - Method in record class io.github.toberocat.guiengine.xml.XmlComponent
-
Returns a string representation of this record class.
- toString() - Method in class io.github.toberocat.guiengine.xml.XmlGui
-
Convert the XmlGui object to a string representation.
- translateFromSlot(int) - Static method in class io.github.toberocat.guiengine.utils.Utils
-
Translates a slot index in a 1D inventory slot array (9 slots per row) to x and y coordinates of a 2D grid.
- translateToSlot(int, int) - Static method in class io.github.toberocat.guiengine.utils.Utils
-
Translates the x and y coordinates of a 2D grid to a slot index in a 1D inventory slot array (9 slots per row).
- type() - Method in record class io.github.toberocat.guiengine.xml.XmlComponent
-
Returns the value of the
type
record component. - TYPE - Static variable in class io.github.toberocat.guiengine.components.provided.embedded.EmbeddedGuiComponent
- TYPE - Static variable in class io.github.toberocat.guiengine.components.provided.item.SimpleItemComponent
- TYPE - Static variable in class io.github.toberocat.guiengine.components.provided.paged.PagedComponent
- TYPE - Static variable in class io.github.toberocat.guiengine.components.provided.toggle.ToggleItemComponent
-
The type identifier for a ToggleItemComponent.
U
- undiscoverRecipe(NamespacedKey) - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- undiscoverRecipes(Collection<NamespacedKey>) - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- UpdateChecker - Class in io.github.toberocat.guiengine.utils
-
A utility class for checking updates for a Bukkit/Spigot plugin.
- UpdateChecker(JavaPlugin, int) - Constructor for class io.github.toberocat.guiengine.utils.UpdateChecker
-
Create a new instance of the UpdateChecker.
- updateCommands() - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- updateInventory() - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- usage() - Method in class io.github.toberocat.guiengine.arguments.GuiEngineApiArgument
- Utils - Class in io.github.toberocat.guiengine.utils
-
Utility class containing various helper methods for GUI development.
- Utils() - Constructor for class io.github.toberocat.guiengine.utils.Utils
V
- value() - Method in record class io.github.toberocat.guiengine.function.call.EditComponentFunction
-
Returns the value of the
value
record component. - valueOf(String) - Static method in enum class io.github.toberocat.guiengine.render.RenderPriority
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class io.github.toberocat.guiengine.render.RenderPriority
-
Returns an array containing the constants of this enum class, in the order they are declared.
- viewer() - Method in class io.github.toberocat.guiengine.context.GuiContext
-
Returns the viewer (player) associated with this GUI context.
- viewManager - Variable in class io.github.toberocat.guiengine.render.DefaultGuiRenderEngine
-
The GuiViewManager associated with this render engine.
- VirtualInventory - Class in io.github.toberocat.guiengine.utils
-
Created: 29.04.2023
- VirtualInventory(int, Runnable) - Constructor for class io.github.toberocat.guiengine.utils.VirtualInventory
- VirtualPlayer - Class in io.github.toberocat.guiengine.utils
-
Created: 06.04.2023
- VirtualPlayer() - Constructor for class io.github.toberocat.guiengine.utils.VirtualPlayer
W
- wakeup(boolean) - Method in class io.github.toberocat.guiengine.utils.VirtualPlayer
- WebEditorCommand - Class in io.github.toberocat.guiengine.commands
- WebEditorCommand() - Constructor for class io.github.toberocat.guiengine.commands.WebEditorCommand
- width - Variable in class io.github.toberocat.guiengine.components.AbstractGuiComponent
-
The width of this component
- width - Variable in class io.github.toberocat.guiengine.components.provided.embedded.EmbeddedGuiComponentBuilder
- width() - Method in class io.github.toberocat.guiengine.components.AbstractGuiComponent
- width() - Method in interface io.github.toberocat.guiengine.components.GuiComponent
-
Get the width of the GUI component.
- width() - Method in class io.github.toberocat.guiengine.context.GuiContext
-
Returns the width of the GUI context.
- writeArray(GeneratorContext, String, int[]) - Static method in class io.github.toberocat.guiengine.utils.JsonUtils
-
Write an int array into a JSON array field.
- writeArray(GeneratorContext, String, Object[]) - Static method in class io.github.toberocat.guiengine.utils.JsonUtils
-
Write an Object array into a JSON array field.
- writeArray(GeneratorContext, String, List<Object>) - Static method in class io.github.toberocat.guiengine.utils.JsonUtils
-
Write a List of Objects into a JSON array field.
- writeBooleanField(String, boolean) - Method in record class io.github.toberocat.guiengine.utils.GeneratorContext
-
Writes a JSON boolean field with the specified field name and value to the generator.
- writeFunctionField(String, List<GuiFunction>) - Method in record class io.github.toberocat.guiengine.utils.GeneratorContext
- writeNumberField(String, double) - Method in record class io.github.toberocat.guiengine.utils.GeneratorContext
-
Writes a JSON number field with the specified field name and value to the generator.
- writeNumberField(String, float) - Method in record class io.github.toberocat.guiengine.utils.GeneratorContext
-
Writes a JSON number field with the specified field name and value to the generator.
- writeNumberField(String, int) - Method in record class io.github.toberocat.guiengine.utils.GeneratorContext
-
Writes a JSON number field with the specified field name and value to the generator.
- writeNumberField(String, long) - Method in record class io.github.toberocat.guiengine.utils.GeneratorContext
-
Writes a JSON number field with the specified field name and value to the generator.
- writePOJOField(String, Object) - Method in record class io.github.toberocat.guiengine.utils.GeneratorContext
-
Writes a JSON POJO field with the specified field name and value to the generator.
- writeRaw(String) - Method in record class io.github.toberocat.guiengine.utils.GeneratorContext
-
Writes raw JSON data to the generator.
- writeStringField(String, String) - Method in record class io.github.toberocat.guiengine.utils.GeneratorContext
-
Writes a JSON string field with the specified field name and value to the generator.
X
- x - Variable in class io.github.toberocat.guiengine.components.AbstractGuiComponentBuilder
- x() - Method in record class io.github.toberocat.guiengine.utils.CoordinatePair
-
Returns the value of the
x
record component. - xmlComponent(JsonNode, GuiEngineApi) - Method in class io.github.toberocat.guiengine.interpreter.DefaultInterpreter
-
Converts a JsonNode to an XmlComponent using the provided GuiEngineApi.
- xmlComponent(JsonNode, GuiEngineApi) - Method in interface io.github.toberocat.guiengine.interpreter.GuiInterpreter
-
Converts a JSON node representing a GUI component into an `XmlComponent` instance.
- XmlComponent - Record Class in io.github.toberocat.guiengine.xml
-
Represents an XML component to be deserialized from JSON using Jackson.
- XmlComponent(Map<String, JsonNode>, RenderPriority, String, String) - Constructor for record class io.github.toberocat.guiengine.xml.XmlComponent
-
Creates an instance of a
XmlComponent
record class. - XmlGui - Class in io.github.toberocat.guiengine.xml
-
Represents an XML-based GUI configuration.
- XmlGui() - Constructor for class io.github.toberocat.guiengine.xml.XmlGui
-
Default constructor for the XmlGui class.
Y
- y - Variable in class io.github.toberocat.guiengine.components.AbstractGuiComponentBuilder
- y() - Method in record class io.github.toberocat.guiengine.utils.CoordinatePair
-
Returns the value of the
y
record component.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form