Index
All Classes and Interfaces|All Packages
A
- addLayer(GuiLayer) - Method in interface org.yuemi.libs.api.gui.Gui
-
Adds a layout layer to the GUI.
- addLayer(GuiLayer) - Method in interface org.yuemi.libs.api.gui.GuiBuilder
-
Adds an already built layout layer to the GUI.
- AnvilInputBuilder - Interface in org.yuemi.libs.api.gui
-
Builder for creating Anvil-based text input GUIs.
B
- block() - Method in interface org.yuemi.libs.api.event.bukkit.BukkitEvents
-
Gets the block-related event provider.
- BlockEvents - Interface in org.yuemi.libs.api.event.bukkit.block
-
Block-related event provider.
- breakBlock(Consumer<BlockBreakEvent>) - Method in interface org.yuemi.libs.api.event.bukkit.block.BlockEvents
-
Shorthand to listen to block break events.
- build() - Method in interface org.yuemi.libs.api.gui.GuiBuilder
-
Builds and returns the final Gui instance.
- build() - Method in interface org.yuemi.libs.api.gui.GuiItem.Builder
-
Builds the GUI item based on the configured properties.
- build() - Method in interface org.yuemi.libs.api.gui.GuiLayerBuilder
-
Builds and returns the final GuiLayer instance.
- builder() - Static method in interface org.yuemi.libs.api.gui.GuiItem
-
Creates a new builder for constructing a
GuiItem. - bukkit() - Method in interface org.yuemi.libs.api.event.EventApi
-
Gets the Bukkit/Vanilla event registration provider.
- BukkitEvents - Interface in org.yuemi.libs.api.event.bukkit
-
Event registration provider for standard Bukkit/Vanilla events.
C
- CLOSE - Enum constant in enum class org.yuemi.libs.api.gui.ClosePolicy
-
Closes the GUI normally, invoking any registered close/cancel callbacks.
- closePolicy(ClosePolicy) - Method in interface org.yuemi.libs.api.gui.AnvilInputBuilder
-
Sets the close policy for this Anvil GUI.
- closePolicy(ClosePolicy) - Method in interface org.yuemi.libs.api.gui.GuiBuilder
-
Sets the close policy for the GUI.
- closePolicy(ClosePolicy) - Method in interface org.yuemi.libs.api.gui.SignInputBuilder
-
Sets the close policy for this Sign GUI.
- ClosePolicy - Enum Class in org.yuemi.libs.api.gui
-
Defines the behavior when a user interface GUI is closed.
- condition(Predicate<Player>) - Method in interface org.yuemi.libs.api.gui.GuiItem.Builder
-
Sets a condition that determines whether this item should render for a player.
- createAnvilInputBuilder() - Method in interface org.yuemi.libs.api.gui.GuiApi
-
Creates a new fluent Anvil GUI builder for text input.
- createBuilder() - Method in interface org.yuemi.libs.api.gui.GuiApi
-
Creates a new fluent GUI builder.
- createItemBuilder() - Method in interface org.yuemi.libs.api.gui.GuiApi
-
Creates a new fluent GUI Item builder.
- createLayer(String, int, Consumer<GuiLayerBuilder>) - Method in interface org.yuemi.libs.api.gui.GuiBuilder
-
Inline constructs and configures a layer inside the GUI builder.
- createSignInputBuilder() - Method in interface org.yuemi.libs.api.gui.GuiApi
-
Creates a new fluent Sign GUI builder for text input.
D
- damage(Consumer<EntityDamageEvent>) - Method in interface org.yuemi.libs.api.event.bukkit.entity.EntityEvents
-
Shorthand to listen to entity damage events.
- death(Consumer<EntityDeathEvent>) - Method in interface org.yuemi.libs.api.event.bukkit.entity.EntityEvents
-
Shorthand to listen to entity death events.
- deposit(OfflinePlayer, double) - Method in interface org.yuemi.libs.api.economy.EconomyProvider
-
Deposits an amount into a player's balance.
- description(String) - Method in interface org.yuemi.libs.api.gui.SignInputBuilder
-
Sets the short description shown on Line 4 of the sign.
E
- EconomyApi - Interface in org.yuemi.libs.api.economy
-
Manages the active economy provider and allows registering custom economy backends.
- EconomyProvider - Interface in org.yuemi.libs.api.economy
-
Represents a specific economy backend (e.g.
- entity() - Method in interface org.yuemi.libs.api.event.bukkit.BukkitEvents
-
Gets the entity-related event provider.
- EntityEvents - Interface in org.yuemi.libs.api.event.bukkit.entity
-
Entity-related event provider.
- EventApi - Interface in org.yuemi.libs.api.event
-
API for registering event handlers dynamically, organized by providers.
- EventApiProvider - Class in org.yuemi.libs.api.event
-
Service provider helper for EventApi.
- EventProvider - Interface in org.yuemi.libs.api.event
-
Base interface for an event registration provider.
- EventSubscription<T> - Interface in org.yuemi.libs.api.event
-
Represents an active subscription to a Bukkit event.
F
- fill(GuiItem) - Method in interface org.yuemi.libs.api.gui.GuiLayerBuilder
-
Fills the entire layer inventory with the specified item.
- filter(Predicate<T>) - Method in interface org.yuemi.libs.api.event.SubscriptionBuilder
-
Adds a filter to check before invoking the event handler.
- format(double, FormatType) - Static method in class org.yuemi.libs.api.util.NumberUtils
-
Formats a double into a string depending on the FormatType.
- formatSuffix(double) - Static method in class org.yuemi.libs.api.util.NumberUtils
-
Formats a double into a string with a suffix (e.g.
- FORMATTED - Enum constant in enum class org.yuemi.libs.api.util.FormatType
- FormatType - Enum Class in org.yuemi.libs.api.util
- fromString(String) - Static method in enum class org.yuemi.libs.api.util.FormatType
G
- getActiveProvider() - Method in interface org.yuemi.libs.api.economy.EconomyApi
-
Gets the currently active economy provider, if any.
- getApi() - Static method in class org.yuemi.libs.api.event.EventApiProvider
-
Gets the active EventApi implementation.
- getApi() - Static method in class org.yuemi.libs.api.gui.GuiProvider
-
Gets the active GuiApi implementation.
- getApi() - Static method in class org.yuemi.libs.api.items.ItemsApiProvider
-
Gets the active ItemsApi implementation.
- getApi() - Static method in class org.yuemi.libs.api.YueMiLibsProvider
-
Gets the active YueMiLibsApi instance from ServicesManager.
- getBalance(OfflinePlayer) - Method in interface org.yuemi.libs.api.economy.EconomyProvider
-
Gets the balance of a player.
- getClickType() - Method in interface org.yuemi.libs.api.gui.GuiClickContext
-
Gets the type of click performed.
- getClosePolicy() - Method in interface org.yuemi.libs.api.gui.Gui
-
Gets the configured close policy for this GUI.
- getEconomy() - Method in interface org.yuemi.libs.api.YueMiLibsApi
-
Gets the economy module API.
- getEvent() - Method in interface org.yuemi.libs.api.gui.GuiClickContext
-
Gets the underlying Bukkit inventory click event.
- getEventClass() - Method in interface org.yuemi.libs.api.event.EventSubscription
-
Gets the class of the event being listened to.
- getEvents() - Method in interface org.yuemi.libs.api.YueMiLibsApi
-
Gets the events module API.
- getGui() - Method in interface org.yuemi.libs.api.gui.GuiClickContext
-
Gets the GUI instance where this click occurred.
- getGui() - Method in interface org.yuemi.libs.api.YueMiLibsApi
-
Gets the GUI module API.
- getId() - Method in interface org.yuemi.libs.api.gui.GuiLayer
-
Gets the unique ID of the layer.
- getItem(int) - Method in interface org.yuemi.libs.api.gui.GuiLayer
-
Gets the interactive item in a specific slot on this layer.
- getItem(String, int) - Method in interface org.yuemi.libs.api.items.ItemProvider
-
Gets an item stack by its ID.
- getItem(String, int) - Method in interface org.yuemi.libs.api.items.ItemsApi
-
Gets an item stack by its namespace and ID key (e.g.
- getItemCount(Player, String) - Method in interface org.yuemi.libs.api.items.ItemProvider
-
Gets the count of matching items in the player's inventory.
- getItemCount(Player, String) - Method in interface org.yuemi.libs.api.items.ItemsApi
-
Gets the count of matching items by namespace and ID key in the player's inventory.
- getItems() - Method in interface org.yuemi.libs.api.gui.GuiLayer
-
Gets all items configured on this layer.
- getItems() - Method in interface org.yuemi.libs.api.YueMiLibsApi
-
Gets the items module API.
- getItemStack(Player) - Method in interface org.yuemi.libs.api.gui.GuiItem
-
Resolves the ItemStack representation for the specified player.
- getLayers() - Method in interface org.yuemi.libs.api.gui.Gui
-
Gets all layers registered in this GUI, ordered by priority.
- getName() - Method in interface org.yuemi.libs.api.economy.EconomyProvider
-
Gets the unique name of this provider.
- getName() - Method in interface org.yuemi.libs.api.items.ItemProvider
-
Gets the unique name of this item provider.
- getOnClose() - Method in interface org.yuemi.libs.api.gui.Gui
-
Gets the configured callback executed when the GUI is closed.
- getPlayer() - Method in interface org.yuemi.libs.api.gui.GuiClickContext
-
Gets the player who triggered the click.
- getPriority() - Method in interface org.yuemi.libs.api.gui.GuiLayer
-
Gets the priority of this layer.
- getProvider(String) - Method in interface org.yuemi.libs.api.event.EventApi
-
Gets a registered event provider by namespace (e.g.
- getProviders() - Method in interface org.yuemi.libs.api.economy.EconomyApi
-
Gets all registered economy providers.
- getRows() - Method in interface org.yuemi.libs.api.gui.Gui
-
Gets the number of rows in the GUI.
- getSlot() - Method in interface org.yuemi.libs.api.gui.GuiClickContext
-
Gets the raw inventory slot index that was clicked.
- getTitle() - Method in interface org.yuemi.libs.api.gui.Gui
-
Gets the title of the GUI.
- getVersion() - Method in interface org.yuemi.libs.api.YueMiLibsApi
-
Gets the version of the YueMi Libs plugin.
- giveItem(Player, String, int) - Method in interface org.yuemi.libs.api.items.ItemProvider
-
Gives an item to the player.
- giveItem(Player, String, int) - Method in interface org.yuemi.libs.api.items.ItemsApi
-
Gives an item by namespace and ID key to the player.
- Gui - Interface in org.yuemi.libs.api.gui
-
Represents an interactive user interface inventory.
- GuiApi - Interface in org.yuemi.libs.api.gui
-
Entry point for creating GUI instances.
- GuiBuilder - Interface in org.yuemi.libs.api.gui
-
Fluent builder for creating Gui instances.
- GuiClickContext - Interface in org.yuemi.libs.api.gui
-
Context containing information about a GUI slot interaction click.
- GuiItem - Interface in org.yuemi.libs.api.gui
-
Represents an interactive item slot in a GUI layout layer.
- GuiItem.Builder - Interface in org.yuemi.libs.api.gui
-
Builder interface for constructing GuiItems.
- GuiLayer - Interface in org.yuemi.libs.api.gui
-
Represents a single layer of items in a layered GUI layout.
- GuiLayerBuilder - Interface in org.yuemi.libs.api.gui
-
Fluent builder for creating GuiLayer instances.
- GuiProvider - Class in org.yuemi.libs.api.gui
-
Service provider helper for GuiApi.
H
- handler(Consumer<T>) - Method in interface org.yuemi.libs.api.event.SubscriptionBuilder
-
Registers the event handler and activates the subscription.
I
- ignoreCancelled(boolean) - Method in interface org.yuemi.libs.api.event.SubscriptionBuilder
-
Sets whether to ignore cancelled events.
- initialText(String) - Method in interface org.yuemi.libs.api.gui.AnvilInputBuilder
-
Sets the initial text in the rename slot.
- initialText(String) - Method in interface org.yuemi.libs.api.gui.SignInputBuilder
-
Sets the initial text in the edit line (Line 2).
- isActive() - Method in interface org.yuemi.libs.api.event.EventSubscription
-
Checks if the subscription is currently active.
- isAvailable() - Method in interface org.yuemi.libs.api.economy.EconomyProvider
-
Checks if this economy provider is available and ready for transactions.
- isAvailable() - Method in interface org.yuemi.libs.api.items.ItemProvider
-
Checks if this item provider is available.
- isCompatible(String, String) - Method in interface org.yuemi.libs.api.YueMiLibsApi
-
Checks if the current version of YueMi Libs is compatible with the requested range.
- item(String) - Method in interface org.yuemi.libs.api.gui.GuiItem.Builder
-
Sets a key (namespace:id) for the GUI item.
- item(String, int) - Method in interface org.yuemi.libs.api.gui.GuiItem.Builder
-
Sets a key (namespace:id) and amount for the GUI item.
- item(Function<Player, ItemStack>) - Method in interface org.yuemi.libs.api.gui.GuiItem.Builder
-
Sets a dynamic item provider function to resolve the item stack for a player.
- item(ItemStack) - Method in interface org.yuemi.libs.api.gui.GuiItem.Builder
-
Sets a static item stack for the GUI item.
- itemKey(Function<Player, String>) - Method in interface org.yuemi.libs.api.gui.GuiItem.Builder
-
Sets a dynamic item key provider function to resolve the item key (namespace:id) for a player.
- itemKey(Function<Player, String>, int) - Method in interface org.yuemi.libs.api.gui.GuiItem.Builder
-
Sets a dynamic item key provider function and a static amount to resolve the item for a player.
- ItemProvider - Interface in org.yuemi.libs.api.items
-
Represents a specific item provider (e.g.
- ItemsApi - Interface in org.yuemi.libs.api.items
-
Interface to manage item providers and query items using NAMESPACE:ID keys.
- ItemsApiProvider - Class in org.yuemi.libs.api.items
-
Service provider helper for ItemsApi.
J
- join(Consumer<PlayerJoinEvent>) - Method in interface org.yuemi.libs.api.event.bukkit.player.PlayerEvents
-
Shorthand to listen to player join events.
L
- leftClick(Consumer<PlayerInteractEvent>) - Method in interface org.yuemi.libs.api.event.bukkit.player.PlayerEvents
-
Shorthand to listen to player left-click actions (blocks or air).
- leftItem(ItemStack) - Method in interface org.yuemi.libs.api.gui.AnvilInputBuilder
-
Sets the left input item stack.
M
- maxLength(int) - Method in interface org.yuemi.libs.api.gui.AnvilInputBuilder
-
Sets the maximum character limit for the input.
- maxLength(int) - Method in interface org.yuemi.libs.api.gui.SignInputBuilder
-
Sets the maximum character limit for the input.
N
- NOTHING - Enum constant in enum class org.yuemi.libs.api.gui.ClosePolicy
-
Closes the GUI, but does not invoke any close/cancel callbacks.
- NumberUtils - Class in org.yuemi.libs.api.util
O
- onClick(BiConsumer<Player, GuiClickContext>) - Method in interface org.yuemi.libs.api.gui.GuiItem.Builder
-
Sets the handler to execute when the GUI item is clicked.
- onClick(GuiClickContext) - Method in interface org.yuemi.libs.api.gui.GuiItem
-
Executes the interaction callback when this item is clicked.
- onClose(Consumer<Player>) - Method in interface org.yuemi.libs.api.gui.AnvilInputBuilder
-
Sets the callback executed when the GUI is closed without submitting.
- onClose(Consumer<Player>) - Method in interface org.yuemi.libs.api.gui.GuiBuilder
-
Sets the callback executed when the GUI is closed.
- onSubmit(BiConsumer<Player, String>) - Method in interface org.yuemi.libs.api.gui.AnvilInputBuilder
-
Sets the callback executed when the player submits the input (clicks the output slot).
- onSubmit(BiConsumer<Player, String>) - Method in interface org.yuemi.libs.api.gui.SignInputBuilder
-
Sets the callback executed when the player finishes editing the sign.
- open(Player) - Method in interface org.yuemi.libs.api.gui.AnvilInputBuilder
-
Opens the anvil GUI for the specified player.
- open(Player) - Method in interface org.yuemi.libs.api.gui.Gui
-
Opens this GUI for the specified player.
- open(Player) - Method in interface org.yuemi.libs.api.gui.SignInputBuilder
-
Opens the sign editor for the specified player.
- org.yuemi.libs.api - package org.yuemi.libs.api
-
Core entry points and provider registration interfaces for the YueMi-MC-Libs library.
- org.yuemi.libs.api.economy - package org.yuemi.libs.api.economy
-
Economy API service interfaces and provider definitions for player balance management.
- org.yuemi.libs.api.event - package org.yuemi.libs.api.event
-
Event API for registering dynamic, functional event handlers.
- org.yuemi.libs.api.event.bukkit - package org.yuemi.libs.api.event.bukkit
- org.yuemi.libs.api.event.bukkit.block - package org.yuemi.libs.api.event.bukkit.block
- org.yuemi.libs.api.event.bukkit.entity - package org.yuemi.libs.api.event.bukkit.entity
- org.yuemi.libs.api.event.bukkit.player - package org.yuemi.libs.api.event.bukkit.player
- org.yuemi.libs.api.gui - package org.yuemi.libs.api.gui
-
GUI API for building layered, interactive Minecraft inventory user interfaces.
- org.yuemi.libs.api.items - package org.yuemi.libs.api.items
-
Items API for resolving custom items, provider registry, and game item manipulation.
- org.yuemi.libs.api.placeholder - package org.yuemi.libs.api.placeholder
- org.yuemi.libs.api.util - package org.yuemi.libs.api.util
P
- parseSuffix(String) - Static method in class org.yuemi.libs.api.util.NumberUtils
-
Parses a string containing a number with optional suffix (e.g.
- placeBlock(Consumer<BlockPlaceEvent>) - Method in interface org.yuemi.libs.api.event.bukkit.block.BlockEvents
-
Shorthand to listen to block place events.
- PlaceholderHelper - Class in org.yuemi.libs.api.placeholder
- player() - Method in interface org.yuemi.libs.api.event.bukkit.BukkitEvents
-
Gets the player-related event provider.
- PlayerEvents - Interface in org.yuemi.libs.api.event.bukkit.player
-
Player-related event provider.
- priority(EventPriority) - Method in interface org.yuemi.libs.api.event.SubscriptionBuilder
-
Sets the priority of the event listener.
R
- RAW - Enum constant in enum class org.yuemi.libs.api.util.FormatType
- register(JavaPlugin, String, BiFunction<OfflinePlayer, String, String>) - Static method in class org.yuemi.libs.api.placeholder.PlaceholderHelper
-
Registers a PlaceholderAPI expansion dynamically.
- register(EventApi) - Static method in class org.yuemi.libs.api.event.EventApiProvider
-
Registers the active EventApi implementation.
- register(GuiApi) - Static method in class org.yuemi.libs.api.gui.GuiProvider
-
Registers the active GuiApi implementation.
- register(ItemsApi) - Static method in class org.yuemi.libs.api.items.ItemsApiProvider
-
Registers the active ItemsApi implementation.
- registerProvider(String, EventProvider) - Method in interface org.yuemi.libs.api.event.EventApi
-
Registers a custom event provider under a namespace.
- registerProvider(String, ItemProvider) - Method in interface org.yuemi.libs.api.items.ItemsApi
-
Registers a provider under a specific namespace.
- registerProvider(EconomyProvider) - Method in interface org.yuemi.libs.api.economy.EconomyApi
-
Registers a custom economy provider.
- removeItem(int) - Method in interface org.yuemi.libs.api.gui.GuiLayer
-
Removes the item from a specific slot on this layer.
- removeLayer(String) - Method in interface org.yuemi.libs.api.gui.Gui
-
Removes a layer from the GUI by its unique ID.
- REOPEN - Enum constant in enum class org.yuemi.libs.api.gui.ClosePolicy
-
Prevents closing by automatically reopening the GUI.
- rightClick(Consumer<PlayerInteractEvent>) - Method in interface org.yuemi.libs.api.event.bukkit.player.PlayerEvents
-
Shorthand to listen to player right-click actions (blocks or air).
- rows(int) - Method in interface org.yuemi.libs.api.gui.GuiBuilder
-
Sets the number of rows of the GUI.
S
- setActiveProvider(String) - Method in interface org.yuemi.libs.api.economy.EconomyApi
-
Sets the active economy provider by name.
- setBalance(OfflinePlayer, double) - Method in interface org.yuemi.libs.api.economy.EconomyProvider
-
Sets a player's balance to a specific amount.
- setClosePolicy(ClosePolicy) - Method in interface org.yuemi.libs.api.gui.Gui
-
Sets the close policy for this GUI.
- setItem(int, GuiItem) - Method in interface org.yuemi.libs.api.gui.GuiLayerBuilder
-
Sets an item at a specific slot in the layer.
- setItem(int, GuiItem) - Method in interface org.yuemi.libs.api.gui.GuiLayer
-
Sets an interactive item in a specific slot on this layer.
- shouldRender(Player) - Method in interface org.yuemi.libs.api.gui.GuiItem
-
Checks if this item should be rendered for the specified player.
- SignInputBuilder - Interface in org.yuemi.libs.api.gui
-
Builder for creating Sign-based text input GUIs.
- subscribe(Class<T>) - Method in interface org.yuemi.libs.api.event.bukkit.BukkitEvents
-
Starts building an event subscription.
- SubscriptionBuilder<T> - Interface in org.yuemi.libs.api.event
-
A builder for creating event subscriptions.
T
- takeItem(Player, String, int) - Method in interface org.yuemi.libs.api.items.ItemProvider
-
Takes an item from the player's inventory.
- takeItem(Player, String, int) - Method in interface org.yuemi.libs.api.items.ItemsApi
-
Takes an item by namespace and ID key from the player.
- title(String) - Method in interface org.yuemi.libs.api.gui.AnvilInputBuilder
-
Sets the title of the anvil GUI.
- title(String) - Method in interface org.yuemi.libs.api.gui.GuiBuilder
-
Sets the title of the GUI.
U
- unsubscribe() - Method in interface org.yuemi.libs.api.event.EventSubscription
-
Unregisters the event handler.
- update(Player) - Method in interface org.yuemi.libs.api.gui.Gui
-
Re-renders the GUI for the player by re-evaluating conditions and layers.
- updateTitle(Player, String) - Method in interface org.yuemi.libs.api.gui.Gui
-
Updates the title of the GUI for the player if they have it open.
V
- valueOf(String) - Static method in enum class org.yuemi.libs.api.gui.ClosePolicy
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.yuemi.libs.api.util.FormatType
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class org.yuemi.libs.api.gui.ClosePolicy
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.yuemi.libs.api.util.FormatType
-
Returns an array containing the constants of this enum class, in the order they are declared.
W
- withdraw(OfflinePlayer, double) - Method in interface org.yuemi.libs.api.economy.EconomyProvider
-
Withdraws an amount from a player's balance.
Y
- YueMiLibsApi - Interface in org.yuemi.libs.api
-
Public API for YueMi Libs plugin.
- YueMiLibsProvider - Class in org.yuemi.libs.api
-
Utility class to access YueMiLibsApi.
All Classes and Interfaces|All Packages